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