|
|
|
@ -89,35 +89,40 @@
|
|
|
|
|
> --> |
|
|
|
|
|
|
|
|
|
<!-- v-if="ButtonPermissions.batchReject" --> |
|
|
|
|
<!-- v-if="PermissionButton.batch_return" --> |
|
|
|
|
<el-button |
|
|
|
|
v-if="PermissionButton.batch_return" |
|
|
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
@click="BatchReturn" |
|
|
|
|
>批量打回</el-button |
|
|
|
|
> |
|
|
|
|
<!-- v-if="ButtonPermissions.assignment" --> |
|
|
|
|
<el-button v-if="PermissionButton.assign" type="primary" @click="assign" |
|
|
|
|
<!-- v-if="PermissionButton.assign" --> |
|
|
|
|
<el-button type="primary" @click="assign" |
|
|
|
|
>工单指派</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
<!-- v-if="ButtonPermissions.applyArbitration" --> |
|
|
|
|
<!-- v-if="PermissionButton.apply_arbitration" --> |
|
|
|
|
<el-button |
|
|
|
|
v-if="PermissionButton.apply_arbitration" |
|
|
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
@click="arbitrate" |
|
|
|
|
>申请仲裁</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
<!-- v-if="ButtonPermissions.batchFinish" --> |
|
|
|
|
<!-- v-if="PermissionButton.batch_completion" --> |
|
|
|
|
<el-button |
|
|
|
|
v-if="PermissionButton.batch_completion" |
|
|
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
@click="Batchcompletion" |
|
|
|
|
>批量完结</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
<!-- v-if="ButtonPermissions.appeal" --> |
|
|
|
|
<el-button v-if="PermissionButton.representations" type="primary" @click="appeal" |
|
|
|
|
<!-- v-if="PermissionButton.representations" --> |
|
|
|
|
<el-button type="primary" @click="appeal" |
|
|
|
|
>申诉</el-button |
|
|
|
|
> |
|
|
|
|
<!-- v-if="details.query.workOrderStatus == 30" --> |
|
|
|
@ -513,10 +518,10 @@ console.log(accessControl, '权限按钮');
|
|
|
|
|
// repulse;//打回 |
|
|
|
|
// arbitration_completed;//仲裁完结 |
|
|
|
|
// information_editing;//信息编辑 |
|
|
|
|
console.log(accessControl.add, '新增按钮权限'); |
|
|
|
|
console.log(accessControl.workAdd, '新增按钮权限'); |
|
|
|
|
const PermissionButton = computed(() => { |
|
|
|
|
return { |
|
|
|
|
workAdd: accessControl.add, //新增 |
|
|
|
|
workAdd: accessControl.workAdd, //新增 |
|
|
|
|
batch_return: accessControl.batch_return, //批量打回 |
|
|
|
|
assign: accessControl.assign, //工单指派 |
|
|
|
|
apply_arbitration: accessControl.apply_arbitration, //申请仲裁 |
|
|
|
|