饮用水县级字典修复
This commit is contained in:
@@ -253,7 +253,7 @@ export default {
|
||||
// 是否显示编辑弹窗
|
||||
showEdit: false,
|
||||
// 表单数据
|
||||
form: {},
|
||||
form: {waterSourceType:''},
|
||||
loading: false,
|
||||
rules: {
|
||||
// year: [{required: true, message: '请输入年份'}],
|
||||
@@ -296,6 +296,7 @@ export default {
|
||||
await this.$refs.form.validate();
|
||||
const hide = this.$message.loading('请求中..', 0);
|
||||
const form = this.form;
|
||||
form.waterSourceType='2';
|
||||
console.log(form);
|
||||
if (form.drinkingWaterDictId) {
|
||||
updateDrinkingWaterCountyBottomDict(form)
|
||||
|
||||
@@ -248,7 +248,7 @@ export default {
|
||||
// 是否显示编辑弹窗
|
||||
showEdit: false,
|
||||
// 表单数据
|
||||
form: {},
|
||||
form: {waterSourceType:''},
|
||||
loading: false,
|
||||
rules: {
|
||||
// year: [{required: true, message: '请输入年份'}],
|
||||
@@ -291,6 +291,7 @@ export default {
|
||||
await this.$refs.form.validate();
|
||||
const hide = this.$message.loading('请求中..', 0);
|
||||
const form = this.form;
|
||||
form.waterSourceType='1';
|
||||
console.log(form);
|
||||
if (form.drinkingWaterDictId) {
|
||||
updateDrinkingWaterCountyDict(form)
|
||||
|
||||
Reference in New Issue
Block a user