认证-参数项收集-工程接口人选择清空下拉框

This commit is contained in:
liyawei
2022-08-17 12:16:05 +08:00
parent 1a8f2475c7
commit e9138be454
@@ -455,6 +455,7 @@
console.log(res) console.log(res)
if (res.data.success) { if (res.data.success) {
_this.$message.success(_this.$t('OperationSuccessful')) _this.$message.success(_this.$t('OperationSuccessful'))
// this.$refs['ruleFormOne'].resetFields()
_this.areaVisiblezr = false _this.areaVisiblezr = false
this.getLoginUserType() this.getLoginUserType()
} else { } else {
@@ -495,6 +496,7 @@
console.log(res) console.log(res)
if (res.data.success) { if (res.data.success) {
_this.$message.success(_this.$t('OperationSuccessful')) _this.$message.success(_this.$t('OperationSuccessful'))
this.$refs['ruleForm'].resetFields()
_this.areaVisible = false _this.areaVisible = false
this.getLoginUserType() this.getLoginUserType()
} else { } else {
@@ -518,23 +520,25 @@
}, },
// 点击工程接口人的详情人员 有权限 // 点击工程接口人的详情人员 有权限
areaOfResponsibility(record) { areaOfResponsibility(record) {
this.areaVisible = true
// this.$refs.ruleForm.clearValidate() // this.$refs.ruleForm.clearValidate()
this.$nextTick(() => { this.$nextTick(() => {
this.Dateline = { ...this.Dateline } this.Dateline = { ...this.Dateline }
this.getquerySdtList(record) this.getquerySdtList(record)
this.$refs.ruleForm.clearValidate() this.$refs.ruleForm.clearValidate()
}) })
this.areaVisible = true
}, },
// 点击责任领域的详情人员 有权限 // 点击责任领域的详情人员 有权限
ondataValueTobe(record) { ondataValueTobe(record) {
this.areaVisiblezr = true
// this.$refs.ruleForm.clearValidate() // this.$refs.ruleForm.clearValidate()
this.$nextTick(() => { this.$nextTick(() => {
this.Dateline = { ...this.Dateline } this.Dateline = { ...this.Dateline }
this.getquerySdtId = record.id this.getquerySdtId = record.id
this.$refs.ruleFormOne.clearValidate() this.$refs.ruleFormOne.clearValidate()
}) })
this.areaVisiblezr = true
}, },
dataValueTobeinitiated() { dataValueTobeinitiated() {
this.$message.warning(this.$t('certifiedEngineer') + this.$t('and') + this.$t('Statusis') + this.$t('CollectionInitiated') + this.$t('ReturnedPerson') + this.$t('alteration') + this.$t('toHavePermission')) this.$message.warning(this.$t('certifiedEngineer') + this.$t('and') + this.$t('Statusis') + this.$t('CollectionInitiated') + this.$t('ReturnedPerson') + this.$t('alteration') + this.$t('toHavePermission'))