feat: There is no way the, BUG #52162
This commit is contained in:
@@ -271,9 +271,9 @@
|
|||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="采标程度" prop="CBCD" class="add-form-item form-item-disabled">
|
<el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled">
|
||||||
<el-select :popper-append-to-body="false"
|
<el-select :popper-append-to-body="false"
|
||||||
v-model="form.CBCD" placeholder="" :disabled="disabledState">
|
v-model="form.CYCD" placeholder="" :disabled="disabledState">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in cbcdOptions"
|
v-for="item in cbcdOptions"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -403,8 +403,8 @@
|
|||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="采标程度" prop="CBCD" class="add-form-item form-item-disabled">
|
<el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.CBCD" filterable clearable
|
<el-select v-model="form.CYCD" filterable clearable
|
||||||
placeholder="请先选择采标程度"
|
placeholder="请先选择采标程度"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -1939,7 +1939,18 @@
|
|||||||
XCSJBUSS: '',
|
XCSJBUSS: '',
|
||||||
} // 标准信息
|
} // 标准信息
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
filterDate(data){
|
filterDate(data){
|
||||||
|
debugger
|
||||||
if(data === undefined || data === null || data === '' || data === 'null'){
|
if(data === undefined || data === null || data === '' || data === 'null'){
|
||||||
return ""
|
return ""
|
||||||
}else if (data.toString().indexOf(",") !== -1){
|
}else if (data.toString().indexOf(",") !== -1){
|
||||||
@@ -1972,9 +1983,9 @@
|
|||||||
// 标准编号
|
// 标准编号
|
||||||
this.form.standNum = this.filterDate(this.standardCheckedList[0].standNum)
|
this.form.standNum = this.filterDate(this.standardCheckedList[0].standNum)
|
||||||
// 适用车型
|
// 适用车型
|
||||||
this.form.SYCXCLASS = this.filterDate(this.standardCheckedList[0].area)
|
this.form.SYCXCLASS = this.filterObj(this.standardCheckedList[0].area)
|
||||||
// 采标程度
|
// 采标程度
|
||||||
this.form.CBCD = this.filterDate(this.standardCheckedList[0].useLevel)
|
this.form.CYCD = this.filterDate(this.standardCheckedList[0].useLevel)
|
||||||
// 采用标准drafter
|
// 采用标准drafter
|
||||||
this.form.CYBZ = this.filterDate(this.standardCheckedList[0].esStandRelations)
|
this.form.CYBZ = this.filterDate(this.standardCheckedList[0].esStandRelations)
|
||||||
// 引用标准
|
// 引用标准
|
||||||
|
|||||||
@@ -2443,43 +2443,40 @@
|
|||||||
// } else if (val === '') {
|
// } else if (val === '') {
|
||||||
// this.form.country = []
|
// this.form.country = []
|
||||||
// }
|
// }
|
||||||
this.$refs['form'].validate((valid) => {
|
|
||||||
if (valid) {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
this.$refs['formTongGuo'].validate((valid) => {
|
if (valid) {
|
||||||
if (valid) {
|
this.isSubmit = true
|
||||||
this.isSubmit = true
|
this.saveLoading = true
|
||||||
this.saveLoading = true
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
const json = JSON.stringify(this.form);
|
||||||
const json = JSON.stringify(this.form);
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
taskIds: this.taskIds,
|
||||||
taskIds: this.taskIds,
|
userId : this.userId,
|
||||||
userId : this.userId,
|
json: json
|
||||||
json: json
|
}, {
|
||||||
}, {
|
_this: this
|
||||||
_this: this
|
}, res => {
|
||||||
}, res => {
|
if (res.success) {
|
||||||
if (res.success) {
|
this.$message.success(res.message)
|
||||||
this.$message.success(res.message)
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
this.isSubmit = false
|
||||||
this.isSubmit = false
|
this.saveLoading = false
|
||||||
this.saveLoading = false
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// if(this.formTongGuo.approvalOpinion === '1'){
|
||||||
// if(this.formTongGuo.approvalOpinion === '1'){
|
// this.$message.warning("驳回成功")
|
||||||
// this.$message.warning("驳回成功")
|
// this.isSubmit = false
|
||||||
// this.isSubmit = false
|
// // 流程提交之后,应该流转至待办任务页面
|
||||||
// // 流程提交之后,应该流转至待办任务页面
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// }else{
|
||||||
// }else{
|
// this.processCreateLaws(json)
|
||||||
// this.processCreateLaws(json)
|
// }
|
||||||
// }
|
}else {
|
||||||
}else {
|
this.$message.success(res.message)
|
||||||
this.$message.success(res.message)
|
}
|
||||||
}
|
})
|
||||||
})
|
}})
|
||||||
}})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
busVsFunc(){
|
busVsFunc(){
|
||||||
this.$http.get('sarVppsTree/list', '', {
|
this.$http.get('sarVppsTree/list', '', {
|
||||||
|
|||||||
@@ -208,9 +208,9 @@
|
|||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="采标程度" prop="CBCD" class="add-form-item form-item-disabled">
|
<el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled">
|
||||||
<el-select :popper-append-to-body="false"
|
<el-select :popper-append-to-body="false"
|
||||||
v-model="form.CBCD" placeholder="" :disabled="disabledState">
|
v-model="form.CYCD" placeholder="" :disabled="disabledState">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in cbcdOptions"
|
v-for="item in cbcdOptions"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -240,9 +240,9 @@
|
|||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="采标程度" prop="CBCD" class="add-form-item form-item-disabled">
|
<el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled">
|
||||||
<el-select :popper-append-to-body="false"
|
<el-select :popper-append-to-body="false"
|
||||||
v-model="form.CBCD" placeholder="" :disabled="disabledState">
|
v-model="form.CYCD" placeholder="" :disabled="disabledState">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in cbcdOptions"
|
v-for="item in cbcdOptions"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -276,8 +276,8 @@
|
|||||||
:disabled="true"
|
:disabled="true"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="采标程度" prop="CBCD" class="add-form-item form-item-disabled">
|
<el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled">
|
||||||
<el-select :popper-append-to-body="false" v-model="form.CBCD" placeholder="" :disabled="disabledState">
|
<el-select :popper-append-to-body="false" v-model="form.CYCD" placeholder="" :disabled="disabledState">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in cbcdOptions"
|
v-for="item in cbcdOptions"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
Reference in New Issue
Block a user