|
|
@@ -592,6 +592,7 @@
|
|
|
chooseAuditorVisible: false,
|
|
|
myitemsshow: false,
|
|
|
auditstepcode: '',
|
|
|
+ scrollTop:'',
|
|
|
auditBtn: false,
|
|
|
AccessCardNolist: [],
|
|
|
AccessCardNo1: '',
|
|
|
@@ -883,6 +884,7 @@
|
|
|
this.serviceId = this.$route.params.opera
|
|
|
this.InfoStatus = this.$route.query.InfoStatus
|
|
|
this.infoId = this.serviceId
|
|
|
+ console.log(this.infoId, 'this.infoId')
|
|
|
this.initDatas()
|
|
|
this.auditget()
|
|
|
this.getDictOptions()
|
|
|
@@ -1219,7 +1221,6 @@
|
|
|
})
|
|
|
},
|
|
|
bfdataformat(val) {
|
|
|
- //debugger
|
|
|
if (val.SelectItem == 'SpecTypeCode') {
|
|
|
if (val.BeChangeInfo == '1') {
|
|
|
return '一般外部'
|
|
|
@@ -1254,8 +1255,8 @@
|
|
|
} else if (val.BeChangeInfo === '5000-01-01T23:59:59+08:00') {
|
|
|
return '永久'
|
|
|
} else {
|
|
|
- val = val.replace('T', ' ')
|
|
|
- return val.substring(0, 10)
|
|
|
+ let val2 = val.BeChangeInfo.replace('T', ' ')
|
|
|
+ return val2.substring(0, 10)
|
|
|
}
|
|
|
} else {
|
|
|
return val.BeChangeInfo
|
|
|
@@ -1297,8 +1298,8 @@
|
|
|
} else if (val.ChangeInfo == '5000-01-01T23:59:59+08:00') {
|
|
|
return '永久'
|
|
|
} else {
|
|
|
- val = val.replace('T', ' ')
|
|
|
- return val.substring(0, 10)
|
|
|
+ let val2 = val.ChangeInfo.replace('T', ' ')
|
|
|
+ return val2.substring(0, 10)
|
|
|
}
|
|
|
} else {
|
|
|
return val.ChangeInfo
|
|
|
@@ -1471,7 +1472,12 @@
|
|
|
},
|
|
|
radioChange() {
|
|
|
if (this.shenheForm.SuccessStatus === 1) {
|
|
|
- this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
|
+
|
|
|
+ if(this.InfoStatus == '5'){
|
|
|
+ this.textplaceholder = ''
|
|
|
+ }else{
|
|
|
+ this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
|
+ }
|
|
|
} else {
|
|
|
this.textplaceholder = '退回意见不能少于5个字'
|
|
|
}
|
|
|
@@ -1496,15 +1502,22 @@
|
|
|
//审核通过
|
|
|
makeSure() {
|
|
|
if (this.shenheForm.SuccessStatus === 1) {
|
|
|
- if (this.shenheForm.AuditorRemark.trim().length < 20 && this.formData.Status !== '3') {
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 20 && this.InfoStatus && this.InfoStatus !== '3' && this.InfoStatus !== '5') {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: '审批意见不能低于20个字符!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 1 && this.InfoStatus && this.InfoStatus == '5') {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请填写审批意见!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
} else {
|
|
|
- if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3') {
|
|
|
+ if (this.shenheForm.AuditorRemark.trim().length < 5 && this.InfoStatus && this.InfoStatus !== '3') {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
message: '退回意见不能低于5个字符!'
|
|
|
@@ -1585,6 +1598,10 @@
|
|
|
.el-input__inner {
|
|
|
background-color: wheat;
|
|
|
}
|
|
|
+
|
|
|
+ .el-textarea__inner {
|
|
|
+ background-color: wheat;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
</style>
|