|
@@ -191,7 +191,7 @@
|
|
|
methods: {
|
|
|
close () {
|
|
|
this.addMetadataSelect = [];
|
|
|
- this.no_show_number_input = [];
|
|
|
+ this.no_show_number_input = '';
|
|
|
},
|
|
|
// 关闭Dialog窗口
|
|
|
closeFormulaHandler() {
|
|
@@ -207,7 +207,7 @@
|
|
|
},
|
|
|
// 指标元素下拉框的改变方法
|
|
|
metadataSelect(val) {
|
|
|
- console.log(val)
|
|
|
+ console.log("111111111",val)
|
|
|
let metadataCode = ''
|
|
|
let metadataName = ''
|
|
|
let metadataId = ''
|
|
@@ -235,7 +235,7 @@
|
|
|
},
|
|
|
// 新增选择下拉框对应的按钮方法
|
|
|
cell(data) {
|
|
|
- console.log("1111111",data)
|
|
|
+ console.log("22222222",data)
|
|
|
// 拿到对应的编码
|
|
|
let select_data_code = ''
|
|
|
// 拿到对应的名称
|
|
@@ -269,12 +269,15 @@
|
|
|
this.$refs['add_metadata_form'].validate(valid => {
|
|
|
if (valid) {
|
|
|
// 拿到下拉框的全部数据
|
|
|
- console.log(this.addMetadataSelect)
|
|
|
+ console.log("33333",this.addMetadataSelect)
|
|
|
//拿到输入框的数据
|
|
|
- console.log(this.no_show_number_input,this.id)
|
|
|
+ console.log("444444",this.no_show_number_input,"555555",this.id)
|
|
|
updateFormulaById({formula: this.no_show_number_input, id: this.id}).then((response) => {
|
|
|
this.$emit("dataFormulaHandler",this.normId);
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
+ this.addMetadataSelect = [];
|
|
|
+ this.number_input = '';
|
|
|
+ this.no_show_number_input = '';
|
|
|
});
|
|
|
}
|
|
|
})
|