修改参数收集,认证工程师权限
This commit is contained in:
Vendored
+2
-1
@@ -269,8 +269,9 @@
|
||||
<!-- 全局配置 -->
|
||||
<script>
|
||||
localStorage.removeItem('isPhone')
|
||||
localStorage.setItem('isPhone', 'yes')
|
||||
localStorage.setItem('isPhone', 'no')
|
||||
window.loginUrl = 'https://grp.nioint.com'
|
||||
// window.loginUrl = 'https://grp-mobile.nio.com'
|
||||
// // 判断当前设备
|
||||
// function isMobile() {
|
||||
// var userAgentInfo = navigator.userAgent
|
||||
|
||||
@@ -1151,6 +1151,9 @@
|
||||
// console.log(this.currentPersonRole)
|
||||
if ((this.currentPersonRole == 'homo' || this.currentPersonRole == 'admin') && item == 'referencesCol') {
|
||||
itemLi.isLock = 0
|
||||
}else if(this.currentPersonRole == 'homo' && (Obj.state == '变更' || Obj.state == 'Modify')){
|
||||
itemLi.isLock = 0
|
||||
Obj[item].referencesColFlag = '1'
|
||||
} else {
|
||||
itemLi.isLock = 1
|
||||
}
|
||||
|
||||
@@ -267,12 +267,12 @@
|
||||
{{$t('dataExport')}}
|
||||
</div>
|
||||
<!-- 引用参数-->
|
||||
<div @click="referenceparameter" class="operator-text" v-if='currentPersonRole == "dre" '>
|
||||
<div @click="referenceparameter" class="operator-text" v-if='currentPersonRole == "dre" || currentPersonRole == "homo"'>
|
||||
<a-icon type="plus"/>
|
||||
{{$t('referenceparameter')}}
|
||||
</div>
|
||||
<!-- 保存-->
|
||||
<div @click="handlePreservation(1)" class="operator-text" v-if='currentPersonRole == "dre"'>
|
||||
<div @click="handlePreservation(1)" class="operator-text" v-if='currentPersonRole == "dre" || currentPersonRole == "homo"'>
|
||||
<a-icon type="check-circle"/>
|
||||
{{$t('tempSave')}}
|
||||
</div>
|
||||
@@ -2097,7 +2097,7 @@
|
||||
let selectedRowKeysValue = []
|
||||
data.forEach(res => {
|
||||
if (res.state == 'To be filled' || res.state == '待填写' || res.state == '认证工程师退回' ||
|
||||
res.state == 'Rejected by homo engineer') {
|
||||
res.state == 'Rejected by homo engineer' ||res.state == 'Modify' || res.state == '变更') {
|
||||
selectedRowKeysValue.push(res)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user