1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* Sptsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"sptstm" :Utils.defaultFunction,
"dlaxq" :Utils.defaultFunction,
"usfmod.labtxt" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"usfmod.shwflt" :Utils.defaultFunction,
"dlmft" :Utils.defaultFunction,
"butimg" :Utils.defaultFunction,
"dflg" :Utils.defaultFunction,
"yptinf" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
"chkinc" :Utils.defaultFunction,
"chkdzt" :Utils.defaultFunction,
"chkpen" :Utils.defaultFunction,
"chkcor" :Utils.defaultFunction,
"chkaut" :Utils.defaultFunction,
"chkdel" :Utils.defaultFunction,
"chktco" :Utils.defaultFunction,
// "chkcan": updateTable,
}
// function defaultCheckbox(rule, value, callback) {
// const that = this;
// if (that.model[rule.field] === "") {
// return
// }
// if(that.model[rule.field] === false){
// that.model[rule.field] = "";
// }
// that.executeDefault("sptstm").then(res => {
// //TODO 处理数据逻辑
// that.$refs.Menu.stmData.data = res.data.sptstm.rows;
// })
// }
// function updateTable(rule, value, callback){
// const that = this;
// if (that.model[rule.field] === true && that.$refs.Menu.stmData.columns[3] === "7 6 \"Creation\" 101 20 DateTime 1") {
// that.$refs.Menu.stmData.columns.splice(3, 0, "18 5 \"MT\" 100");
// }
// if (that.model[rule.field] === false && that.$refs.Menu.stmData.columns[3] === "18 5 \"MT\" 100") {
// that.$refs.Menu.stmData.columns.splice(3, 1);
// }
// }