Former-commit-id: b01f0351816e0ee0e002b730a8304b9554240a76
master
wangbing 5 years ago
parent 04e5178368
commit f8666a7b84

@ -32,6 +32,9 @@
<include refid="table"/> <include refid="table"/>
WHERE WHERE
`IS_DELETED` = 0 `IS_DELETED` = 0
<if test="request.dictName != null and request.dictName != ''">
AND `DICT_NAME` = ${r"#"}{request.dictName}
</if>
<if test="request.key != null and request.key != ''"> <if test="request.key != null and request.key != ''">
AND `KEY` = ${r"#"}{request.key} AND `KEY` = ${r"#"}{request.key}
</if> </if>

@ -32,6 +32,9 @@
<include refid="table"/> <include refid="table"/>
WHERE WHERE
"IS_DELETED" = 0 "IS_DELETED" = 0
<if test="request.dictName != null and request.dictName != ''">
AND "DICT_NAME" = ${r"#"}{request.dictName}
</if>
<if test="request.key != null and request.key != ''"> <if test="request.key != null and request.key != ''">
AND "KEY" = ${r"#"}{request.key} AND "KEY" = ${r"#"}{request.key}
</if> </if>

@ -32,6 +32,9 @@
<include refid="table"/> <include refid="table"/>
WHERE WHERE
"IS_DELETED" = 0 "IS_DELETED" = 0
<if test="request.dictName != null and request.dictName != ''">
AND DICT_NAME = ${r"#"}{request.dictName}
</if>
<if test="request.key != null and request.key != ''"> <if test="request.key != null and request.key != ''">
AND KEY = ${r"#"}{request.key} AND KEY = ${r"#"}{request.key}
</if> </if>

@ -15,6 +15,7 @@ public class DictItemFindRequest extends BaseFindRequest {
* ID * ID
*/ */
private Long id; private Long id;
/** /**
* *
*/ */

@ -413,6 +413,7 @@
nav.e(response.errors[0].message); nav.e(response.errors[0].message);
} else { } else {
this.onFind(); this.onFind();
this.$refs['form'].resetFields();
this.form.dialog = false; this.form.dialog = false;
} }
}.bind(this)) }.bind(this))
@ -422,6 +423,7 @@
nav.e(response.errors[0].message); nav.e(response.errors[0].message);
} else { } else {
this.onFind(); this.onFind();
this.$refs['form'].resetFields();
this.form.dialog = false; this.form.dialog = false;
} }
}.bind(this)) }.bind(this))

@ -66,7 +66,7 @@
</el-tooltip> </el-tooltip>
<el-tooltip effect="dark" content="Excel导入" placement="bottom"> <el-tooltip effect="dark" content="Excel导入" placement="bottom">
<el-button size="small" class="el-icon-upload2" @click="onImport"></el-button> <el-button size="small" icon="el-icon-upload2" @click="onImport"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip effect="dark" content="批量删除" placement="bottom"> <el-tooltip effect="dark" content="批量删除" placement="bottom">

@ -64,7 +64,7 @@
</el-tooltip> </el-tooltip>
<el-tooltip effect="dark" content="Excel导入" placement="bottom"> <el-tooltip effect="dark" content="Excel导入" placement="bottom">
<el-button size="small" class="el-icon-upload2" @click="onImport"></el-button> <el-button size="small" icon="el-icon-upload2" @click="onImport"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip effect="dark" content="批量删除" placement="bottom"> <el-tooltip effect="dark" content="批量删除" placement="bottom">

Loading…
Cancel
Save

Powered by TurnKey Linux.