[update] 权限细节修改
This commit is contained in:
@@ -900,4 +900,16 @@ module.exports = {
|
|||||||
systemPrompt:'System Prompt',
|
systemPrompt:'System Prompt',
|
||||||
loginExpired:'Login Expired',
|
loginExpired:'Login Expired',
|
||||||
reportNotUploaded:'Report not uploaded',
|
reportNotUploaded:'Report not uploaded',
|
||||||
|
// 认证权限状态
|
||||||
|
CollectionInitiated: 'Collection to be initiated、',
|
||||||
|
handledInterface: 'To be handled by the project interface、',
|
||||||
|
ReturnedPerson: 'Returned by project contact person、',
|
||||||
|
completed: 'To be completed、',
|
||||||
|
Filledreturn: 'Filled by return、',
|
||||||
|
Submitted: 'Submitted、',
|
||||||
|
ReturnedEngineer: 'Returned by Certification Engineer、',
|
||||||
|
SynchronizedLibrary: 'Synchronized to the upper reporting Library、',
|
||||||
|
Statusis: 'Statusis',
|
||||||
|
toHavePermission: 'To Have Permission',
|
||||||
|
and: 'and'
|
||||||
}
|
}
|
||||||
@@ -905,4 +905,16 @@ module.exports = {
|
|||||||
systemPrompt:'系统提示',
|
systemPrompt:'系统提示',
|
||||||
loginExpired:'登录已过期',
|
loginExpired:'登录已过期',
|
||||||
reportNotUploaded:'报告未上传',
|
reportNotUploaded:'报告未上传',
|
||||||
|
// 认证权限状态
|
||||||
|
CollectionInitiated: '待发起收集、',
|
||||||
|
handledInterface: '待工程接口人处理、',
|
||||||
|
ReturnedPerson: '工程接口人退回、',
|
||||||
|
completed: '待填写、',
|
||||||
|
Filledreturn: '填写人退回、',
|
||||||
|
Submitted: '已提交、',
|
||||||
|
ReturnedEngineer: '认证工程师退回、',
|
||||||
|
SynchronizedLibrary: '已同步至上报库、',
|
||||||
|
Statusis: '状态为',
|
||||||
|
toHavePermission: '才有权限',
|
||||||
|
and: '并且'
|
||||||
}
|
}
|
||||||
@@ -18,20 +18,17 @@
|
|||||||
<span style='padding-right: 20px'>{{ text.sortOrder }} </span><a-button @click='onClickSee(text)'>查看</a-button>
|
<span style='padding-right: 20px'>{{ text.sortOrder }} </span><a-button @click='onClickSee(text)'>查看</a-button>
|
||||||
</span>
|
</span>
|
||||||
<span slot="operationbtn" slot-scope="record">
|
<span slot="operationbtn" slot-scope="record">
|
||||||
<!-- 待发起收集 1-->
|
<span v-if='homo === 1'>
|
||||||
<!-- 待工程接口人处理 2-->
|
|
||||||
<!-- 工程接口人退回 3-->
|
|
||||||
<!-- 待填写 4-->
|
|
||||||
<!-- 填写人退回 5-->
|
|
||||||
<!-- 已提交 6-->
|
|
||||||
<!-- 认证工程师退回 7-->
|
|
||||||
<!-- 已同步至上报库 8-->
|
|
||||||
<!-- 变更 9-->
|
|
||||||
<span v-if='home === 1'>
|
|
||||||
<!-- 认证工程师 -->
|
<!-- 认证工程师 -->
|
||||||
<span v-if='record.state == "待发起收集" || record.state == "工程接口人退回" || record.state == "变更"'>
|
<span v-if='record.state == "待发起收集" || record.state == "工程接口人退回" || record.state == "变更"'>
|
||||||
<span @click='ondataValueTobeinitiated(record)'>{{ record.dataValue == null? '--': record.dataValue}}</span>
|
<span @click='ondataValueTobeinitiated(record)'>{{ record.dataValue == null? '--': record.dataValue}}</span>
|
||||||
</span>
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
<span @click='dataValueTobeinitiated'>{{ record.dataValue }}</span>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
<span @click='dataValueTobeinitiated'>{{ record.dataValue }}</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span slot="detailClick" slot-scope="text,record">
|
<span slot="detailClick" slot-scope="text,record">
|
||||||
@@ -308,6 +305,9 @@ export default {
|
|||||||
this.areaVisible = true
|
this.areaVisible = true
|
||||||
this.getquerySdtList(record)
|
this.getquerySdtList(record)
|
||||||
},
|
},
|
||||||
|
dataValueTobeinitiated() {
|
||||||
|
this.$message.warning(this.$t('certifiedEngineer')+this.$t('and')+this.$t('Statusis')+this.$t('CollectionInitiated')+this.$t('ReturnedPerson')+this.$t('alteration')+this.$t('toHavePermission'))
|
||||||
|
},
|
||||||
// 点击工程接口人的详情人员 无权限
|
// 点击工程接口人的详情人员 无权限
|
||||||
ondataValueNot() {
|
ondataValueNot() {
|
||||||
this.$message.warning(this.$t('operatethisbutton'))
|
this.$message.warning(this.$t('operatethisbutton'))
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ export default {
|
|||||||
if(flag === 1) {
|
if(flag === 1) {
|
||||||
flag = 1
|
flag = 1
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operatethisbutton'))
|
this.$message.warning(this.$t('Statusis')+this.$t('CollectionInitiated')+this.$t('ReturnedPerson')+this.$t('alteration')+this.$t('toHavePermission'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 工程接口人没有权限
|
// 工程接口人没有权限
|
||||||
@@ -690,12 +690,12 @@ export default {
|
|||||||
.then( (res) =>{
|
.then( (res) =>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
_this.$message.success(res.data.result)
|
_this.$message.success(res.data.message)
|
||||||
_this.areaVisible = false
|
_this.areaVisible = false
|
||||||
_this.getTableList()
|
_this.getTableList()
|
||||||
_this.selectedRowKeysValue=[]
|
_this.selectedRowKeysValue=[]
|
||||||
}else{
|
}else{
|
||||||
_this.$message.warning(res.data.result)
|
_this.$message.warning(res.data.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch( (error) =>{
|
.catch( (error) =>{
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ export default {
|
|||||||
let postDate = {
|
let postDate = {
|
||||||
title: this.formData.title,
|
title: this.formData.title,
|
||||||
paramsTemplateId: this.paramsTemplateId || this.selectedRowKeys[0],
|
paramsTemplateId: this.paramsTemplateId || this.selectedRowKeys[0],
|
||||||
paramsTemplatePublishVersion: this.version,
|
paramsTemplatePublishVersion: this.selectedRowKeysDate[0].version,
|
||||||
projectId: this.projectId
|
projectId: this.projectId
|
||||||
}
|
}
|
||||||
if (this.formData.id) {
|
if (this.formData.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user