File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -504,11 +504,7 @@ export default {
504
504
cancelButtonText: ' 取消' ,
505
505
type: ' warning'
506
506
}).then (function () {
507
- if (Ids .length > 1 ) {
508
- return delSysJob (Ids .shift (), { ' ids' : Ids })
509
- } else {
510
- return delSysJob (Ids, { ' ids' : [] })
511
- }
507
+ return delSysJob ({ ' ids' : Ids })
512
508
}).then (() => {
513
509
this .getList ()
514
510
this .msgSuccess (' 删除成功' )
Original file line number Diff line number Diff line change @@ -212,6 +212,10 @@ export default {
212
212
this .columns = res .data .list
213
213
this .info = res .data .info
214
214
215
+ this .info .isDataScope = this .info .isDataScope .toString ()
216
+ this .info .isActions = this .info .isActions .toString ()
217
+ this .info .isAuth = this .info .isAuth .toString ()
218
+
215
219
this .columns .forEach (item => {
216
220
this .tableTree .filter (function (e ) {
217
221
if (e .tableId === item .fkTableName ) {
Original file line number Diff line number Diff line change 63
63
<el-form-item prop =" isDataScope" >
64
64
<span slot =" label" >是否认证</span >
65
65
<el-select v-model =" info.isAuth" >
66
- <el-option label =" true" value =" true " />
67
- <el-option label =" false" value =" false " />
66
+ <el-option label =" true" value =" 1 " />
67
+ <el-option label =" false" value =" 2 " />
68
68
69
69
</el-select >
70
70
</el-form-item >
73
73
<el-form-item prop =" isDataScope" >
74
74
<span slot =" label" >数据权限</span >
75
75
<el-select v-model =" info.isDataScope" >
76
- <el-option label =" true" value =" true " />
77
- <el-option label =" false" value =" false " />
76
+ <el-option label =" true" value =" 1 " />
77
+ <el-option label =" false" value =" 2 " />
78
78
79
79
</el-select >
80
80
</el-form-item >
88
88
</el-tooltip >
89
89
</span >
90
90
<el-select v-model =" info.isActions" >
91
- <el-option label =" true" value =" true " />
92
- <el-option label =" false" value =" false " />
91
+ <el-option label =" true" value =" 1 " />
92
+ <el-option label =" false" value =" 2 " />
93
93
94
94
</el-select >
95
95
</el-form-item >
You can’t perform that action at this time.
0 commit comments