|
@@ -26,6 +26,9 @@
|
|
|
<el-button type="primary" @click="onJbExport" :loading="state.loading" :disabled="isChecked"
|
|
|
><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出<span v-if="checkTable.length">({{ checkTable.length }})</span>
|
|
|
</el-button>
|
|
|
+ <el-button type="primary" @click="onUrge" v-auth="'business:overdueSoon:urge'" :disabled="isChecked" :loading="state.loading"
|
|
|
+ ><SvgIcon name="ele-Plus" class="mr5" />添加催办<span v-if="checkTable.length">({{ checkTable.length }})</span>
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</vxe-toolbar>
|
|
|
<div style="overflow: hidden; width: 100%; height: 100%; flex: 1">
|
|
@@ -124,6 +127,9 @@
|
|
|
:default-time="defaultTimeStartEnd"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="一级部门" prop="OrgLevelOneName">
|
|
|
+ <el-input v-model="state.queryParams.OrgLevelOneName" placeholder="请填写一级部门名称" clearable @keyup.enter="handleQuery" />
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="接办部门" prop="ActualHandleOrgName">
|
|
|
<el-input v-model="state.queryParams.ActualHandleOrgName" placeholder="请填写接办部门名称" clearable @keyup.enter="handleQuery" />
|
|
|
</el-form-item>
|
|
@@ -154,6 +160,8 @@
|
|
|
<el-button @click="resetQuery(drawerRuleFormRef)" class="default-button"> <SvgIcon name="ele-Refresh" class="mr5" />重置 </el-button>
|
|
|
</template>
|
|
|
</el-drawer>
|
|
|
+ <!-- 工单催办 -->
|
|
|
+ <order-urge ref="orderUrgeRef" @updateList="refreshList" />
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup lang="tsx" name="businessOverdueSoon">
|
|
@@ -162,12 +170,13 @@ import { FormInstance } from 'element-plus';
|
|
|
import { formatDate } from '@/utils/formatTime';
|
|
|
import { exportOverdueSoon, overdueSoonListFixed, overdueSoonListTotal } from '@/api/query/overdue';
|
|
|
import Other from '@/utils/other';
|
|
|
-import { exportAssignment, getNeedArr } from '@/utils/tools';
|
|
|
+import { exportAssignment } from '@/utils/tools';
|
|
|
import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
|
|
|
import { departmentSatisfactionDetailBase } from '@/api/statistics/department';
|
|
|
// 引入组件
|
|
|
const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
|
|
|
const pagination = defineAsyncComponent(() => import('@/components/ProTable/components/Pagination.vue')); // 分页
|
|
|
+const OrderUrge = defineAsyncComponent(() => import('@/views/business/order/components/Order-Urge.vue')); // 工单催办
|
|
|
|
|
|
// 定义变量内容
|
|
|
const state = reactive<any>({
|
|
@@ -188,6 +197,7 @@ const state = reactive<any>({
|
|
|
ExpiredTimeStart: null, //办理期限 开始
|
|
|
ExpiredTimeEnd: null, //办理期限 结束
|
|
|
ActualHandleOrgName: null, // 接办部门
|
|
|
+ OrgLevelOneName: null, // 一级部门
|
|
|
AcceptType: null, // 受理类型
|
|
|
HotspotName: null, // 热点
|
|
|
},
|
|
@@ -252,6 +262,12 @@ const onJbExport = () => {
|
|
|
const ids = checkTable.value.map((item: any) => item.id);
|
|
|
exportAssignment(ids);
|
|
|
};
|
|
|
+// 添加催办
|
|
|
+const orderUrgeRef = ref<RefType>();
|
|
|
+const onUrge = () => {
|
|
|
+ const ids = checkTable.value.map((item: any) => item.id);
|
|
|
+ orderUrgeRef.value.openDialog(ids);
|
|
|
+};
|
|
|
const tableRef = ref<RefType>();
|
|
|
const checkTable = ref<EmptyArrayType>([]);
|
|
|
const selectAllChangeEvent = ({ checked }) => {
|