|
@@ -178,7 +178,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<div class="btns" v-if="!IS_FWS && type">
|
|
|
- <el-button class="btn" type="danger" @click="passClick(index, false, item.id, item)">{{ textB }}</el-button>
|
|
|
+ <el-button class="btn" type="danger" @click="passClick(index, false, item.id, item)" v-if="!IS_SYBZJL">{{ textB }}</el-button>
|
|
|
<el-button class="btn" type="primary" @click="passClick(index, true, item.id, item)">{{ textA }}</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -191,7 +191,7 @@
|
|
|
<el-form-item label="审批意见:" prop="supervision" class="formitem-box">
|
|
|
<el-radio-group v-model="taskForm.supervision">
|
|
|
<el-radio :label="true">{{ textA }}</el-radio>
|
|
|
- <el-radio :label="false">{{ textB }}</el-radio>
|
|
|
+ <el-radio :label="false" v-if="!IS_SYBZJL">{{ textB }}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
@@ -233,6 +233,7 @@ export default {
|
|
|
typeArr: ['area', 'text', 'inputautoselect', 'map', 'mapwithimg', 'datetime', 'datatimerange', 'money', 'number', ''],
|
|
|
currText: '',
|
|
|
type: 0,
|
|
|
+ IS_SYBZJL: false,
|
|
|
hasMap: false,
|
|
|
mapShow: true,
|
|
|
taskList: [],
|
|
@@ -325,6 +326,9 @@ export default {
|
|
|
if (this.userInfo.roles.includes(37)) {
|
|
|
this.IS_FWS = true;
|
|
|
}
|
|
|
+ if (this.userInfo.roles.includes(39)) {
|
|
|
+ this.IS_SYBZJL = true;
|
|
|
+ }
|
|
|
const rolesArr = [49, 52, 53, 56];
|
|
|
const IS_JDY = this.userInfo.roles.some((item) => rolesArr.includes(item));
|
|
|
console.log('IS_JDY', IS_JDY);
|
|
@@ -336,6 +340,9 @@ export default {
|
|
|
this.textA = '同意';
|
|
|
this.textB = '不同意';
|
|
|
}
|
|
|
+ if (this.IS_SYBZJL) {
|
|
|
+ this.textA = '知会';
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
methods: {
|