52385 项目合规评估流程--填不合规项,不填完成时间,目前能提交
This commit is contained in:
@@ -128,8 +128,8 @@
|
||||
</el-radio-group>
|
||||
<el-button @click="form.isRelateAccess = ''" v-show="form.isRelateAccess !== null>0" size="mini" type="primary" circle icon="el-icon-close" style="margin-left: 10px;margin-bottom: 3px"></el-button>
|
||||
</el-form-item>
|
||||
<el-form-item v-show="form.standInData=='1'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.standSystem" placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
||||
<tree-select-new
|
||||
:key="key"
|
||||
:multiple=false
|
||||
@@ -148,9 +148,9 @@
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="归档位置" class="add-form-item form-item-disabled">
|
||||
<el-form-item label="归档位置" prop="treeListName" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
style="display: none"
|
||||
v-show="false"
|
||||
v-model="form.treeListId"
|
||||
></el-input>
|
||||
<el-tooltip effect="dark" :content=form.treeListName placement="top-start">
|
||||
@@ -1662,6 +1662,12 @@ export default {
|
||||
replaceLoading: true,
|
||||
replacePage: 1,
|
||||
rules: {
|
||||
standSystem: [
|
||||
{required: true, message: '请选择标准体系', trigger: 'change'}
|
||||
],
|
||||
treeListName: [
|
||||
{required: true, message: '请选择归档位置', trigger: 'blur'}
|
||||
],
|
||||
standSort: [
|
||||
{required: true, message: '请选择标准类别', trigger: 'change'}
|
||||
],
|
||||
@@ -2501,6 +2507,9 @@ export default {
|
||||
this.form.treeListName = checkedData.menuName
|
||||
this.form.treeListId = checkedData.id
|
||||
}
|
||||
this.$nextTick(_ => {
|
||||
this.$refs.form.validateField('treeListName')
|
||||
})
|
||||
this.modalShowTree = false
|
||||
}
|
||||
|
||||
@@ -2940,7 +2949,9 @@ export default {
|
||||
this.modelFunc()
|
||||
},
|
||||
watch: {
|
||||
|
||||
'form.treeListName'(val) {
|
||||
console.log(this.form.treeListName)
|
||||
},
|
||||
'form.country': {
|
||||
handler(val) {
|
||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||
|
||||
@@ -860,8 +860,9 @@ export default {
|
||||
return
|
||||
}else{
|
||||
for (let i = 0; i < this.dataList.length; i++) {
|
||||
if (this.dataList[i].complianceReasons !== "" || (this.dataList[i].noCompliance !== "" && this.dataList[i].countermeasures !== "" && this.dataList[i].completionTime !== undefined) || (this.dataList[i].complianceReasons === "" && this.dataList[i].noCompliance === "" && this.dataList[i].countermeasures === "" && this.dataList[i].completionTime === undefined)) {
|
||||
if (this.dataList[i].complianceReasons || this.dataList[i].remarks || (this.dataList[i].noCompliance && this.dataList[i].countermeasures && this.dataList[i].completionTime !== undefined) || (this.dataList[i].complianceReasons === "" && this.dataList[i].noCompliance && this.dataList[i].countermeasures && this.dataList[i].completionTime === undefined)) {
|
||||
this.comFlag = 0;
|
||||
return;
|
||||
} else {
|
||||
this.comFlag++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user