Browse Source

确定按钮权限判断

dev-xx
马远东 1 year ago
parent
commit
60ba1a100c
  1. 2
      src/views/aftersales/aftersalesWorkOrder.vue
  2. 11
      src/views/aftersales/aftersalesWorkOrderInfo.vue
  3. 4
      vite.config.js

2
src/views/aftersales/aftersalesWorkOrder.vue

@ -173,7 +173,7 @@
</el-row>
<!-- 申诉列表展示 -->
<el-tabs type="border-card" v-if="TabPermissions == 6" @tab-change="AppealTab">
<el-tab-pane name="0" label="完结"></el-tab-pane>
<el-tab-pane name="0" label="仲裁中"></el-tab-pane>
<el-tab-pane name="1" label="申诉列表"></el-tab-pane>
</el-tabs>
<!-- 首页表格 -->

11
src/views/aftersales/aftersalesWorkOrderInfo.vue

@ -1,7 +1,7 @@
<template>
<div class="content-max" v-loading="pageState" element-loading-text="Loading...">
<el-card class="box-card el_last">
<div>
<div >
<el-tabs type="border-card" class="topClass">
<el-tab-pane label="订单信息"></el-tab-pane>
<el-tab-pane label="零担信息"></el-tab-pane>
@ -892,7 +892,7 @@ const Indexform = ref({
decreaseImageEntityList: [], //
discoveryNode: '1',
}); //
const pageState = ref(false); //
const pageState = ref(true); //
const ProcessingResults = ref([]); //
const IndexException = ref([]); //
const ZFname = ref(''); //
@ -1059,14 +1059,14 @@ const PermissionButton = computed(() => {
warehouseIdState.value, //
Appeal_established: appeal.value && AppealReview.value, //
Appeal_rejection: appeal.value && AppealReview.value, //
Processing_confirmation:
Processing_confirmation:(
(UserPermissions.value != '仓库客服' &&
$route.query.RouteIndexs == '0' &&
$route.query.workOrderStatus == '40') ||
(UserPermissions.value != '仓库客服' &&
$route.query.RouteIndexs == '1' &&
$route.query.workOrderStatus == '40') ||
($route.query.RouteIndexs == '2' && $route.query.workOrderStatus == '40'),
($route.query.RouteIndexs == '2' && $route.query.workOrderStatus == '40')),
};
});
@ -1276,6 +1276,7 @@ const onLoad = () => {
handle(); //
$_getInfo({ id: $route.query.id }).then(res => {
pageState.value = false; //
if ($route.query.Routstate) {
appeal.value = true;
console.log(appeal.value, 'appeal.value');
@ -1414,7 +1415,7 @@ const onLoad = () => {
});
}
});
pageState.value = false; //
});
//

4
vite.config.js

@ -23,13 +23,13 @@ export default ({ mode, command }) => {
// 新zyc
// target: 'http://192.168.6.116:8777',
// target: 'http://192.168.6.122:8777',
// target: 'http://192.168.10.25:13000',
// target: 'http://192.168.3.14:13000',
// target: 'http://192.168.10.25:2888',
// target: 'http://192.168.6.161:9777',//CYZ
// target: 'http://192.168.10.57:13000',
// target: 'http://192.168.10.200:13000',
// target: 'http://192.168.10.29:13000',
target: 'http://192.168.5.14:13000',//?
target: 'http://192.168.3.4:13000',//?
// target: 'http://h5uapi.huitongys.com',
// target: 'http://test.api.huo5you.com',

Loading…
Cancel
Save