|
|
@@ -2,7 +2,7 @@
|
|
|
<div>
|
|
|
<basic-container v-show="isShow">
|
|
|
<avue-crud
|
|
|
- :option="optionBack"
|
|
|
+ :option="option"
|
|
|
:table-loading="loading"
|
|
|
:data="data"
|
|
|
:page.sync="page"
|
|
|
@@ -2826,13 +2826,11 @@ export default {
|
|
|
* 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
|
|
|
* 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
|
|
|
*/
|
|
|
- console.log("saveColumn.option", option, this[option]);
|
|
|
- console.log("saveColumn.optionBack", optionBack, this[optionBack]);
|
|
|
// wfg option -> optionBack ?
|
|
|
- const inSave = await this.saveColumnData(this.getColumnName(code), this[optionBack]);
|
|
|
+ const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
|
|
|
if (inSave) {
|
|
|
this.$message.success("保存成功");
|
|
|
- //关闭窗口 s
|
|
|
+ //关闭窗口
|
|
|
this.$refs[ref].$refs.dialogColumn.columnBox = false;
|
|
|
this.searchReset();
|
|
|
}
|