|
@@ -97,8 +97,13 @@
|
|
|
type="danger"
|
|
|
@click="onReturn(row)"
|
|
|
title="省工单退回"
|
|
|
- v-auth="'business:order:return'"
|
|
|
- v-if="row.source > 1 && row.status <= 1 && row.canSign"
|
|
|
+ v-auth="'business:order:return:province'"
|
|
|
+ v-if="
|
|
|
+ row.isProvince &&
|
|
|
+ (row.actualHandleOrgCode === '001' || row.actualHandleOrgCode !== null || row.actualHandleOrgCode !== '' || row.status === 0) &&
|
|
|
+ row.status < 300 &&
|
|
|
+ row.status !== 9
|
|
|
+ "
|
|
|
>
|
|
|
退回</el-button
|
|
|
>
|
|
@@ -149,9 +154,9 @@
|
|
|
<el-checkbox value="IsSensitiveWord" border>敏感类工单</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</el-form-item>
|
|
|
- <el-form-item>
|
|
|
+ <!-- <el-form-item>
|
|
|
<el-button @click="contentRetrieval"><SvgIcon name="ele-DocumentCopy" class="mr5" />内容检索</el-button>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item>-->
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-form-item label="工单标题" prop="Keyword">
|
|
@@ -200,22 +205,27 @@
|
|
|
<template #title="{ row }">
|
|
|
<order-detail :order="row" @updateList="queryList(true)">{{ row.title }}</order-detail>
|
|
|
</template>
|
|
|
- <!-- 表格操作 -->
|
|
|
<template #operation="{ row }">
|
|
|
+ <!-- 省工单退回条件 是省工单(工单未归档且当前节点处于热线中心办理节点时)工单状态为办理中(归档之前) 9代表有退回申请 -->
|
|
|
<el-button
|
|
|
link
|
|
|
type="danger"
|
|
|
@click="onReturn(row)"
|
|
|
title="省工单退回"
|
|
|
- v-auth="'business:order:return'"
|
|
|
- v-if="row.source > 1 && row.status <= 1 && row.canSign"
|
|
|
+ v-auth="'business:order:return:province'"
|
|
|
+ v-if="
|
|
|
+ row.isProvince &&
|
|
|
+ (row.actualHandleOrgCode === '001' || row.actualHandleOrgCode !== null || row.actualHandleOrgCode !== '' || row.status === 0) &&
|
|
|
+ row.status < 300 &&
|
|
|
+ row.status !== 9
|
|
|
+ "
|
|
|
>
|
|
|
退回</el-button
|
|
|
>
|
|
|
<order-detail :order="row" @updateList="queryList(true)" />
|
|
|
</template>
|
|
|
</ProTable>
|
|
|
- <div class="flex-end mt10" style="align-items: center">
|
|
|
+ <div class="flex-end mt20" style="align-items: center">
|
|
|
<!-- <el-button class="default-button" @click="onChangeTotal">展示总数</el-button>-->
|
|
|
<span v-loading="totalLoading" class="mr10">共 {{ totalCount }} 条</span>
|
|
|
<el-pagination
|
|
@@ -696,7 +706,6 @@ const queryList = (isQuery: boolean = false) => {
|
|
|
})
|
|
|
.catch(() => {
|
|
|
state.loading = false;
|
|
|
- totalLoading.value = false;
|
|
|
});
|
|
|
}
|
|
|
};
|
|
@@ -805,7 +814,7 @@ const onSearch = (formEl: FormInstance | undefined) => {
|
|
|
if (!formEl) return;
|
|
|
formEl.validate((valid: boolean) => {
|
|
|
if (!valid) return;
|
|
|
- handleQuery();
|
|
|
+ queryList(true);
|
|
|
state.dialogVisible = false;
|
|
|
});
|
|
|
};
|