|
@@ -39,7 +39,12 @@
|
|
</template>
|
|
</template>
|
|
<template #operate="{ row }">
|
|
<template #operate="{ row }">
|
|
<div v-if="perm.LINK_Finish" class="table-operations">
|
|
<div v-if="perm.LINK_Finish" class="table-operations">
|
|
- <t-link theme="primary" hover="color" @click="handleApply(row)">
|
|
|
|
|
|
+ <t-link
|
|
|
|
+ v-if="row.projectExchangeFlowStatus === 'UN_APPROVE'"
|
|
|
|
+ theme="primary"
|
|
|
|
+ hover="color"
|
|
|
|
+ @click="handleApply(row)"
|
|
|
|
+ >
|
|
处理申请
|
|
处理申请
|
|
</t-link>
|
|
</t-link>
|
|
</div>
|
|
</div>
|
|
@@ -63,7 +68,6 @@ import { ref, reactive, computed } from 'vue';
|
|
import useFetchTable from '@/hooks/useFetchTable';
|
|
import useFetchTable from '@/hooks/useFetchTable';
|
|
import { dictToOptionList } from '@/utils/tool';
|
|
import { dictToOptionList } from '@/utils/tool';
|
|
import { omit } from 'lodash';
|
|
import { omit } from 'lodash';
|
|
-import { useRouter } from 'vue-router';
|
|
|
|
import { planChangeList } from '@/api/sop';
|
|
import { planChangeList } from '@/api/sop';
|
|
import PlanChangeDialog from '../plan-change/plan-change-dialog.vue';
|
|
import PlanChangeDialog from '../plan-change/plan-change-dialog.vue';
|
|
import usePermission from '@/hooks/usePermission';
|
|
import usePermission from '@/hooks/usePermission';
|
|
@@ -76,14 +80,13 @@ import {
|
|
} from '@/config/constants';
|
|
} from '@/config/constants';
|
|
import { timestampFilter } from '@/utils/filter';
|
|
import { timestampFilter } from '@/utils/filter';
|
|
|
|
|
|
-const router = useRouter();
|
|
|
|
const selectedRowKeys = ref([]);
|
|
const selectedRowKeys = ref([]);
|
|
const selectChange = (value) => {
|
|
const selectChange = (value) => {
|
|
selectedRowKeys.value = value;
|
|
selectedRowKeys.value = value;
|
|
};
|
|
};
|
|
|
|
|
|
const columns = [
|
|
const columns = [
|
|
- { colKey: 'id', title: '变更申请编号', width: 200 },
|
|
|
|
|
|
+ { colKey: 'code', title: '变更申请编号', width: 200 },
|
|
{ colKey: 'serviceName', title: '服务单元', width: 140 },
|
|
{ colKey: 'serviceName', title: '服务单元', width: 140 },
|
|
{ colKey: 'customTypeStr', title: '客户类型', width: 120 },
|
|
{ colKey: 'customTypeStr', title: '客户类型', width: 120 },
|
|
{ colKey: 'customName', title: '客户名称', width: 140 },
|
|
{ colKey: 'customName', title: '客户名称', width: 140 },
|
|
@@ -134,6 +137,9 @@ const fields = ref([
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
colSpan: 4.5,
|
|
colSpan: 4.5,
|
|
options: dictToOptionList(PLAN_CHANGE_TYPE),
|
|
options: dictToOptionList(PLAN_CHANGE_TYPE),
|
|
|
|
+ attrs: {
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
prop: 'customType',
|
|
prop: 'customType',
|
|
@@ -142,6 +148,9 @@ const fields = ref([
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
colSpan: 4.5,
|
|
colSpan: 4.5,
|
|
options: dictToOptionList(CUSTOMER_TYPE),
|
|
options: dictToOptionList(CUSTOMER_TYPE),
|
|
|
|
+ attrs: {
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
prop: 'flowStatus',
|
|
prop: 'flowStatus',
|
|
@@ -150,6 +159,9 @@ const fields = ref([
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
colSpan: 4.5,
|
|
colSpan: 4.5,
|
|
options: dictToOptionList(FLOW_CHECK_STATUS),
|
|
options: dictToOptionList(FLOW_CHECK_STATUS),
|
|
|
|
+ attrs: {
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: 'buttons',
|
|
type: 'buttons',
|
|
@@ -169,12 +181,18 @@ const fields = ref([
|
|
label: '客户名称',
|
|
label: '客户名称',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
colSpan: 4.5,
|
|
colSpan: 4.5,
|
|
|
|
+ attrs: {
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
prop: 'exchangeNo',
|
|
prop: 'exchangeNo',
|
|
label: '变更申请编号',
|
|
label: '变更申请编号',
|
|
labelWidth: 100,
|
|
labelWidth: 100,
|
|
colSpan: 4.5,
|
|
colSpan: 4.5,
|
|
|
|
+ attrs: {
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
prop: 'time',
|
|
prop: 'time',
|