@@ -557,6 +557,7 @@
},
tableData:'',
partList:[],
+ superAdmin:false,
ifDisableFlag:false,
sheetData:{
site: '',
@@ -1490,6 +1491,11 @@
// 获取流程的配置权限
getNodeAuthority (row) {
getBMStatusDesc(this.searchData).then(({data}) => {
+ this.superAdmin=data.superAdmin
+ if(data.superAdmin){
+ this.ifDisableFlag = false
+ return false
+ }
if (data.status === '已完成' || data.status === '已升版') {
this.ifDisableFlag = true
return false
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
index 8f37470..94d1ac0 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
@@ -5,10 +5,10 @@
刷新数据
- 保存数据
- 同意
- 驳回
- 下达
+ 保存数据
+ 同意
+ 驳回
+ 下达
@@ -331,6 +331,7 @@
codeNo: '',
buNo:'',
},
+ superAdmin:false,
ifDisableFlag:false,
quotationOfficerFlag:false,
engineerFlag:false,
@@ -534,7 +535,7 @@
if (data && data.code == 0) {
this.getNodeAuthority(data.row)
this.dataForm = data.row
- this.$message.success( '操作成功')
+ // this.$message.success( '操作成功')
let inData = {
site: this.dataForm.site,
codeNo: this.dataForm.codeNo,
@@ -800,8 +801,12 @@
},
// 获取流程的配置权限
getNodeAuthority (row) {
-
getBMStatusDesc(this.searchData).then(({data}) => {
+ this.superAdmin=data.superAdmin
+ if(data.superAdmin){
+ this.ifDisableFlag = false
+ return false
+ }
if (data.status === '已完成' || data.status === '已升版') {
this.ifDisableFlag = true
return false