centaline-data-driven 1.6.45 → 1.6.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/release-log.md +7 -0
- package/src/SearchList.vue +2 -2
- package/src/centaline/dialogList/src/dialog.vue +8 -2
- package/src/centaline/dynamicForm/src/dynamicForm.vue +3 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +3 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +33 -2
- package/src/centaline/dynamicSosNew/src/dynamicSosNew.vue +1 -0
- package/src/centaline/loader/src/ctl/Button.js +1 -1
- package/src/centaline/loader/src/ctl/Cb.js +1 -2
- package/src/centaline/loader/src/ctl/CellLayout.js +1 -1
- package/src/centaline/loader/src/ctl/Checkbox.js +1 -2
- package/src/centaline/loader/src/ctl/Compound.js +1 -1
- package/src/centaline/loader/src/ctl/Form.js +2 -2
- package/src/centaline/loader/src/ctl/FormList.js +1 -1
- package/src/centaline/loader/src/ctl/SearchTable.js +4 -4
- package/src/centaline/loader/src/ctl/SosNew.js +13 -1
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +77 -24
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
- package/centaline-data-driven-1.6.45.tgz +0 -0
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/SearchList.vue
CHANGED
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
|
|
20
20
|
<!-- CCES -->
|
|
21
21
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/agentuserlist/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/agentuserlist/getList'"></ct-searchlist> -->
|
|
22
|
-
|
|
22
|
+
<ct-searchlist :apiParam="para" :searchConditionApi="'/contractmanage/ContractList/getLayoutOfSearch'" :searchDataApi="'/contractmanage/ContractList/getList'"></ct-searchlist>
|
|
23
23
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/sunexpensemanage/sunexpenserecordlist/getLayoutOfSearch'" :searchDataApi="'/sunexpensemanage/sunexpenserecordlist/getList'"></ct-searchlist> -->
|
|
24
24
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/workwxmanage/WorkWXApplicationList/getLayoutOfSearch'" :searchDataApi="'/workwxmanage/WorkWXApplicationList/getList'"></ct-searchlist> -->
|
|
25
25
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/UrgentResponsiblePersonList/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/UrgentResponsiblePersonList/getList'"></ct-searchlist> -->
|
|
26
26
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
|
|
27
27
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/MyCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/MyCustomerList/getList'"></ct-searchlist> -->
|
|
28
|
-
<ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/CustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/CustomerList/getList'"></ct-searchlist>
|
|
28
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/CustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/CustomerList/getList'"></ct-searchlist> -->
|
|
29
29
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/customerfollowlist/getLayoutOfSearch'" :searchDataApi="'/customermanage/customerfollowlist/getList'"></ct-searchlist> -->
|
|
30
30
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
31
31
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
pane:null,
|
|
14
14
|
captionBarButtons:[],
|
|
15
15
|
modelSelf:null,
|
|
16
|
+
submitCancelData:null,
|
|
16
17
|
};
|
|
17
18
|
},
|
|
18
19
|
activated(){
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
close() {
|
|
31
32
|
this.$emit('close', this);
|
|
32
33
|
if (this.vmodel.content[0].on && typeof this.vmodel.content[0].on["closeDialog"] === "function") {
|
|
33
|
-
this.vmodel.content[0].on["closeDialog"]();
|
|
34
|
+
this.vmodel.content[0].on["closeDialog"](this.submitCancelData);
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
bodyClickHandler(ev) {
|
|
@@ -196,13 +197,18 @@
|
|
|
196
197
|
mySelf.modelSelf = model
|
|
197
198
|
}
|
|
198
199
|
}
|
|
199
|
-
|
|
200
200
|
//加载失败关闭弹框
|
|
201
201
|
if (typeof item.on.failLoad === "undefined") {
|
|
202
202
|
item.on.failLoad = () => {
|
|
203
203
|
mySelf.close();
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
+
//加载submit事件后,没有关闭弹框
|
|
207
|
+
if (typeof item.on.submitCancel === "undefined") {
|
|
208
|
+
item.on.submitCancel = (ev) => {
|
|
209
|
+
mySelf.submitCancelData = ev;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
206
212
|
//此行代码是为了防止弹出的窗口高度 大于父级页面的高度
|
|
207
213
|
//暂时注释 高度由接口控制
|
|
208
214
|
var ph=0;
|
|
@@ -275,6 +275,9 @@ import dynamicElement from '../../mixins/dynamicElement';
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
self.$emit('submit', { formData: self.model, responseData: data });
|
|
278
|
+
},()=>{
|
|
279
|
+
self.$emit('submitCancel', { formData: self.model, responseData: data });
|
|
280
|
+
self.init();
|
|
278
281
|
}).catch(() => {
|
|
279
282
|
self.init();
|
|
280
283
|
});
|
|
@@ -1596,8 +1596,39 @@ export default {
|
|
|
1596
1596
|
self.getPage(1);
|
|
1597
1597
|
self.$common.closeDialog(dialogOption.dialog);
|
|
1598
1598
|
},
|
|
1599
|
-
closeDialog() {
|
|
1600
|
-
|
|
1599
|
+
closeDialog(ev) {
|
|
1600
|
+
if(ev){
|
|
1601
|
+
if (ev.responseData.notification == 24) {
|
|
1602
|
+
//更新列
|
|
1603
|
+
self.refreshTableColumns();
|
|
1604
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
1605
|
+
}
|
|
1606
|
+
else {
|
|
1607
|
+
if (!field.flagFreshCurrentRow && !field.flagAddRowAfterAction) {
|
|
1608
|
+
self.model.doAction(ev);
|
|
1609
|
+
self.$nextTick(() => {
|
|
1610
|
+
let response = ev;
|
|
1611
|
+
if (response.responseData) {
|
|
1612
|
+
response = response.responseData;
|
|
1613
|
+
}
|
|
1614
|
+
if (response.notification === 4 || response.notification === 15) {
|
|
1615
|
+
self.loadStats();
|
|
1616
|
+
}
|
|
1617
|
+
});
|
|
1618
|
+
}
|
|
1619
|
+
self.$forceUpdate();
|
|
1620
|
+
if (self.$refs.footer) {
|
|
1621
|
+
self.$refs.footer.$forceUpdate();
|
|
1622
|
+
}
|
|
1623
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
1624
|
+
self.updateCurrentRow(field, ev);
|
|
1625
|
+
if(ev.responseData && ev.responseData.notification === 17){
|
|
1626
|
+
self.timeoutHandle=setTimeout(() => {
|
|
1627
|
+
self.routerClickHandler(self.model.getRtnRouter(ev.responseData.content), {});
|
|
1628
|
+
});
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1601
1632
|
},
|
|
1602
1633
|
},
|
|
1603
1634
|
},
|
|
@@ -3,9 +3,8 @@ import Base from './Base';
|
|
|
3
3
|
import valid from '../../../validate/index';
|
|
4
4
|
import Axios from 'axios';
|
|
5
5
|
const Cb = function (source, callBack) {
|
|
6
|
-
var self = this;
|
|
7
6
|
var init = function (data) {
|
|
8
|
-
|
|
7
|
+
let rtn = {
|
|
9
8
|
get label() {
|
|
10
9
|
let l='';
|
|
11
10
|
if(source.controlLabel){
|
|
@@ -4,9 +4,8 @@ import valid from '../../../validate/index';
|
|
|
4
4
|
import Axios from 'axios';
|
|
5
5
|
import Vue from 'vue';
|
|
6
6
|
const box = function (source, callBack) {
|
|
7
|
-
var self = this;
|
|
8
7
|
var init = function (data) {
|
|
9
|
-
|
|
8
|
+
let rtn = {
|
|
10
9
|
checkedAllCode:'-99999',
|
|
11
10
|
_flagCheckedAll:null,
|
|
12
11
|
get flagCheckedAll() {
|
|
@@ -944,8 +944,8 @@ const Form = function (source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
944
944
|
Vue.prototype.$api.postHandler(common.globalUri(), { "action": source, "para": apiParam }).then(
|
|
945
945
|
function (response) {
|
|
946
946
|
if (response.rtnCode === Enum.ReturnCode.Successful) {
|
|
947
|
-
|
|
948
|
-
|
|
947
|
+
let data = response.content;
|
|
948
|
+
let rtn = init(data);
|
|
949
949
|
if (callBack) {
|
|
950
950
|
callBack(rtn);
|
|
951
951
|
}
|
|
@@ -6,7 +6,7 @@ import Axios from 'axios';
|
|
|
6
6
|
import Enum from './lib/Enum';
|
|
7
7
|
const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSearchData, postThenHandler,action) {
|
|
8
8
|
var init = function (source) {
|
|
9
|
-
|
|
9
|
+
let rtn = {
|
|
10
10
|
$vue: null,
|
|
11
11
|
isLoading: false,
|
|
12
12
|
searchModel: searchModel,
|
|
@@ -975,7 +975,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
975
975
|
},
|
|
976
976
|
//检查是否关闭tab后触发来源页面操作
|
|
977
977
|
checkCloseTabThen(notification) {
|
|
978
|
-
|
|
978
|
+
let rtn = false;
|
|
979
979
|
if (notification == Enum.ActionType.CloseTabThenDelete ||
|
|
980
980
|
notification == Enum.ActionType.CloseTabThenNew ||
|
|
981
981
|
notification == Enum.ActionType.CloseTabThenUpdate) {
|
|
@@ -1472,7 +1472,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
1472
1472
|
}).then(
|
|
1473
1473
|
function (response) {
|
|
1474
1474
|
if (response.rtnCode === Enum.ReturnCode.Successful) {
|
|
1475
|
-
|
|
1475
|
+
let rtn = init(response);
|
|
1476
1476
|
if (callBack) {
|
|
1477
1477
|
callBack(rtn);
|
|
1478
1478
|
}
|
|
@@ -1486,7 +1486,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
1486
1486
|
);
|
|
1487
1487
|
}
|
|
1488
1488
|
else {
|
|
1489
|
-
|
|
1489
|
+
let rtn = init(data);
|
|
1490
1490
|
if (callBack) {
|
|
1491
1491
|
callBack(rtn);
|
|
1492
1492
|
}
|
|
@@ -20,7 +20,19 @@ const SosNew = function (source, moreActionRouter) {
|
|
|
20
20
|
}
|
|
21
21
|
return '';
|
|
22
22
|
},
|
|
23
|
-
|
|
23
|
+
//重新赋值
|
|
24
|
+
setCode() {
|
|
25
|
+
let currentOptions = this.options.find((v) => {
|
|
26
|
+
return v['code'] == rtn.value;
|
|
27
|
+
});
|
|
28
|
+
if (currentOptions) {
|
|
29
|
+
source.name1 = currentOptions['name']
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
source.name1 = ''
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
|
|
24
36
|
get parentName() {
|
|
25
37
|
return source.parentField;
|
|
26
38
|
},
|
package/src/main.js
CHANGED
|
@@ -76,7 +76,7 @@ Vue.use(centaline, {
|
|
|
76
76
|
estateId: '',
|
|
77
77
|
|
|
78
78
|
authObject: '{"currentEstate":{"estateId":"241112160400DF3DC1EB63A14A1DBBF4","estateName":"%E6%B5%8B%E8%AF%95%E6%8C%89%E7%82%B9%E4%BD%8Dhq","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"6TnEgk","time":1749115399017,"sign":"3a50eb5f08b7bd75b2e7c99f32fa220e","systemSource":"CCESU","empNo":"hqxtgl","empId":"2411121446336B97FBEB7FD54905A903","clientVersion":"12.5","empName":"hq%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86","roleName":"%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E6%9C%AA%E5%8C%B9%E9%85%8DCCHR%E4%B8%ADHROC%E9%83%A8%E9%97%A8%2F%E9%9B%86%E5%9B%A2IT%2FCCES%E7%BB%84"}',
|
|
79
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.
|
|
79
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImU0Y2MyMmVjLTA2OGEtNDE1Yi1hNzY3LTE0ZDBkODBkNTMxMCJ9.Rqk2TL4Q8rPqFh8LvDP5nAMDzRCzVia_DnrSXi5qnV8NoIkcl-nrRS4DRS-yRapMS5h8biWjI1tcFsneDJNvFQ',
|
|
80
80
|
};
|
|
81
81
|
},
|
|
82
82
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -11315,7 +11315,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
11315
11315
|
"use strict";
|
|
11316
11316
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__ = __webpack_require__(188);
|
|
11317
11317
|
/* unused harmony namespace reexport */
|
|
11318
|
-
/* harmony import */ var
|
|
11318
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_13a4961a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__ = __webpack_require__(622);
|
|
11319
11319
|
function injectStyle (ssrContext) {
|
|
11320
11320
|
__webpack_require__(616)
|
|
11321
11321
|
}
|
|
@@ -11335,7 +11335,7 @@ var __vue_scopeId__ = null
|
|
|
11335
11335
|
var __vue_module_identifier__ = null
|
|
11336
11336
|
var Component = normalizeComponent(
|
|
11337
11337
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicForm_vue__["a" /* default */],
|
|
11338
|
-
|
|
11338
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_13a4961a_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicForm_vue__["a" /* default */],
|
|
11339
11339
|
__vue_template_functional__,
|
|
11340
11340
|
__vue_styles__,
|
|
11341
11341
|
__vue_scopeId__,
|
|
@@ -11417,7 +11417,7 @@ module.exports = {};
|
|
|
11417
11417
|
"use strict";
|
|
11418
11418
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchScreen_vue__ = __webpack_require__(158);
|
|
11419
11419
|
/* unused harmony namespace reexport */
|
|
11420
|
-
/* harmony import */ var
|
|
11420
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6533649b_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchScreen_vue__ = __webpack_require__(538);
|
|
11421
11421
|
function injectStyle (ssrContext) {
|
|
11422
11422
|
__webpack_require__(536)
|
|
11423
11423
|
}
|
|
@@ -11437,7 +11437,7 @@ var __vue_scopeId__ = null
|
|
|
11437
11437
|
var __vue_module_identifier__ = null
|
|
11438
11438
|
var Component = normalizeComponent(
|
|
11439
11439
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchScreen_vue__["a" /* default */],
|
|
11440
|
-
|
|
11440
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6533649b_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchScreen_vue__["a" /* default */],
|
|
11441
11441
|
__vue_template_functional__,
|
|
11442
11442
|
__vue_styles__,
|
|
11443
11443
|
__vue_scopeId__,
|
|
@@ -13876,6 +13876,18 @@ var SosNew = function SosNew(source, moreActionRouter) {
|
|
|
13876
13876
|
}
|
|
13877
13877
|
return '';
|
|
13878
13878
|
},
|
|
13879
|
+
//重新赋值
|
|
13880
|
+
setCode: function setCode() {
|
|
13881
|
+
var currentOptions = this.options.find(function (v) {
|
|
13882
|
+
return v['code'] == rtn.value;
|
|
13883
|
+
});
|
|
13884
|
+
if (currentOptions) {
|
|
13885
|
+
source.name1 = currentOptions['name'];
|
|
13886
|
+
} else {
|
|
13887
|
+
source.name1 = '';
|
|
13888
|
+
}
|
|
13889
|
+
},
|
|
13890
|
+
|
|
13879
13891
|
|
|
13880
13892
|
get parentName() {
|
|
13881
13893
|
return source.parentField;
|
|
@@ -14470,7 +14482,6 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
|
14470
14482
|
|
|
14471
14483
|
|
|
14472
14484
|
var box = function box(source, callBack) {
|
|
14473
|
-
var self = this;
|
|
14474
14485
|
var init = function init(data) {
|
|
14475
14486
|
var rtn = {
|
|
14476
14487
|
checkedAllCode: '-99999',
|
|
@@ -18604,7 +18615,8 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
18604
18615
|
contentTop: 0,
|
|
18605
18616
|
pane: null,
|
|
18606
18617
|
captionBarButtons: [],
|
|
18607
|
-
modelSelf: null
|
|
18618
|
+
modelSelf: null,
|
|
18619
|
+
submitCancelData: null
|
|
18608
18620
|
};
|
|
18609
18621
|
},
|
|
18610
18622
|
activated: function activated() {
|
|
@@ -18623,7 +18635,7 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
18623
18635
|
close: function close() {
|
|
18624
18636
|
this.$emit('close', this);
|
|
18625
18637
|
if (this.vmodel.content[0].on && typeof this.vmodel.content[0].on["closeDialog"] === "function") {
|
|
18626
|
-
this.vmodel.content[0].on["closeDialog"]();
|
|
18638
|
+
this.vmodel.content[0].on["closeDialog"](this.submitCancelData);
|
|
18627
18639
|
}
|
|
18628
18640
|
},
|
|
18629
18641
|
bodyClickHandler: function bodyClickHandler(ev) {
|
|
@@ -18768,13 +18780,18 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
18768
18780
|
mySelf.modelSelf = model;
|
|
18769
18781
|
};
|
|
18770
18782
|
}
|
|
18771
|
-
|
|
18772
18783
|
//加载失败关闭弹框
|
|
18773
18784
|
if (typeof item.on.failLoad === "undefined") {
|
|
18774
18785
|
item.on.failLoad = function () {
|
|
18775
18786
|
mySelf.close();
|
|
18776
18787
|
};
|
|
18777
18788
|
}
|
|
18789
|
+
//加载submit事件后,没有关闭弹框
|
|
18790
|
+
if (typeof item.on.submitCancel === "undefined") {
|
|
18791
|
+
item.on.submitCancel = function (ev) {
|
|
18792
|
+
mySelf.submitCancelData = ev;
|
|
18793
|
+
};
|
|
18794
|
+
}
|
|
18778
18795
|
//此行代码是为了防止弹出的窗口高度 大于父级页面的高度
|
|
18779
18796
|
//暂时注释 高度由接口控制
|
|
18780
18797
|
var ph = 0;
|
|
@@ -20165,6 +20182,9 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
20165
20182
|
}
|
|
20166
20183
|
}
|
|
20167
20184
|
self.$emit('submit', { formData: self.model, responseData: data });
|
|
20185
|
+
}, function () {
|
|
20186
|
+
self.$emit('submitCancel', { formData: self.model, responseData: data });
|
|
20187
|
+
self.init();
|
|
20168
20188
|
}).catch(function () {
|
|
20169
20189
|
self.init();
|
|
20170
20190
|
});
|
|
@@ -20726,7 +20746,7 @@ exports.f = __webpack_require__(29) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
20726
20746
|
"use strict";
|
|
20727
20747
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(160);
|
|
20728
20748
|
/* unused harmony namespace reexport */
|
|
20729
|
-
/* harmony import */ var
|
|
20749
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_30a27ceb_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(577);
|
|
20730
20750
|
function injectStyle (ssrContext) {
|
|
20731
20751
|
__webpack_require__(539)
|
|
20732
20752
|
}
|
|
@@ -20746,7 +20766,7 @@ var __vue_scopeId__ = null
|
|
|
20746
20766
|
var __vue_module_identifier__ = null
|
|
20747
20767
|
var Component = normalizeComponent(
|
|
20748
20768
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
20749
|
-
|
|
20769
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_30a27ceb_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
20750
20770
|
__vue_template_functional__,
|
|
20751
20771
|
__vue_styles__,
|
|
20752
20772
|
__vue_scopeId__,
|
|
@@ -22274,8 +22294,38 @@ var Component = normalizeComponent(
|
|
|
22274
22294
|
self.getPage(1);
|
|
22275
22295
|
self.$common.closeDialog(dialogOption.dialog);
|
|
22276
22296
|
},
|
|
22277
|
-
closeDialog: function closeDialog() {
|
|
22278
|
-
|
|
22297
|
+
closeDialog: function closeDialog(ev) {
|
|
22298
|
+
if (ev) {
|
|
22299
|
+
if (ev.responseData.notification == 24) {
|
|
22300
|
+
//更新列
|
|
22301
|
+
self.refreshTableColumns();
|
|
22302
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
22303
|
+
} else {
|
|
22304
|
+
if (!field.flagFreshCurrentRow && !field.flagAddRowAfterAction) {
|
|
22305
|
+
self.model.doAction(ev);
|
|
22306
|
+
self.$nextTick(function () {
|
|
22307
|
+
var response = ev;
|
|
22308
|
+
if (response.responseData) {
|
|
22309
|
+
response = response.responseData;
|
|
22310
|
+
}
|
|
22311
|
+
if (response.notification === 4 || response.notification === 15) {
|
|
22312
|
+
self.loadStats();
|
|
22313
|
+
}
|
|
22314
|
+
});
|
|
22315
|
+
}
|
|
22316
|
+
self.$forceUpdate();
|
|
22317
|
+
if (self.$refs.footer) {
|
|
22318
|
+
self.$refs.footer.$forceUpdate();
|
|
22319
|
+
}
|
|
22320
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
22321
|
+
self.updateCurrentRow(field, ev);
|
|
22322
|
+
if (ev.responseData && ev.responseData.notification === 17) {
|
|
22323
|
+
self.timeoutHandle = setTimeout(function () {
|
|
22324
|
+
self.routerClickHandler(self.model.getRtnRouter(ev.responseData.content), {});
|
|
22325
|
+
});
|
|
22326
|
+
}
|
|
22327
|
+
}
|
|
22328
|
+
}
|
|
22279
22329
|
}
|
|
22280
22330
|
}
|
|
22281
22331
|
}]
|
|
@@ -29777,6 +29827,9 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
29777
29827
|
}
|
|
29778
29828
|
}
|
|
29779
29829
|
self.$emit('submit', { formData: self.model, responseData: data });
|
|
29830
|
+
}, function () {
|
|
29831
|
+
self.$emit('submitCancel', { formData: self.model, responseData: data });
|
|
29832
|
+
self.init();
|
|
29780
29833
|
}).catch(function () {
|
|
29781
29834
|
self.init();
|
|
29782
29835
|
});
|
|
@@ -59355,7 +59408,6 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
|
59355
59408
|
|
|
59356
59409
|
|
|
59357
59410
|
var Cb = function Cb(source, callBack) {
|
|
59358
|
-
var self = this;
|
|
59359
59411
|
var init = function init(data) {
|
|
59360
59412
|
var rtn = {
|
|
59361
59413
|
get label() {
|
|
@@ -62231,8 +62283,8 @@ var Form = function Form(source, callBack, apiParam, failCallBack, isFormList) {
|
|
|
62231
62283
|
apiParam = apiParam ? apiParam : {};
|
|
62232
62284
|
__WEBPACK_IMPORTED_MODULE_10_vue___default.a.prototype.$api.postHandler(__WEBPACK_IMPORTED_MODULE_8__common__["default"].globalUri(), { "action": source, "para": apiParam }).then(function (response) {
|
|
62233
62285
|
if (response.rtnCode === __WEBPACK_IMPORTED_MODULE_5__lib_Enum__["default"].ReturnCode.Successful) {
|
|
62234
|
-
var
|
|
62235
|
-
var rtn = init(
|
|
62286
|
+
var _data = response.content;
|
|
62287
|
+
var rtn = init(_data);
|
|
62236
62288
|
if (callBack) {
|
|
62237
62289
|
callBack(rtn);
|
|
62238
62290
|
}
|
|
@@ -68561,6 +68613,7 @@ var ctSpan = {
|
|
|
68561
68613
|
},
|
|
68562
68614
|
|
|
68563
68615
|
soChange: function soChange(value) {
|
|
68616
|
+
this.model.setCode();
|
|
68564
68617
|
this.inputHandler(this.model.value);
|
|
68565
68618
|
this.changeHandler(this.model.value);
|
|
68566
68619
|
if (this.model.autoSearch) this.$emit('click');
|
|
@@ -77379,7 +77432,7 @@ var __vue_template_functional__ = false
|
|
|
77379
77432
|
/* styles */
|
|
77380
77433
|
var __vue_styles__ = injectStyle
|
|
77381
77434
|
/* scopeId */
|
|
77382
|
-
var __vue_scopeId__ = "data-v-
|
|
77435
|
+
var __vue_scopeId__ = "data-v-5e286350"
|
|
77383
77436
|
/* moduleIdentifier (server only) */
|
|
77384
77437
|
var __vue_module_identifier__ = null
|
|
77385
77438
|
var Component = normalizeComponent(
|
|
@@ -77405,7 +77458,7 @@ var content = __webpack_require__(509);
|
|
|
77405
77458
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
77406
77459
|
if(content.locals) module.exports = content.locals;
|
|
77407
77460
|
// add the styles to the DOM
|
|
77408
|
-
var update = __webpack_require__(3)("
|
|
77461
|
+
var update = __webpack_require__(3)("1b5ee440", content, true, {});
|
|
77409
77462
|
|
|
77410
77463
|
/***/ }),
|
|
77411
77464
|
/* 509 */
|
|
@@ -77417,7 +77470,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
77417
77470
|
|
|
77418
77471
|
|
|
77419
77472
|
// module
|
|
77420
|
-
exports.push([module.i, ".ct-form .el-main .el-collapse[data-v-
|
|
77473
|
+
exports.push([module.i, ".ct-form .el-main .el-collapse[data-v-5e286350]{border-top:initial;border-bottom:initial}.question-mark[data-v-5e286350]{background:url(" + escape(__webpack_require__(510)) + ") no-repeat;background-size:100% 100%;height:22px;width:22px;display:inline-block;font-weight:700}.question-mark[data-v-5e286350]:hover{background-color:#e4624c;color:fff}.close-mark[data-v-5e286350]{background:url(" + escape(__webpack_require__(511)) + ") no-repeat;background-size:100% 100%;height:26px;width:26px;display:inline-block;font-weight:700}.close-mark[data-v-5e286350]:hover{background-color:#e4624c;color:fff}", ""]);
|
|
77421
77474
|
|
|
77422
77475
|
// exports
|
|
77423
77476
|
|
|
@@ -78617,7 +78670,7 @@ var content = __webpack_require__(537);
|
|
|
78617
78670
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
78618
78671
|
if(content.locals) module.exports = content.locals;
|
|
78619
78672
|
// add the styles to the DOM
|
|
78620
|
-
var update = __webpack_require__(3)("
|
|
78673
|
+
var update = __webpack_require__(3)("0eabf016", content, true, {});
|
|
78621
78674
|
|
|
78622
78675
|
/***/ }),
|
|
78623
78676
|
/* 537 */
|
|
@@ -78654,7 +78707,7 @@ var content = __webpack_require__(540);
|
|
|
78654
78707
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
78655
78708
|
if(content.locals) module.exports = content.locals;
|
|
78656
78709
|
// add the styles to the DOM
|
|
78657
|
-
var update = __webpack_require__(3)("
|
|
78710
|
+
var update = __webpack_require__(3)("8084f83e", content, true, {});
|
|
78658
78711
|
|
|
78659
78712
|
/***/ }),
|
|
78660
78713
|
/* 540 */
|
|
@@ -80074,7 +80127,7 @@ var content = __webpack_require__(617);
|
|
|
80074
80127
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
80075
80128
|
if(content.locals) module.exports = content.locals;
|
|
80076
80129
|
// add the styles to the DOM
|
|
80077
|
-
var update = __webpack_require__(3)("
|
|
80130
|
+
var update = __webpack_require__(3)("93d4a9a0", content, true, {});
|
|
80078
80131
|
|
|
80079
80132
|
/***/ }),
|
|
80080
80133
|
/* 617 */
|
|
@@ -88740,7 +88793,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
88740
88793
|
"use strict";
|
|
88741
88794
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSosNew_vue__ = __webpack_require__(417);
|
|
88742
88795
|
/* unused harmony namespace reexport */
|
|
88743
|
-
/* harmony import */ var
|
|
88796
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6a056885_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSosNew_vue__ = __webpack_require__(872);
|
|
88744
88797
|
function injectStyle (ssrContext) {
|
|
88745
88798
|
__webpack_require__(870)
|
|
88746
88799
|
}
|
|
@@ -88760,7 +88813,7 @@ var __vue_scopeId__ = null
|
|
|
88760
88813
|
var __vue_module_identifier__ = null
|
|
88761
88814
|
var Component = normalizeComponent(
|
|
88762
88815
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSosNew_vue__["a" /* default */],
|
|
88763
|
-
|
|
88816
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6a056885_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSosNew_vue__["a" /* default */],
|
|
88764
88817
|
__vue_template_functional__,
|
|
88765
88818
|
__vue_styles__,
|
|
88766
88819
|
__vue_scopeId__,
|
|
@@ -88781,7 +88834,7 @@ var content = __webpack_require__(871);
|
|
|
88781
88834
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
88782
88835
|
if(content.locals) module.exports = content.locals;
|
|
88783
88836
|
// add the styles to the DOM
|
|
88784
|
-
var update = __webpack_require__(3)("
|
|
88837
|
+
var update = __webpack_require__(3)("aff3a6a8", content, true, {});
|
|
88785
88838
|
|
|
88786
88839
|
/***/ }),
|
|
88787
88840
|
/* 871 */
|