|
@@ -75,13 +75,13 @@
|
|
|
<SvgIcon name="ele-Plus" class="mr5" />创建重复性事件
|
|
|
</el-button>
|
|
|
<el-button type="primary" @click="onObserve" v-auth="'business:order:observe'" :disabled="!scope.isSelected" :loading="state.loading"
|
|
|
- >设置观察件
|
|
|
+ >设置观察件
|
|
|
</el-button>
|
|
|
<el-button type="primary" @click="onEnd" v-auth="'business:order:end'" :disabled="!scope.isSelected" :loading="state.loading"
|
|
|
- >设置终结件
|
|
|
+ >设置终结件
|
|
|
</el-button>
|
|
|
<el-button type="primary" @click="onJbExport" :disabled="!scope.isSelected" :loading="state.loading" v-auth="'business:order:jbdExport'"
|
|
|
- ><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出
|
|
|
+ ><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出
|
|
|
</el-button>
|
|
|
</template>
|
|
|
<template #expiredStatusText="{ row }">
|
|
@@ -98,7 +98,12 @@
|
|
|
@click="onReturn(row)"
|
|
|
title="省工单退回"
|
|
|
v-auth="'business:order:return:province'"
|
|
|
- v-if="row.isProvince && (row.actualHandleOrgCode === '001' || !row.actualHandleOrgCode || row.status === 0) && row.status < 300 && row.status !== 9"
|
|
|
+ v-if="
|
|
|
+ row.isProvince &&
|
|
|
+ (row.actualHandleOrgCode === '001' || row.actualHandleOrgCode !== null || row.actualHandleOrgCode !== '' || row.status === 0) &&
|
|
|
+ row.status < 300 &&
|
|
|
+ row.status !== 9
|
|
|
+ "
|
|
|
>
|
|
|
退回</el-button
|
|
|
>
|
|
@@ -149,7 +154,7 @@
|
|
|
<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-col>
|
|
@@ -185,13 +190,13 @@
|
|
|
<SvgIcon name="ele-Plus" class="mr5" />创建重复性事件
|
|
|
</el-button>
|
|
|
<el-button type="primary" @click="onObserve" v-auth="'business:order:observe'" :disabled="!scope.isSelected" :loading="state.loading"
|
|
|
- >设置观察件
|
|
|
+ >设置观察件
|
|
|
</el-button>
|
|
|
<el-button type="primary" @click="onEnd" v-auth="'business:order:end'" :disabled="!scope.isSelected" :loading="state.loading"
|
|
|
- >设置终结件
|
|
|
+ >设置终结件
|
|
|
</el-button>
|
|
|
<el-button type="primary" @click="onJbExport" :disabled="!scope.isSelected" :loading="state.loading" v-auth="'business:order:jbdExport'"
|
|
|
- ><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出
|
|
|
+ ><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出
|
|
|
</el-button>
|
|
|
</template>
|
|
|
<template #expiredStatusText="{ row }">
|
|
@@ -208,7 +213,12 @@
|
|
|
@click="onReturn(row)"
|
|
|
title="省工单退回"
|
|
|
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"
|
|
|
+ v-if="
|
|
|
+ row.isProvince &&
|
|
|
+ (row.actualHandleOrgCode === '001' || row.actualHandleOrgCode !== null || row.actualHandleOrgCode !== '' || row.status === 0) &&
|
|
|
+ row.status < 300 &&
|
|
|
+ row.status !== 9
|
|
|
+ "
|
|
|
>
|
|
|
退回</el-button
|
|
|
>
|
|
@@ -683,7 +693,8 @@ const queryList = (isQuery: boolean = false) => {
|
|
|
}
|
|
|
state.loading = false;
|
|
|
})
|
|
|
- .then(() => { // 查询总数
|
|
|
+ .then(() => {
|
|
|
+ // 查询总数
|
|
|
orderListCount(requestParams.value)
|
|
|
.then((count) => {
|
|
|
totalCount.value = count.result;
|
|
@@ -734,8 +745,7 @@ const onObserve = () => {
|
|
|
queryList();
|
|
|
});
|
|
|
})
|
|
|
- .catch(() => {
|
|
|
- });
|
|
|
+ .catch(() => {});
|
|
|
};
|
|
|
// 设置终结件
|
|
|
const onEnd = () => {
|
|
@@ -757,8 +767,7 @@ const onEnd = () => {
|
|
|
queryList();
|
|
|
});
|
|
|
})
|
|
|
- .catch(() => {
|
|
|
- });
|
|
|
+ .catch(() => {});
|
|
|
};
|
|
|
// 创建重复性事件
|
|
|
const repeatEventEditRef = ref<RefType>();
|
|
@@ -793,8 +802,7 @@ const onJbExport = () => {
|
|
|
state.loading = false;
|
|
|
});
|
|
|
})
|
|
|
- .catch(() => {
|
|
|
- });
|
|
|
+ .catch(() => {});
|
|
|
};
|
|
|
// 打开内容检索
|
|
|
const contentRetrieval = () => {
|