feat: There is no way the, #55969 企标顺序号相关逻辑
This commit is contained in:
@@ -1626,23 +1626,23 @@
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1',standSort:this.form.standSort}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
const obj = res.data
|
||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
this.form.standSn = standSn
|
||||
this.form.standNumber = standSn
|
||||
this.form.standYear = year // 待带入立项标准
|
||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.FBGBUSSFileList = []
|
||||
this.LSBBBUSSFileList = []
|
||||
if(this.form.standStatus === '1'){
|
||||
this.isSubmit = false
|
||||
this.saveLoading = false
|
||||
}
|
||||
}, e => {
|
||||
})
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1',standSort:this.form.standSort}, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// const obj = res.data
|
||||
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
// this.form.standSn = standSn
|
||||
// this.form.standNumber = standSn
|
||||
// this.form.standYear = year // 待带入立项标准
|
||||
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
// this.FBGBUSSFileList = []
|
||||
// this.LSBBBUSSFileList = []
|
||||
// if(this.form.standStatus === '1'){
|
||||
// this.isSubmit = false
|
||||
// this.saveLoading = false
|
||||
// }
|
||||
// }, e => {
|
||||
// })
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -1050,6 +1050,13 @@
|
||||
}
|
||||
},
|
||||
watch:{
|
||||
'form.standSort': {
|
||||
handler (val) {
|
||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||
this.getStandInfoByReviseStatus()
|
||||
}
|
||||
}
|
||||
},
|
||||
'form.issueTime': {
|
||||
handler: function() {
|
||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||
@@ -1063,7 +1070,7 @@
|
||||
if (month.length == 1) {
|
||||
month = "0" + month;
|
||||
}
|
||||
if (day.length == 1) {
|
||||
if (day.length === 1) {
|
||||
day = "0" + day;
|
||||
}
|
||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
||||
@@ -2608,13 +2615,23 @@
|
||||
pId: this.pId
|
||||
}).then(res => {
|
||||
if (res) {
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
if (processForm.form === undefined) {
|
||||
this.getFormFieldList(processForm)
|
||||
} else {
|
||||
//表单文件处理
|
||||
this.getTaskId(processForm)
|
||||
if(res.nowTaskInfo && res.nowTaskInfo === '发布') {
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
if (processForm.form === undefined) {
|
||||
this.getFormFieldList(processForm)
|
||||
} else {
|
||||
//表单文件处理
|
||||
this.getTaskId(processForm)
|
||||
}
|
||||
}else {
|
||||
this.$alert('当前任务'+(res.nowTaskInfo ?res.nowTaskInfo:"")+'不是发布节点,禁止跨路由访问当前页面', '', {
|
||||
confirmButtonText: '确定',
|
||||
callback: action => {
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}).catch(e => {
|
||||
})
|
||||
|
||||
@@ -1149,22 +1149,23 @@
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
const obj = res.data
|
||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
this.form.standSn = standSn
|
||||
this.form.standNumber = standSn
|
||||
this.form.standYear = year // 待带入立项标准
|
||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
if(type === '1'){
|
||||
this.isSubmit = false
|
||||
this.saveLoading = false
|
||||
}
|
||||
this.formKey++
|
||||
}, e => {
|
||||
})
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// const obj = res.data
|
||||
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
// this.form.standSn = standSn
|
||||
// this.form.standNumber = standSn
|
||||
// this.form.standYear = year // 待带入立项标准
|
||||
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = false
|
||||
// this.saveLoading = false
|
||||
// }
|
||||
// this.formKey++
|
||||
// }, e => {
|
||||
// })
|
||||
}
|
||||
},
|
||||
checkedRoleTransfer (data) {
|
||||
|
||||
@@ -1169,7 +1169,7 @@
|
||||
let year = date.getFullYear()+5;
|
||||
let month =(date.getMonth() + 1).toString();
|
||||
let day = (date.getDate()).toString();
|
||||
if (month.length == 1) {
|
||||
if (month.length === 1) {
|
||||
month = "0" + month;
|
||||
}
|
||||
if (day.length == 1) {
|
||||
@@ -1227,22 +1227,23 @@
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
const obj = res.data
|
||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
this.form.standSn = standSn
|
||||
this.form.standNumber = standSn
|
||||
this.form.standYear = year // 待带入立项标准
|
||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
if(type === '1'){
|
||||
this.isSubmit = false
|
||||
this.saveLoading = false
|
||||
}
|
||||
this.formKey++
|
||||
}, e => {
|
||||
})
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// const obj = res.data
|
||||
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
// this.form.standSn = standSn
|
||||
// this.form.standNumber = standSn
|
||||
// this.form.standYear = year // 待带入立项标准
|
||||
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = false
|
||||
// this.saveLoading = false
|
||||
// }
|
||||
// this.formKey++
|
||||
// }, e => {
|
||||
// })
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -1149,22 +1149,23 @@
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
const obj = res.data
|
||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
this.form.standSn = standSn
|
||||
this.form.standNumber = standSn
|
||||
this.form.standYear = year // 待带入立项标准
|
||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
if(type === '1'){
|
||||
this.isSubmit = false
|
||||
this.saveLoading = false
|
||||
}
|
||||
this.formKey++
|
||||
}, e => {
|
||||
})
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// const obj = res.data
|
||||
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
// this.form.standSn = standSn
|
||||
// this.form.standNumber = standSn
|
||||
// this.form.standYear = year // 待带入立项标准
|
||||
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = false
|
||||
// this.saveLoading = false
|
||||
// }
|
||||
// this.formKey++
|
||||
// }, e => {
|
||||
// })
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -1237,22 +1237,23 @@
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
const obj = res.data
|
||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
this.form.standSn = standSn
|
||||
this.form.standNumber = standSn
|
||||
this.form.standYear = year // 待带入立项标准
|
||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
if(type === '1'){
|
||||
this.isSubmit = false
|
||||
this.saveLoading = false
|
||||
}
|
||||
this.formKey++
|
||||
}, e => {
|
||||
})
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// const obj = res.data
|
||||
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||
// this.form.standSn = standSn
|
||||
// this.form.standNumber = standSn
|
||||
// this.form.standYear = year // 待带入立项标准
|
||||
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = false
|
||||
// this.saveLoading = false
|
||||
// }
|
||||
// this.formKey++
|
||||
// }, e => {
|
||||
// })
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -1957,7 +1957,7 @@
|
||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||
this.form.DTQBBHBUSS = this.filterSetData(arr1)
|
||||
this.getStandInfoByReviseStatus()
|
||||
// this.getStandInfoByReviseStatus()
|
||||
}else if(this.replaceLawType === 'CYBZ'){
|
||||
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
this.form.CYBZ = this.filterSetData(arr1)
|
||||
@@ -2672,12 +2672,21 @@
|
||||
pId: this.pId
|
||||
}).then(res => {
|
||||
if (res) {
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
if (processForm.form === undefined) {
|
||||
this.getFormFieldList(processForm)
|
||||
} else {
|
||||
//表单文件处理
|
||||
this.getTaskId(processForm)
|
||||
if(res.nowTaskInfo && res.nowTaskInfo === '发布'){
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
if (processForm.form === undefined) {
|
||||
this.getFormFieldList(processForm)
|
||||
} else {
|
||||
//表单文件处理
|
||||
this.getTaskId(processForm)
|
||||
}
|
||||
}else {
|
||||
this.$alert('当前任务'+(res.nowTaskInfo ?res.nowTaskInfo:"")+'不是发布节点,禁止跨路由访问当前页面', '', {
|
||||
confirmButtonText: '确定',
|
||||
callback: action => {
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}).catch(e => {
|
||||
|
||||
@@ -1702,7 +1702,6 @@
|
||||
this.form.evaluationData = []
|
||||
this.pid = this.form.topId
|
||||
this.evaluationHisListRep()
|
||||
this.getStandInfoByReviseStatus()
|
||||
this.evaluationHisListRepSum()
|
||||
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||
@@ -2825,7 +2824,6 @@
|
||||
this.form['id'] = item.id
|
||||
this.form.evaluationData = []
|
||||
this.evaluationHisListRep()
|
||||
this.getStandInfoByReviseStatus()
|
||||
this.evaluationHisListRepSum()
|
||||
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||
|
||||
Reference in New Issue
Block a user