smApproval

This commit is contained in:
z9130 2024-10-18 16:45:11 +08:00
parent 4b7f75cc83
commit f7ff06e1ac
2 changed files with 10 additions and 20 deletions

View File

@ -649,14 +649,7 @@ onMounted(async () => {
<vben-button <vben-button
v-if=" v-if="
selectMerchantsBasicInfoId && selectMerchantsBasicInfoId &&
[ ['smApproval'].includes(selectMerchantsBasicInfo.step)
'smDepartmentAudit',
'smPlanningDepartment',
'smFinancialDepartment',
'smRegulationDepartment',
'smManager',
'smLeaders',
].includes(selectMerchantsBasicInfo.step)
" "
variant="primary" variant="primary"
@click="handleAudit('accessConfirm')" @click="handleAudit('accessConfirm')"
@ -666,14 +659,7 @@ onMounted(async () => {
<vben-button <vben-button
v-if=" v-if="
selectMerchantsBasicInfoId && selectMerchantsBasicInfoId &&
[ ['smApproval'].includes(selectMerchantsBasicInfo.step)
'smDepartmentAudit',
'smPlanningDepartment',
'smFinancialDepartment',
'smRegulationDepartment',
'smManager',
'smLeaders',
].includes(selectMerchantsBasicInfo.step)
" "
variant="destructive" variant="destructive"
@click="handleAudit('reject')" @click="handleAudit('reject')"

View File

@ -35,28 +35,32 @@ export default defineConfig(async () => {
}, },
'/api/flowCenter': { '/api/flowCenter': {
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/flowCenter/, '/flowCenter'), rewrite: (path) =>
path.replace(/^\/api\/flowCenter/, '/flowCenter'),
// target: `http://10.71.220.24:8083/rl`, // target: `http://10.71.220.24:8083/rl`,
target: `http://192.168.147.164:19007`, target: `http://192.168.147.164:19007`,
ws: true, ws: true,
}, },
'/api/czg/flowCenter': { '/api/czg/flowCenter': {
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/flowCenter/, '/flowCenter'), rewrite: (path) =>
path.replace(/^\/api\/flowCenter/, '/czg/flowCenter'),
// target: `http://10.71.220.24:8083/rl`, // target: `http://10.71.220.24:8083/rl`,
target: `http://192.168.147.164:19007`, target: `http://192.168.147.164:19007`,
ws: true, ws: true,
}, },
'/api/zp/flowCenter': { '/api/zp/flowCenter': {
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/flowCenter/, '/flowCenter'), rewrite: (path) =>
path.replace(/^\/api\/flowCenter/, '/zp/flowCenter'),
// target: `http://10.71.220.24:8083/rl`, // target: `http://10.71.220.24:8083/rl`,
target: `http://192.168.147.164:19007`, target: `http://192.168.147.164:19007`,
ws: true, ws: true,
}, },
'/api/zzz/flowCenter': { '/api/zzz/flowCenter': {
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/flowCenter/, '/flowCenter'), rewrite: (path) =>
path.replace(/^\/api\/flowCenter/, '/zzz/flowCenter'),
// target: `http://10.71.220.24:8083/rl`, // target: `http://10.71.220.24:8083/rl`,
target: `http://192.168.147.164:19007`, target: `http://192.168.147.164:19007`,
ws: true, ws: true,