Commit bce3e8fa by 1377875331@qq.com

sptsel多选框修改

parent 8abf4dc3
...@@ -17,6 +17,7 @@ export default { ...@@ -17,6 +17,7 @@ export default {
"yptinf": defaultYptinf, "yptinf": defaultYptinf,
"usfmod.usr.extkey": defaultUsfmodUsrExtkey, "usfmod.usr.extkey": defaultUsfmodUsrExtkey,
"chkinc": defaultCheckbox, "chkinc": defaultCheckbox,
"chkdzt": defaultCheckbox,
"chkpen": defaultCheckbox, "chkpen": defaultCheckbox,
"chkcor": defaultCheckbox, "chkcor": defaultCheckbox,
"chkaut": defaultCheckbox, "chkaut": defaultCheckbox,
...@@ -53,10 +54,17 @@ async function defaultYptinf() { ...@@ -53,10 +54,17 @@ async function defaultYptinf() {
} }
function defaultUsfmodUsrExtkey() { function defaultUsfmodUsrExtkey() {
} }
async function defaultCheckbox() { function defaultCheckbox(rule, value, callback) {
const that = this; const that = this;
if (that.model[rule.field] === "") {
return
}
if(that.model[rule.field] === false){
that.model[rule.field] = "";
}
that.executeDefault("sptstm").then(res => { that.executeDefault("sptstm").then(res => {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
that.$refs.Menu.stmData.data = res.data.sptstm.rows; that.$refs.Menu.stmData.data = res.data.sptstm.rows;
}) })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment