flx:修改危大按钮权限
This commit is contained in:
parent
a8f9665bf7
commit
4b1d3d254c
@ -103,8 +103,7 @@
|
||||
<uni-icons v-else type="plusempty" size="30" color="#fff"></uni-icons>
|
||||
<span>+</span>
|
||||
</view> -->
|
||||
<view class="save-box" v-if="activeIndex != 7 && activeIndex != 2
|
||||
&& COMPANY != 'longguang' && detailData.finalAcceptanceStatus !== 2 && isShowBtn && btnAuth
|
||||
<view class="save-box" v-if="activeIndex != 7 && activeIndex != 2 && detailData.finalAcceptanceStatus !== 2 && btnAuth
|
||||
&& userInfo.accountType != 6 || userInfo.userId == detailData.personLiableId">
|
||||
<view class="save-btn" @click="addForm">
|
||||
{{activeIndex == 1 ? '新增进度记录' : activeIndex == 5 ? '新增隐患记录' : activeIndex == 6 ? '新增旁站记录' : '新增验收记录'}}
|
||||
@ -214,8 +213,9 @@
|
||||
onLoad(val) {
|
||||
this.btnAuth = this.checkBtnPermission({
|
||||
key: 'wdgc_add',
|
||||
menuPath: '/project/dangerousBigProject/parameter'
|
||||
menuPath: '/project/dangerousBigProject/dangerousWorkList'
|
||||
})
|
||||
console.log(1111, this.btnAuth)
|
||||
this.detailId = val.id
|
||||
// if(val.)
|
||||
// this.initData()
|
||||
@ -237,7 +237,7 @@
|
||||
// this.listData = res.result.records
|
||||
// }
|
||||
this.detailData = res.result
|
||||
this.getApply();
|
||||
// this.getApply();
|
||||
this.checkNav({
|
||||
id: 2
|
||||
});
|
||||
|
||||
@ -1958,7 +1958,7 @@
|
||||
taskId: this.taskId || null, // 任务ID
|
||||
itemId: this.itemId || null, // 任务子ID
|
||||
}
|
||||
|
||||
if(data2.drawingPointData) delete data2.drawingPointData;
|
||||
if (this.engineeringId) data2.engineeringId = this.engineeringId
|
||||
if (this.type) data2.type = this.type
|
||||
console.log(data.taskId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user