Browse Source

权限按钮

dev-xx
马远东 1 year ago
parent
commit
639808d325
  1. 4
      src/views/aftersales/aftersalesWorkOrder.vue
  2. 19
      src/views/aftersales/aftersalesWorkOrderInfo.vue

4
src/views/aftersales/aftersalesWorkOrder.vue

@ -513,10 +513,10 @@ console.log(accessControl, '权限按钮');
// repulse;// // repulse;//
// arbitration_completed;// // arbitration_completed;//
// information_editing;// // information_editing;//
console.log(accessControl.workAdd, '新增按钮权限'); console.log(accessControl.add, '新增按钮权限');
const PermissionButton = computed(() => { const PermissionButton = computed(() => {
return { return {
workAdd: accessControl.workAdd, // workAdd: accessControl.add, //
batch_return: accessControl.batch_return, // batch_return: accessControl.batch_return, //
assign: accessControl.assign, // assign: accessControl.assign, //
apply_arbitration: accessControl.apply_arbitration, // apply_arbitration: accessControl.apply_arbitration, //

19
src/views/aftersales/aftersalesWorkOrderInfo.vue

@ -116,7 +116,7 @@
<el-form-item label="车辆路线" v-if="groundlineSet || groundlineType == 3"> <el-form-item label="车辆路线" v-if="groundlineSet || groundlineType == 3">
<el-input <el-input
v-model="Indexform.vehicleRoute" v-model="Indexform.vehicleRoute"
placeholder="请输入车辆路线车次号(通过车次号自动带出车辆路线)" placeholder="请输入车辆路线车次号"
clearable clearable
/> />
</el-form-item> </el-form-item>
@ -670,7 +670,22 @@ const PermissionButton = computed(() => {
information_editing:accessControl.information_editing,// information_editing:accessControl.information_editing,//
} }
}); });
// const PermissionButtonS = computed(() => {
// return {
// workAdd:accessControl.workAdd,//
// batch_return:accessControl.batch_return,//
// assign:accessControl.assign, //
// apply_arbitration:accessControl.apply_arbitration,//
// batch_completion:accessControl.batch_completion,//
// representations:accessControl.representations,//
// reply:accessControl.reply,//
// processing_completed:accessControl.processing_completed,//
// work_order_completion:accessControl.work_order_completion,//
// repulse:accessControl.repulse,//
// arbitration_completed:accessControl.arbitration_completed,//
// information_editing:accessControl.information_editing,//
// }
// });
// //
const ButtonPermissions = computed(() => { const ButtonPermissions = computed(() => {
// TabPermissions // TabPermissions

Loading…
Cancel
Save