centaline-data-driven 1.6.70 → 1.6.72
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 +14 -0
- package/src/Form.vue +2 -2
- package/src/SearchList.vue +3 -2
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +220 -99
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +106 -2
- package/src/centaline/loader/src/ctl/Base.js +3 -0
- package/src/centaline/loader/src/ctl/FormList.js +9 -0
- package/src/centaline/loader/src/ctl/SearchTable.js +39 -11
- package/src/main.js +6 -6
- package/wwwroot/static/centaline/centaline-data-driven.js +224 -20
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -637,15 +637,15 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
|
|
641
|
-
|
|
640
|
+
let self = this;
|
|
641
|
+
let searchFields = {
|
|
642
642
|
fields: []
|
|
643
643
|
};
|
|
644
644
|
//this.searchModel ? this.searchModel.searchData : { fields: [] };
|
|
645
645
|
if(this.searchModel && this.searchModel.searchDataOfHide){
|
|
646
646
|
searchFields=this.searchModel.searchDataOfHide
|
|
647
647
|
}
|
|
648
|
-
|
|
648
|
+
let searchValue1 = router.flagAddRowAfterAction ? rtnData.responseData.content : rtn.listData[rtn.selectIndex][self.primaryKey];
|
|
649
649
|
if (self.primaryKey) {
|
|
650
650
|
searchFields.fields.push({
|
|
651
651
|
fieldName1: self.primaryFieldMappingDBName ? self.primaryFieldMappingDBName : self.primaryKey,
|
|
@@ -666,6 +666,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
666
666
|
}
|
|
667
667
|
})
|
|
668
668
|
.then(function (response) {
|
|
669
|
+
let editFields = [];
|
|
669
670
|
if (response.rtnCode === Enum.ReturnCode.Successful) {
|
|
670
671
|
if (response.content.rows && response.content.rows.length > 0) {
|
|
671
672
|
if (router.flagAddRowAfterAction) {
|
|
@@ -679,8 +680,17 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
679
680
|
rtn.$vue.calculatingRowHeight()
|
|
680
681
|
}
|
|
681
682
|
else {
|
|
683
|
+
let rowsCount = response.content.rows.length || 0;
|
|
682
684
|
response.content.rows.forEach((row) => {
|
|
683
685
|
for (var vkey in row) {
|
|
686
|
+
if(rowsCount===1){
|
|
687
|
+
let arr = self.dataFieldcolumns.filter(v => {
|
|
688
|
+
return v.show && v.id === common.initialsToLowerCase(vkey);
|
|
689
|
+
});
|
|
690
|
+
if(arr.length>0 && row[vkey]!=rtn.dataDictionary[row[rtn.primaryKey]][vkey]){
|
|
691
|
+
editFields.push(vkey);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
684
694
|
rtn.dataDictionary[row[rtn.primaryKey]][vkey] = row[vkey];
|
|
685
695
|
}
|
|
686
696
|
for (var vkey in rtn.dataDictionary[row[rtn.primaryKey]]) {
|
|
@@ -733,7 +743,7 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
733
743
|
}
|
|
734
744
|
|
|
735
745
|
if (typeof callback !== 'undefined') {
|
|
736
|
-
callback();
|
|
746
|
+
callback(editFields);
|
|
737
747
|
}
|
|
738
748
|
})
|
|
739
749
|
.catch((error) => {
|
|
@@ -884,13 +894,31 @@ const SearchTable = function (data, callBack, searchModel, flagSearch, defaultSe
|
|
|
884
894
|
case Enum.ActionType.CloseTabThenDelete: //删除
|
|
885
895
|
var deleteRow = response.content.split(',');
|
|
886
896
|
if (deleteRow) {
|
|
887
|
-
deleteRow.
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
897
|
+
if(deleteRow.length===1){
|
|
898
|
+
let targetRow = rtn.$vue.currentRow;
|
|
899
|
+
let className = 'table-row-delete';
|
|
900
|
+
targetRow.classList.add(className);
|
|
901
|
+
setTimeout(() => {
|
|
902
|
+
targetRow.classList.remove(className);
|
|
903
|
+
deleteRow.forEach((r) => {
|
|
904
|
+
const dataIndex = rtn.listData.indexOf(rtn.dataDictionary[r])
|
|
905
|
+
if (dataIndex !== -1) {
|
|
906
|
+
rtn.listData.splice(dataIndex, 1);
|
|
907
|
+
delete rtn.dataDictionary[r];
|
|
908
|
+
}
|
|
909
|
+
});
|
|
910
|
+
rtn.$vue.$forceUpdate();
|
|
911
|
+
}, 400);
|
|
912
|
+
}
|
|
913
|
+
else{
|
|
914
|
+
deleteRow.forEach((r) => {
|
|
915
|
+
const dataIndex = rtn.listData.indexOf(rtn.dataDictionary[r])
|
|
916
|
+
if (dataIndex !== -1) {
|
|
917
|
+
rtn.listData.splice(dataIndex, 1);
|
|
918
|
+
delete rtn.dataDictionary[r];
|
|
919
|
+
}
|
|
920
|
+
});
|
|
921
|
+
}
|
|
894
922
|
}
|
|
895
923
|
|
|
896
924
|
source.page.rows = source.page.rows - deleteRow.length;
|
package/src/main.js
CHANGED
|
@@ -25,7 +25,7 @@ Vue.use(centaline, {
|
|
|
25
25
|
// baseUrl: "http://10.88.22.46:8999/service-api/v1/form/router",
|
|
26
26
|
// baseUrl: "http://10.88.22.13:17070/max-uplink-api/",
|
|
27
27
|
// baseUrl: "http://10.88.22.13:7080/ibs-api/",
|
|
28
|
-
baseUrl: "http://10.88.22.13:9004/max-uplink-api/",
|
|
28
|
+
// baseUrl: "http://10.88.22.13:9004/max-uplink-api/",
|
|
29
29
|
// baseUrl:"http://szamaxbusiness-api-test2.centaline.com.cn/max-uplink-api/",
|
|
30
30
|
// baseUrl: "http://10.88.22.13:7070/onecard-api/",
|
|
31
31
|
// baseUrl: "http://10.6.1.163:9000/max-uplink-api/v1/form/router",
|
|
@@ -37,7 +37,7 @@ Vue.use(centaline, {
|
|
|
37
37
|
// baseUrl: "http://10.88.22.69:8080/",
|
|
38
38
|
// baseUrl: "http://10.1.245.111:38908/service-api/",
|
|
39
39
|
// baseUrl: "http://10.1.245.111:31574/service-api/",
|
|
40
|
-
|
|
40
|
+
baseUrl: "https://tjcptest.centaline.com.cn/",
|
|
41
41
|
// baseUrl: "https://shccai.centaline.com.cn/api/",
|
|
42
42
|
// baseUrl:"http://10.88.22.66/IBS.Mvc/api/",
|
|
43
43
|
flagRouterSelf: true,
|
|
@@ -71,9 +71,9 @@ Vue.use(centaline, {
|
|
|
71
71
|
// 获取请求头
|
|
72
72
|
getRequestHeaders: function (action) {
|
|
73
73
|
return {
|
|
74
|
-
|
|
74
|
+
oldToken: '6262d67a-8b42-43d5-8b8b-fd0a43f16244',
|
|
75
75
|
// token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
|
|
76
|
-
authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe-yNZPssrM7s3TsAI2HICBjgpURSDTGu6tRO3tf8YvXvH8zyzaayjRcW5TOg7RlAGwoQN0RQxZmm0vymLlPH-DHfOmdw0QutlAnEsCIHtgJg2AU7JrWS25MYfRyMpUjDhgDWleYeVjfwlOyL7Etet7p9R_njuv8zPJklad9gqgxAo40AKMlUOt8qU4PA1pzfwAAAP__.AhTuiD7eEL6iMN4iqr9tazgm8v3ZR4ounA2g7IAWia8"}',
|
|
76
|
+
// authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe-yNZPssrM7s3TsAI2HICBjgpURSDTGu6tRO3tf8YvXvH8zyzaayjRcW5TOg7RlAGwoQN0RQxZmm0vymLlPH-DHfOmdw0QutlAnEsCIHtgJg2AU7JrWS25MYfRyMpUjDhgDWleYeVjfwlOyL7Etet7p9R_njuv8zPJklad9gqgxAo40AKMlUOt8qU4PA1pzfwAAAP__.AhTuiD7eEL6iMN4iqr9tazgm8v3ZR4ounA2g7IAWia8"}',
|
|
77
77
|
|
|
78
78
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
79
79
|
// EstateInfo: '{"estateId":"1c581b7c-d629-4670-8a7c-6d622860bc58","estateName":"0%E9%87%91%E9%9A%85%E4%BA%91%E7%AD%91%E5%A4%A9%E6%B4%A5","estDeptPath":"009.014.001.001"}',
|
|
@@ -81,8 +81,8 @@ Vue.use(centaline, {
|
|
|
81
81
|
// appinfo:'{"appId":"7e4d0521-4e26-4beb-8627-e76977ad8aa5","appName":"CCAI-PLUS"}',
|
|
82
82
|
// authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjkzNDU5NjFkLWM2NmItNDU0ZS1hMTE4LTUzMWRkMjliZTdmYyJ9.ehMpxkFnyTFlJQ_43SbCTGZZTMFht3isTj3gUKmNoJBWCV5X8ez5Z2AgT7vMBwmmG1FdEHWZTnJhIj0ox86bCA',
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.
|
|
84
|
+
AuthObject: '{"currentEstate":{},"platform":1,"osVersion":"","machineCode":"79eb541af8cc7ae068b39635f67befc6","token":"","random":"rUISzW","time":"2026-09-02 09:50:49","timestamp":1788313849586,"sign":"","systemSource":"CCESU","empNo":"cspengjj","empId":"241113140414452B43969FA04D6781E7","clientVersion":"12.5","empName":"%E5%BD%AD%E4%BF%8A%E6%9D%B0","roleName":"%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98","deptFullName":"%E6%B7%B1%E5%9C%B3%E4%B8%AD%E5%8E%9F"}',
|
|
85
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6ImFhN2M4YmQwLWI5NjctNDAwZi1hOWRmLWY3MmI3NWY1Y2NjOSJ9.sM0sk7_eal69VkBYEiLVQNcyFyr_oeF5G_kjA4fYcUg',
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
// 请求完成事件,可判断是否登录过期执行响应操作
|
|
@@ -7024,6 +7024,9 @@ var Base = function Base(source) {
|
|
|
7024
7024
|
},
|
|
7025
7025
|
set displayRelationFieldValue(v) {
|
|
7026
7026
|
source.displayRelationFieldValue = v;
|
|
7027
|
+
},
|
|
7028
|
+
get flagCollapse() {
|
|
7029
|
+
return source.flagCollapse || false;
|
|
7027
7030
|
}
|
|
7028
7031
|
};
|
|
7029
7032
|
|
|
@@ -21111,7 +21114,7 @@ exports.f = __webpack_require__(27) ? gOPD : function getOwnPropertyDescriptor(O
|
|
|
21111
21114
|
"use strict";
|
|
21112
21115
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__ = __webpack_require__(163);
|
|
21113
21116
|
/* unused harmony namespace reexport */
|
|
21114
|
-
/* harmony import */ var
|
|
21117
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_71d7017c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__ = __webpack_require__(586);
|
|
21115
21118
|
function injectStyle (ssrContext) {
|
|
21116
21119
|
__webpack_require__(548)
|
|
21117
21120
|
}
|
|
@@ -21131,7 +21134,7 @@ var __vue_scopeId__ = null
|
|
|
21131
21134
|
var __vue_module_identifier__ = null
|
|
21132
21135
|
var Component = normalizeComponent(
|
|
21133
21136
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
21134
|
-
|
|
21137
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_71d7017c_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicSearchTable_vue__["a" /* default */],
|
|
21135
21138
|
__vue_template_functional__,
|
|
21136
21139
|
__vue_styles__,
|
|
21137
21140
|
__vue_scopeId__,
|
|
@@ -22071,7 +22074,7 @@ var Component = normalizeComponent(
|
|
|
22071
22074
|
var rowNew = this.model.listData[newIndex];
|
|
22072
22075
|
var selectMergedIndexOld = -1;
|
|
22073
22076
|
var selectMergedIndexNew = -1;
|
|
22074
|
-
if (rowOld.$rowsMerged) {
|
|
22077
|
+
if (rowOld && rowOld.$rowsMerged) {
|
|
22075
22078
|
if (rowOld.$rowsMerged.includes(newIndex)) {
|
|
22076
22079
|
selectMergedIndexNew = oldIndex;
|
|
22077
22080
|
} else {
|
|
@@ -23169,7 +23172,7 @@ var Component = normalizeComponent(
|
|
|
23169
23172
|
var self = this;
|
|
23170
23173
|
if (router.flagFreshCurrentRow || router.flagAddRowAfterAction) {
|
|
23171
23174
|
self.tableComplate = true;
|
|
23172
|
-
self.model.getCurrentRowApiData(function () {
|
|
23175
|
+
self.model.getCurrentRowApiData(function (editFields) {
|
|
23173
23176
|
self.$forceUpdate();
|
|
23174
23177
|
self.tableComplate = false;
|
|
23175
23178
|
self.$emit("searchComplate");
|
|
@@ -23179,9 +23182,56 @@ var Component = normalizeComponent(
|
|
|
23179
23182
|
if (self.model.flagNotificationParentAfterContentChanged) {
|
|
23180
23183
|
self.$emit("flagNotificationParentAfterContentChanged");
|
|
23181
23184
|
}
|
|
23185
|
+
|
|
23186
|
+
if (router.flagAddRowAfterAction) {
|
|
23187
|
+
self.rowClickHandle(event, 0);
|
|
23188
|
+
self.useTableAnimation("filter");
|
|
23189
|
+
} else {
|
|
23190
|
+
if (editFields && editFields.length > 0) {
|
|
23191
|
+
self.useTableAnimationFields(editFields);
|
|
23192
|
+
}
|
|
23193
|
+
// self.useTableAnimation(router.flagFreshCurrentRow?"update":"filter");
|
|
23194
|
+
}
|
|
23182
23195
|
}, data, router);
|
|
23183
23196
|
}
|
|
23184
23197
|
},
|
|
23198
|
+
useTableAnimation: function useTableAnimation(type) {
|
|
23199
|
+
var _this5 = this;
|
|
23200
|
+
|
|
23201
|
+
this.$nextTick(function () {
|
|
23202
|
+
var targetRow = _this5.currentRow;
|
|
23203
|
+
var className = "table-row-" + type;
|
|
23204
|
+
targetRow.classList.add(className);
|
|
23205
|
+
// 动画结束后移除类名
|
|
23206
|
+
setTimeout(function () {
|
|
23207
|
+
targetRow.classList.remove(className);
|
|
23208
|
+
}, 400);
|
|
23209
|
+
});
|
|
23210
|
+
},
|
|
23211
|
+
useTableAnimationFields: function useTableAnimationFields(editFields) {
|
|
23212
|
+
var _this6 = this;
|
|
23213
|
+
|
|
23214
|
+
this.$nextTick(function () {
|
|
23215
|
+
var targetRow = _this6.currentRow;
|
|
23216
|
+
var className = 'table-row-filter';
|
|
23217
|
+
editFields.forEach(function (item) {
|
|
23218
|
+
var cell = targetRow.querySelector("[columnid=\"" + item + "\"]");
|
|
23219
|
+
if (cell) {
|
|
23220
|
+
cell.classList.add(className);
|
|
23221
|
+
}
|
|
23222
|
+
});
|
|
23223
|
+
|
|
23224
|
+
// 动画结束后移除类名
|
|
23225
|
+
setTimeout(function () {
|
|
23226
|
+
editFields.forEach(function (item) {
|
|
23227
|
+
var cell = targetRow.querySelector("[columnid=\"" + item + "\"]");
|
|
23228
|
+
if (cell) {
|
|
23229
|
+
cell.classList.remove(className);
|
|
23230
|
+
}
|
|
23231
|
+
});
|
|
23232
|
+
}, 400);
|
|
23233
|
+
});
|
|
23234
|
+
},
|
|
23185
23235
|
importComplete: function importComplete(res, field) {
|
|
23186
23236
|
var self = this;
|
|
23187
23237
|
if (res && res.rtnCode && res.rtnCode === 201) {
|
|
@@ -31539,6 +31589,121 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
|
|
|
31539
31589
|
//
|
|
31540
31590
|
//
|
|
31541
31591
|
//
|
|
31592
|
+
//
|
|
31593
|
+
//
|
|
31594
|
+
//
|
|
31595
|
+
//
|
|
31596
|
+
//
|
|
31597
|
+
//
|
|
31598
|
+
//
|
|
31599
|
+
//
|
|
31600
|
+
//
|
|
31601
|
+
//
|
|
31602
|
+
//
|
|
31603
|
+
//
|
|
31604
|
+
//
|
|
31605
|
+
//
|
|
31606
|
+
//
|
|
31607
|
+
//
|
|
31608
|
+
//
|
|
31609
|
+
//
|
|
31610
|
+
//
|
|
31611
|
+
//
|
|
31612
|
+
//
|
|
31613
|
+
//
|
|
31614
|
+
//
|
|
31615
|
+
//
|
|
31616
|
+
//
|
|
31617
|
+
//
|
|
31618
|
+
//
|
|
31619
|
+
//
|
|
31620
|
+
//
|
|
31621
|
+
//
|
|
31622
|
+
//
|
|
31623
|
+
//
|
|
31624
|
+
//
|
|
31625
|
+
//
|
|
31626
|
+
//
|
|
31627
|
+
//
|
|
31628
|
+
//
|
|
31629
|
+
//
|
|
31630
|
+
//
|
|
31631
|
+
//
|
|
31632
|
+
//
|
|
31633
|
+
//
|
|
31634
|
+
//
|
|
31635
|
+
//
|
|
31636
|
+
//
|
|
31637
|
+
//
|
|
31638
|
+
//
|
|
31639
|
+
//
|
|
31640
|
+
//
|
|
31641
|
+
//
|
|
31642
|
+
//
|
|
31643
|
+
//
|
|
31644
|
+
//
|
|
31645
|
+
//
|
|
31646
|
+
//
|
|
31647
|
+
//
|
|
31648
|
+
//
|
|
31649
|
+
//
|
|
31650
|
+
//
|
|
31651
|
+
//
|
|
31652
|
+
//
|
|
31653
|
+
//
|
|
31654
|
+
//
|
|
31655
|
+
//
|
|
31656
|
+
//
|
|
31657
|
+
//
|
|
31658
|
+
//
|
|
31659
|
+
//
|
|
31660
|
+
//
|
|
31661
|
+
//
|
|
31662
|
+
//
|
|
31663
|
+
//
|
|
31664
|
+
//
|
|
31665
|
+
//
|
|
31666
|
+
//
|
|
31667
|
+
//
|
|
31668
|
+
//
|
|
31669
|
+
//
|
|
31670
|
+
//
|
|
31671
|
+
//
|
|
31672
|
+
//
|
|
31673
|
+
//
|
|
31674
|
+
//
|
|
31675
|
+
//
|
|
31676
|
+
//
|
|
31677
|
+
//
|
|
31678
|
+
//
|
|
31679
|
+
//
|
|
31680
|
+
//
|
|
31681
|
+
//
|
|
31682
|
+
//
|
|
31683
|
+
//
|
|
31684
|
+
//
|
|
31685
|
+
//
|
|
31686
|
+
//
|
|
31687
|
+
//
|
|
31688
|
+
//
|
|
31689
|
+
//
|
|
31690
|
+
//
|
|
31691
|
+
//
|
|
31692
|
+
//
|
|
31693
|
+
//
|
|
31694
|
+
//
|
|
31695
|
+
//
|
|
31696
|
+
//
|
|
31697
|
+
//
|
|
31698
|
+
//
|
|
31699
|
+
//
|
|
31700
|
+
//
|
|
31701
|
+
//
|
|
31702
|
+
//
|
|
31703
|
+
//
|
|
31704
|
+
//
|
|
31705
|
+
//
|
|
31706
|
+
//
|
|
31542
31707
|
|
|
31543
31708
|
//Form内表格
|
|
31544
31709
|
var ctSpan = { //临时的span组件对象,用于vue双向绑定,强制更新
|
|
@@ -31630,7 +31795,9 @@ var ctSpan = { //临时的span组件对象,用于vue双向绑定,强制更
|
|
|
31630
31795
|
foucus: false,
|
|
31631
31796
|
itemKey: Math.random(),
|
|
31632
31797
|
tableColumnWith: 0,
|
|
31633
|
-
fixedButtons: false
|
|
31798
|
+
fixedButtons: false,
|
|
31799
|
+
collapseIndex: 0,
|
|
31800
|
+
activeName: ''
|
|
31634
31801
|
};
|
|
31635
31802
|
},
|
|
31636
31803
|
created: function created() {
|
|
@@ -31638,6 +31805,7 @@ var ctSpan = { //临时的span组件对象,用于vue双向绑定,强制更
|
|
|
31638
31805
|
this.model = this.vmodel;
|
|
31639
31806
|
this.model.OptApi = this.api;
|
|
31640
31807
|
this.model.$self = self;
|
|
31808
|
+
if (this.model.groupExpand) this.activeName = this.model.title;
|
|
31641
31809
|
|
|
31642
31810
|
this.$nextTick(function () {
|
|
31643
31811
|
self.model.refField = this.$refs.Fields;
|
|
@@ -59947,6 +60115,15 @@ var FormList = function FormList(source, master) {
|
|
|
59947
60115
|
get title() {
|
|
59948
60116
|
return master.controlLabel || '';
|
|
59949
60117
|
},
|
|
60118
|
+
set title(v) {
|
|
60119
|
+
master.controlLabel = v;
|
|
60120
|
+
},
|
|
60121
|
+
get flagCollapse() {
|
|
60122
|
+
return master.flagCollapse || false;
|
|
60123
|
+
},
|
|
60124
|
+
get groupExpand() {
|
|
60125
|
+
return master.groupExpand === true;
|
|
60126
|
+
},
|
|
59950
60127
|
get description() {
|
|
59951
60128
|
return master.description || '';
|
|
59952
60129
|
},
|
|
@@ -61719,6 +61896,7 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
61719
61896
|
flagSearch: true
|
|
61720
61897
|
}
|
|
61721
61898
|
}).then(function (response) {
|
|
61899
|
+
var editFields = [];
|
|
61722
61900
|
if (response.rtnCode === __WEBPACK_IMPORTED_MODULE_7__lib_Enum__["default"].ReturnCode.Successful) {
|
|
61723
61901
|
if (response.content.rows && response.content.rows.length > 0) {
|
|
61724
61902
|
if (router.flagAddRowAfterAction) {
|
|
@@ -61731,8 +61909,17 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
61731
61909
|
source.page.rows = source.page.rows + response.content.rows.length;
|
|
61732
61910
|
rtn.$vue.calculatingRowHeight();
|
|
61733
61911
|
} else {
|
|
61912
|
+
var rowsCount = response.content.rows.length || 0;
|
|
61734
61913
|
response.content.rows.forEach(function (row) {
|
|
61735
61914
|
for (var vkey in row) {
|
|
61915
|
+
if (rowsCount === 1) {
|
|
61916
|
+
var arr = self.dataFieldcolumns.filter(function (v) {
|
|
61917
|
+
return v.show && v.id === __WEBPACK_IMPORTED_MODULE_3__common__["default"].initialsToLowerCase(vkey);
|
|
61918
|
+
});
|
|
61919
|
+
if (arr.length > 0 && row[vkey] != rtn.dataDictionary[row[rtn.primaryKey]][vkey]) {
|
|
61920
|
+
editFields.push(vkey);
|
|
61921
|
+
}
|
|
61922
|
+
}
|
|
61736
61923
|
rtn.dataDictionary[row[rtn.primaryKey]][vkey] = row[vkey];
|
|
61737
61924
|
}
|
|
61738
61925
|
for (var vkey in rtn.dataDictionary[row[rtn.primaryKey]]) {
|
|
@@ -61783,7 +61970,7 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
61783
61970
|
}
|
|
61784
61971
|
|
|
61785
61972
|
if (typeof callback !== 'undefined') {
|
|
61786
|
-
callback();
|
|
61973
|
+
callback(editFields);
|
|
61787
61974
|
}
|
|
61788
61975
|
}).catch(function (error) {
|
|
61789
61976
|
if (typeof callback !== 'undefined') {
|
|
@@ -61932,13 +62119,30 @@ var SearchTable = function SearchTable(data, callBack, searchModel, flagSearch,
|
|
|
61932
62119
|
//删除
|
|
61933
62120
|
var deleteRow = response.content.split(',');
|
|
61934
62121
|
if (deleteRow) {
|
|
61935
|
-
deleteRow.
|
|
61936
|
-
var
|
|
61937
|
-
|
|
61938
|
-
|
|
61939
|
-
|
|
61940
|
-
|
|
61941
|
-
|
|
62122
|
+
if (deleteRow.length === 1) {
|
|
62123
|
+
var targetRow = rtn.$vue.currentRow;
|
|
62124
|
+
var className = 'table-row-delete';
|
|
62125
|
+
targetRow.classList.add(className);
|
|
62126
|
+
setTimeout(function () {
|
|
62127
|
+
targetRow.classList.remove(className);
|
|
62128
|
+
deleteRow.forEach(function (r) {
|
|
62129
|
+
var dataIndex = rtn.listData.indexOf(rtn.dataDictionary[r]);
|
|
62130
|
+
if (dataIndex !== -1) {
|
|
62131
|
+
rtn.listData.splice(dataIndex, 1);
|
|
62132
|
+
delete rtn.dataDictionary[r];
|
|
62133
|
+
}
|
|
62134
|
+
});
|
|
62135
|
+
rtn.$vue.$forceUpdate();
|
|
62136
|
+
}, 400);
|
|
62137
|
+
} else {
|
|
62138
|
+
deleteRow.forEach(function (r) {
|
|
62139
|
+
var dataIndex = rtn.listData.indexOf(rtn.dataDictionary[r]);
|
|
62140
|
+
if (dataIndex !== -1) {
|
|
62141
|
+
rtn.listData.splice(dataIndex, 1);
|
|
62142
|
+
delete rtn.dataDictionary[r];
|
|
62143
|
+
}
|
|
62144
|
+
});
|
|
62145
|
+
}
|
|
61942
62146
|
}
|
|
61943
62147
|
|
|
61944
62148
|
source.page.rows = source.page.rows - deleteRow.length;
|
|
@@ -79964,7 +80168,7 @@ var content = __webpack_require__(549);
|
|
|
79964
80168
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
79965
80169
|
if(content.locals) module.exports = content.locals;
|
|
79966
80170
|
// add the styles to the DOM
|
|
79967
|
-
var update = __webpack_require__(3)("
|
|
80171
|
+
var update = __webpack_require__(3)("1cd057b8", content, true, {});
|
|
79968
80172
|
|
|
79969
80173
|
/***/ }),
|
|
79970
80174
|
/* 549 */
|
|
@@ -79976,7 +80180,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
79976
80180
|
|
|
79977
80181
|
|
|
79978
80182
|
// module
|
|
79979
|
-
exports.push([module.i, ".ct-tableParent{overflow:auto;border-bottom:1px solid #ebeef5;width:100%;outline:0;border-top:1px solid #ebeef5}.ct-searchtable .ct-table{min-width:100%;border-collapse:collapse}.ct-searchtable .ct-table-Shadow{border-collapse:separate}.ct-searchtable .ct-table th{background-color:#ddd!important}.ct-searchtable .ct-tr{background-color:#fff}.ct-searchtable .ct-tr>.ct-td{padding:2px 20px;cursor:default;//:var(--centalineBlack)}.ct-searchtable .ct-tr>.ct-td1{border-right:1px solid #e7e8eb;border-left:1px solid #e7e8eb}.ct-searchtable .ct-tr:last-child>.ct-td1,.ct-searchtable .ct-tr>.ct-td2{border-bottom:1px solid #e7e8eb}.ct-searchtable .ct-tr>.ct-td3{border:1px solid #e7e8eb}.shadowLeft{-webkit-box-shadow:2px 0 3px -1px rgba(0,0,0,.1);box-shadow:2px 0 3px -1px rgba(0,0,0,.1)}.shadowRight{-webkit-box-shadow:-2px 0 3px -1px rgba(0,0,0,.1);box-shadow:-2px 0 3px -1px rgba(0,0,0,.1)}.ct-searchtable body:last-child>.ct-td{border-bottom:0}.ct-searchtable .ct-tr>.ct-td.nowidth{white-space:nowrap}.ct-table{color:#1f2233;font-size:18px;line-height:40px;min-height:40px}.ct-table-mini{font-size:12px;line-height:26px;min-height:28px}.ct-table-small{font-size:14px;line-height:32px;min-height:32px}.ct-table-medium{font-size:16px;line-height:36px;min-height:36px}.ct-table .ct-td>.caret-wrapper{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:34px;width:10px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.ct-table .ct-td>.caret-wrapper>.sort-caret{width:0;height:0;border:5px solid transparent;position:absolute;left:7px}.ct-table .ct-td>.caret-wrapper>.sort-caret.ascending{border-bottom-color:var(--centalinePlaceholder);top:5px}.ct-table .ct-td>.caret-wrapper>.sort-caret.descending{border-top-color:var(--centalinePlaceholder);bottom:7px}.ct-table .ct-td.select,.ct-table .ct-td.selectMerged,.ct-table .ct-tr:hover .ct-td.select,.ct-table .ct-tr:hover .ct-td.selectMerged{background-color:var(backgroundColor)!important}.ct-table .ct-td.asc>.caret-wrapper>.sort-caret.ascending{border-bottom-color:#409eff;top:5px}.ct-table .ct-td.desc>.caret-wrapper>.sort-caret.descending{border-top-color:#409eff;bottom:7px}.ct-table .cell{text-overflow:ellipsis;overflow:hidden;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;hyphens:auto}.ct-table .lineFeedCell{min-width:40px}.ct-table .left-fixation,.ct-table .right-fixation{position:sticky;background-color:inherit}.ct-table .left-fixation-th,.ct-table .right-fixation-th{position:sticky;top:0;z-index:99}.ct-table .right-no-fixation-th{position:sticky;top:0;z-index:50}.ct-table .checkbox-td{min-width:20px;width:20px;left:0}.ct-table .checkbox-td .checkbox-td-1{vertical-align:inherit}.tab-list{position:relative;margin-bottom:0!important;height:auto!important;display:block;padding-left:8px;padding-right:4px}.tab-list .subdiv_allinline{float:none;display:block;width:-webkit-fill-available;cursor:pointer}.div_allinline .Stats-popover{float:right;margin-top:3px;margin-left:0;height:16px}.icon-more{background:url(" + escape(__webpack_require__(550)) + ") no-repeat;background-size:100% 100%;width:16px;height:16px;display:table-caption;cursor:pointer}.el-popover1{min-width:inherit!important}.ct-searchtable .ct-search-table-tag{background-color:#ffe7cc;border-color:#faecd8;width:100%;-webkit-box-shadow:0 2px 10px 0 rgb(0 0 0/10%);box-shadow:0 2px 10px 0 rgb(0 0 0/10%);margin-bottom:4px}.theadLine{position:relative}.theadLine:before{position:absolute;top:50%;-webkit-transform:translatey(-50%);transform:translatey(-50%);right:0;content:\"\";width:1px;height:18px;background-color:#919296}.theadLine:last-child:before{width:0!important}.theadTitle{z-index:999;border-radius:4px;color:var(--centalineBlack);border:1px solid var(--centalineBlack);font-weight:500;white-space:nowrap}.box-card,.theadTitle{position:absolute;padding:1px 6px;background-color:#fff;font-size:12px}.box-card{z-index:1000;border-radius:4px;color:#606266;border:1px solid;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ct-searchtable .el-loading-spinner .circular{-webkit-animation:none!important;animation:none!important}.ct-searchtable .dragEnterHover{border:1px dashed #e03333!important;color:#e03333!important}.ct-tablecurrencyItem{text-decoration:none;padding-left:0;padding-right:4px;cursor:pointer;color:#2e58e6}.ct-tablecurrencyItem:hover{color:#23527c}", ""]);
|
|
80183
|
+
exports.push([module.i, ".ct-tableParent{overflow:auto;border-bottom:1px solid #ebeef5;width:100%;outline:0;border-top:1px solid #ebeef5}.table-row-update{-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation:rowRoll .9s ease;animation:rowRoll .9s ease}@-webkit-keyframes rowRoll{0%{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(.3);transform:scaleY(.3)}to{-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes rowRoll{0%{-webkit-transform:scaleY(1);transform:scaleY(1)}50%{-webkit-transform:scaleY(.3);transform:scaleY(.3)}to{-webkit-transform:scaleY(1);transform:scaleY(1)}}.table-row-filter{-webkit-animation:rowfilter .9s ease forwards;animation:rowfilter .9s ease forwards}@-webkit-keyframes rowfilter{0%{-webkit-filter:blur(4px);filter:blur(4px);opacity:.2}50%{-webkit-filter:blur(2px);filter:blur(2px);opacity:.6}to{-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes rowfilter{0%{-webkit-filter:blur(4px);filter:blur(4px);opacity:.2}50%{-webkit-filter:blur(2px);filter:blur(2px);opacity:.6}to{-webkit-filter:blur(0);filter:blur(0);opacity:1}}.table-row-add{-webkit-animation:rowSlideIn .4s ease-out;animation:rowSlideIn .4s ease-out}@-webkit-keyframes rowSlideIn{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);background-color:#f0f9eb}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);background-color:transparent}}@keyframes rowSlideIn{0%{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);background-color:#f0f9eb}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);background-color:transparent}}.table-row-delete{-webkit-animation:rowFadeOutFilter .5s ease forwards;animation:rowFadeOutFilter .5s ease forwards}@-webkit-keyframes rowFadeOutRight{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}to{opacity:0;-webkit-transform:translateX(30px);transform:translateX(30px);height:0;padding:0;overflow:hidden}}@keyframes rowFadeOutRight{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}to{opacity:0;-webkit-transform:translateX(30px);transform:translateX(30px);height:0;padding:0;overflow:hidden}}@-webkit-keyframes rowFadeOutLeft{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}to{opacity:0;-webkit-transform:translateX(-30px);transform:translateX(-30px);height:0;padding:0;overflow:hidden}}@keyframes rowFadeOutLeft{0%{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}to{opacity:0;-webkit-transform:translateX(-30px);transform:translateX(-30px);height:0;padding:0;overflow:hidden}}@-webkit-keyframes rowFadeOutRoll{0%{-webkit-transform:scaleY(1) scaleX(1);transform:scaleY(1) scaleX(1)}50%{-webkit-transform:scaleY(.3) scaleX(.5);transform:scaleY(.3) scaleX(.5)}to{-webkit-transform:scaleY(0) scaleX(0);transform:scaleY(0) scaleX(0)}}@keyframes rowFadeOutRoll{0%{-webkit-transform:scaleY(1) scaleX(1);transform:scaleY(1) scaleX(1)}50%{-webkit-transform:scaleY(.3) scaleX(.5);transform:scaleY(.3) scaleX(.5)}to{-webkit-transform:scaleY(0) scaleX(0);transform:scaleY(0) scaleX(0)}}@-webkit-keyframes rowFadeOutFilter{0%{-webkit-filter:blur(0);filter:blur(0);opacity:1}50%{-webkit-filter:blur(2px);filter:blur(2px);opacity:.5}to{-webkit-filter:blur(4px);filter:blur(4px);opacity:0}}@keyframes rowFadeOutFilter{0%{-webkit-filter:blur(0);filter:blur(0);opacity:1}50%{-webkit-filter:blur(2px);filter:blur(2px);opacity:.5}to{-webkit-filter:blur(4px);filter:blur(4px);opacity:0}}.table-row-edit{-webkit-animation:rowHighlight .6s ease;animation:rowHighlight .6s ease}@-webkit-keyframes rowHighlight{0%,to{background-color:transparent}50%{background-color:#ecf5ff}}@keyframes rowHighlight{0%,to{background-color:transparent}50%{background-color:#ecf5ff}}.ct-searchtable .ct-table{min-width:100%;border-collapse:collapse}.ct-searchtable .ct-table-Shadow{border-collapse:separate}.ct-searchtable .ct-table th{background-color:#ddd!important}.ct-searchtable .ct-tr{background-color:#fff}.ct-searchtable .ct-tr>.ct-td{padding:2px 20px;cursor:default;//:var(--centalineBlack)}.ct-searchtable .ct-tr>.ct-td1{border-right:1px solid #e7e8eb;border-left:1px solid #e7e8eb}.ct-searchtable .ct-tr:last-child>.ct-td1,.ct-searchtable .ct-tr>.ct-td2{border-bottom:1px solid #e7e8eb}.ct-searchtable .ct-tr>.ct-td3{border:1px solid #e7e8eb}.shadowLeft{-webkit-box-shadow:2px 0 3px -1px rgba(0,0,0,.1);box-shadow:2px 0 3px -1px rgba(0,0,0,.1)}.shadowRight{-webkit-box-shadow:-2px 0 3px -1px rgba(0,0,0,.1);box-shadow:-2px 0 3px -1px rgba(0,0,0,.1)}.ct-searchtable body:last-child>.ct-td{border-bottom:0}.ct-searchtable .ct-tr>.ct-td.nowidth{white-space:nowrap}.ct-table{color:#1f2233;font-size:18px;line-height:40px;min-height:40px}.ct-table-mini{font-size:12px;line-height:26px;min-height:28px}.ct-table-small{font-size:14px;line-height:32px;min-height:32px}.ct-table-medium{font-size:16px;line-height:36px;min-height:36px}.ct-table .ct-td>.caret-wrapper{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:34px;width:10px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.ct-table .ct-td>.caret-wrapper>.sort-caret{width:0;height:0;border:5px solid transparent;position:absolute;left:7px}.ct-table .ct-td>.caret-wrapper>.sort-caret.ascending{border-bottom-color:var(--centalinePlaceholder);top:5px}.ct-table .ct-td>.caret-wrapper>.sort-caret.descending{border-top-color:var(--centalinePlaceholder);bottom:7px}.ct-table .ct-td.select,.ct-table .ct-td.selectMerged,.ct-table .ct-tr:hover .ct-td.select,.ct-table .ct-tr:hover .ct-td.selectMerged{background-color:var(backgroundColor)!important}.ct-table .ct-td.asc>.caret-wrapper>.sort-caret.ascending{border-bottom-color:#409eff;top:5px}.ct-table .ct-td.desc>.caret-wrapper>.sort-caret.descending{border-top-color:#409eff;bottom:7px}.ct-table .cell{text-overflow:ellipsis;overflow:hidden;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;hyphens:auto}.ct-table .lineFeedCell{min-width:40px}.ct-table .left-fixation,.ct-table .right-fixation{position:sticky;background-color:inherit}.ct-table .left-fixation-th,.ct-table .right-fixation-th{position:sticky;top:0;z-index:99}.ct-table .right-no-fixation-th{position:sticky;top:0;z-index:50}.ct-table .checkbox-td{min-width:20px;width:20px;left:0}.ct-table .checkbox-td .checkbox-td-1{vertical-align:inherit}.tab-list{position:relative;margin-bottom:0!important;height:auto!important;display:block;padding-left:8px;padding-right:4px}.tab-list .subdiv_allinline{float:none;display:block;width:-webkit-fill-available;cursor:pointer}.div_allinline .Stats-popover{float:right;margin-top:3px;margin-left:0;height:16px}.icon-more{background:url(" + escape(__webpack_require__(550)) + ") no-repeat;background-size:100% 100%;width:16px;height:16px;display:table-caption;cursor:pointer}.el-popover1{min-width:inherit!important}.ct-searchtable .ct-search-table-tag{background-color:#ffe7cc;border-color:#faecd8;width:100%;-webkit-box-shadow:0 2px 10px 0 rgb(0 0 0/10%);box-shadow:0 2px 10px 0 rgb(0 0 0/10%);margin-bottom:4px}.theadLine{position:relative}.theadLine:before{position:absolute;top:50%;-webkit-transform:translatey(-50%);transform:translatey(-50%);right:0;content:\"\";width:1px;height:18px;background-color:#919296}.theadLine:last-child:before{width:0!important}.theadTitle{z-index:999;border-radius:4px;color:var(--centalineBlack);border:1px solid var(--centalineBlack);font-weight:500;white-space:nowrap}.box-card,.theadTitle{position:absolute;padding:1px 6px;background-color:#fff;font-size:12px}.box-card{z-index:1000;border-radius:4px;color:#606266;border:1px solid;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ct-searchtable .el-loading-spinner .circular{-webkit-animation:none!important;animation:none!important}.ct-searchtable .dragEnterHover{border:1px dashed #e03333!important;color:#e03333!important}.ct-tablecurrencyItem{text-decoration:none;padding-left:0;padding-right:4px;cursor:pointer;color:#2e58e6}.ct-tablecurrencyItem:hover{color:#23527c}", ""]);
|
|
79980
80184
|
|
|
79981
80185
|
// exports
|
|
79982
80186
|
|
|
@@ -81407,7 +81611,7 @@ exports.push([module.i, ".el-collapse{border-top:none}.ct-collapse-item-title .e
|
|
|
81407
81611
|
"use strict";
|
|
81408
81612
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicFormListTable_vue__ = __webpack_require__(191);
|
|
81409
81613
|
/* unused harmony namespace reexport */
|
|
81410
|
-
/* harmony import */ var
|
|
81614
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e5ad2cb8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFormListTable_vue__ = __webpack_require__(630);
|
|
81411
81615
|
function injectStyle (ssrContext) {
|
|
81412
81616
|
__webpack_require__(628)
|
|
81413
81617
|
}
|
|
@@ -81427,7 +81631,7 @@ var __vue_scopeId__ = null
|
|
|
81427
81631
|
var __vue_module_identifier__ = null
|
|
81428
81632
|
var Component = normalizeComponent(
|
|
81429
81633
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicFormListTable_vue__["a" /* default */],
|
|
81430
|
-
|
|
81634
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e5ad2cb8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicFormListTable_vue__["a" /* default */],
|
|
81431
81635
|
__vue_template_functional__,
|
|
81432
81636
|
__vue_styles__,
|
|
81433
81637
|
__vue_scopeId__,
|
|
@@ -81448,7 +81652,7 @@ var content = __webpack_require__(629);
|
|
|
81448
81652
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
81449
81653
|
if(content.locals) module.exports = content.locals;
|
|
81450
81654
|
// add the styles to the DOM
|
|
81451
|
-
var update = __webpack_require__(3)("
|
|
81655
|
+
var update = __webpack_require__(3)("508300b4", content, true, {});
|
|
81452
81656
|
|
|
81453
81657
|
/***/ }),
|
|
81454
81658
|
/* 629 */
|
|
@@ -81459,7 +81663,7 @@ exports = module.exports = __webpack_require__(2)(false);
|
|
|
81459
81663
|
|
|
81460
81664
|
|
|
81461
81665
|
// module
|
|
81462
|
-
exports.push([module.i, ".el-table-add-row{margin-top:10px;width:100%;height:34px;border:1px dashed #c1c1cd;border-radius:3px;cursor:pointer;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex;line-height:34px}.ct-form-list .list-title{padding-bottom:5px;text-align:left;display:inline-table;width:45%}.ct-form-list .list-button{padding-bottom:5px;text-align:right;display:inline-table;float:right}.ct-form-list .el-table__footer-wrapper .el-table__footer .has-gutter div,.ct-table-inputnumber{text-align:right}.ct-form-list .el-table__footer-wrapper .el-table__footer .has-gutter tr td:first-child div{text-align:left}.ct-table-required{color:red}.tableDisabled{pointer-events:none;opacity:.4}.has-gutter>tr>th>.cell>span{width:auto;white-space:nowrap}.el-table .cell{text-overflow:clip}.list-button ul{list-style:none;margin:0;padding:0;width:auto}.list-button ul li{margin-right:5px;float:left}", ""]);
|
|
81666
|
+
exports.push([module.i, ".el-collapse-saveLine .el-collapse-item__wrap{border-bottom:none}.el-table-add-row{margin-top:10px;width:100%;height:34px;border:1px dashed #c1c1cd;border-radius:3px;cursor:pointer;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:-webkit-box;display:-ms-flexbox;display:flex;line-height:34px}.ct-form-list .list-title{padding-bottom:5px;text-align:left;display:inline-table;width:45%}.ct-form-list .list-button{padding-bottom:5px;text-align:right;display:inline-table;float:right}.ct-form-list .el-table__footer-wrapper .el-table__footer .has-gutter div,.ct-table-inputnumber{text-align:right}.ct-form-list .el-table__footer-wrapper .el-table__footer .has-gutter tr td:first-child div{text-align:left}.ct-table-required{color:red}.tableDisabled{pointer-events:none;opacity:.4}.has-gutter>tr>th>.cell>span{width:auto;white-space:nowrap}.el-table .cell{text-overflow:clip}.list-button ul{list-style:none;margin:0;padding:0;width:auto}.list-button ul li{margin-right:5px;float:left}", ""]);
|
|
81463
81667
|
|
|
81464
81668
|
// exports
|
|
81465
81669
|
|
|
@@ -81469,7 +81673,7 @@ exports.push([module.i, ".el-table-add-row{margin-top:10px;width:100%;height:34p
|
|
|
81469
81673
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
81470
81674
|
|
|
81471
81675
|
"use strict";
|
|
81472
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"focus",rawName:"v-focus",value:(_vm.foucus),expression:"foucus"}],staticClass:"ct-form-list"},[(_vm.model.title)?_c('div',{staticClass:"list-title"},[_c('h5',[_vm._v(_vm._s(_vm.model.title))])]):(_vm.model.create || (_vm.model.selectRouter && _vm.model.selectRouter.id) || _vm.model.toolButtonsShow.length>0)?_c('div',{staticClass:"list-title"}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"list-button"},[(!_vm.model.tableDisabled)?[_c('ul',[_vm._l((_vm.model.toolButtonsShow),function(v,i){return _c('li',[_c(v.is,{tag:"component",attrs:{"vmodel":v,"parentModel":_vm.model},on:{"click":_vm.toolButtonsClick,"importComplete":_vm.importComplete,"change":function($event){_vm.toolButtonsChangeHandler(v,$event)}}})],1)}),_vm._v(" "),(_vm.model.selectRouter!==null)?_c('li',[_c(_vm.model.selectRouter.is,{tag:"component",attrs:{"vmodel":_vm.model.selectRouter},on:{"click":_vm.popupSearchListHandle}})],1):_vm._e(),_vm._v(" "),(_vm.model.create)?_c('li',[_c('el-button',{staticClass:"max-btn-add",staticStyle:{"width":"auto"},attrs:{"disabled":_vm.model.disabled,"type":"success","size":"mini","icon":"el-icon-circle-plus-outline"},on:{"click":_vm.addRow}},[_vm._v("\n "+_vm._s(_vm.model.createText)+"\n ")])],1):_vm._e()],2)]:_vm._e()],2),_vm._v(" "),_c('div',{attrs:{"id":"listTable"}},[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('el-table',{staticClass:"max-table--border",staticStyle:{"width":"100%"},attrs:{"size":"mini","data":_vm.model.tableData,"border":"","highlight-current-row":"","show-summary":_vm.model.showSummary,"summary-method":_vm.getSummaries}},[(_vm.model.rowActionRoutersAlign === 1)?[(_vm.model.rows[0].edit || _vm.model.rows[0].delete || (_vm.model.buttons.length > 0 && _vm.model.buttonsShow.length > 0))?_c('el-table-column',{attrs:{"label":"操作","fixed":_vm.fixedButtons,"width":'100%',"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.model.tableDisabled)?[(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]:_vm._e()]}}])}):_vm._e()]:_vm._e(),_vm._v(" "),_vm._l((_vm.model.rows[0].field),function(v,i){return (v.show !== false && v.type!==13)?_c('el-table-column',{key:i,attrs:{"prop":v.id,"label":v.label,"width":v.width,"fixed":_vm.model.frozenColumns.includes(v.id),"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [_c('div',{class:[{'ct-table-required':v.required&&_vm.model.rows[0].edit&& _vm.model.rows[0].delete&&!_vm.model.tableDisabled},_vm.getHeadClass(v)]},[_vm._v("\n "+_vm._s(v.label)+"\n ")])]}},{key:"default",fn:function(scope){return [(scope.row.isSet)?_c('span',[_c(_vm.model.currentRow.data[v.id].locked || _vm.model.currentRow.data[v.id].is!==v.is?_vm.model.currentRow.data[v.id].is:v.is,{key:_vm.model.currentRow.data[v.id].rowKey+_vm.itemKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":_vm.model.currentRow.data[v.id],"api":_vm.model.OptApi},on:{"change":function($event){_vm.changeHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)},"input":function($event){_vm.inputHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)}}})],1):(v.is=='ct-sensitiveeye')?_c('span',[_c(v.is,{key:_vm.itemKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":scope.row[v.id],"vrowmodel":scope.row,"api":_vm.model.OptApi}})],1):(v.router)?_c('span',{class:'cell',staticStyle:{"display":"flex"}},[_c('ct-tablecurrency',{attrs:{"router":v.router,"colValue":scope.row[v.id].code1,"rowData":scope.row},on:{"click":_vm.rolRouterClickHandler}})],1):_c('ct-span',{key:scope.row[v.id].rowKey+_vm.itemKey,ref:"FieldsLabel",refInFor:true,attrs:{"vmodel":scope.row[v.id],"rowNum":scope.row.$sourceIndex,"rowData":scope.row}})]}}])}):_vm._e()}),_vm._v(" "),(_vm.model.rowActionRoutersAlign !== 1)?[(_vm.model.rows[0].edit || _vm.model.rows[0].delete || (_vm.model.buttons.length > 0 && _vm.model.buttonsShow.length > 0))?_c('el-table-column',{attrs:{"label":"操作","fixed":_vm.fixedButtons,"width":'100%',"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.model.tableDisabled)?[(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]:_vm._e()]}}])}):_vm._e()]:_vm._e()],2)],1)],1)],1),_vm._v(" "),(_vm.model.description)?_c('div',{domProps:{"innerHTML":_vm._s(_vm.model.description)}}):_vm._e()])}
|
|
81676
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"focus",rawName:"v-focus",value:(_vm.foucus),expression:"foucus"}],staticClass:"ct-form-list"},[(_vm.model.flagCollapse)?_c('el-collapse',{class:'el-collapse-saveLine',model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:"activeName"}},[_c('el-collapse-item',{key:_vm.collapseIndex,class:_vm.model.tableDisabled ? 'ct-collapse-item-title' : '',attrs:{"title":_vm.model.title,"name":_vm.model.title,"disabled":_vm.model.tableDisabled}},[_c('template',{slot:"title"},[_c('i',{staticClass:"sign"}),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.model.title))])]),_vm._v(" "),_c('el-row',[_c('div',{staticClass:"list-button"},[(!_vm.model.tableDisabled)?[_c('ul',[_vm._l((_vm.model.toolButtonsShow),function(v,i){return _c('li',[_c(v.is,{tag:"component",attrs:{"vmodel":v,"parentModel":_vm.model},on:{"click":_vm.toolButtonsClick,"importComplete":_vm.importComplete,"change":function($event){_vm.toolButtonsChangeHandler(v,$event)}}})],1)}),_vm._v(" "),(_vm.model.selectRouter!==null)?_c('li',[_c(_vm.model.selectRouter.is,{tag:"component",attrs:{"vmodel":_vm.model.selectRouter},on:{"click":_vm.popupSearchListHandle}})],1):_vm._e(),_vm._v(" "),(_vm.model.create)?_c('li',[_c('el-button',{staticClass:"max-btn-add",staticStyle:{"width":"auto"},attrs:{"disabled":_vm.model.disabled,"type":"success","size":"mini","icon":"el-icon-circle-plus-outline"},on:{"click":_vm.addRow}},[_vm._v("\n "+_vm._s(_vm.model.createText)+"\n ")])],1):_vm._e()],2)]:_vm._e()],2),_vm._v(" "),_c('div',{attrs:{"id":"listTable"}},[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('el-table',{staticClass:"max-table--border",staticStyle:{"width":"100%"},attrs:{"size":"mini","data":_vm.model.tableData,"border":"","highlight-current-row":"","show-summary":_vm.model.showSummary,"summary-method":_vm.getSummaries}},[(_vm.model.rowActionRoutersAlign === 1)?[(_vm.model.rows[0].edit || _vm.model.rows[0].delete || (_vm.model.buttons.length > 0 && _vm.model.buttonsShow.length > 0))?_c('el-table-column',{attrs:{"label":"操作","fixed":_vm.fixedButtons,"width":'100%',"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.model.tableDisabled)?[(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]:_vm._e()]}}])}):_vm._e()]:_vm._e(),_vm._v(" "),_vm._l((_vm.model.rows[0].field),function(v,i){return (v.show !== false && v.type!==13)?_c('el-table-column',{key:i,attrs:{"prop":v.id,"label":v.label,"width":v.width,"fixed":_vm.model.frozenColumns.includes(v.id),"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [_c('div',{class:[{'ct-table-required':v.required&&_vm.model.rows[0].edit&& _vm.model.rows[0].delete&&!_vm.model.tableDisabled},_vm.getHeadClass(v)]},[_vm._v("\n "+_vm._s(v.label)+"\n ")])]}},{key:"default",fn:function(scope){return [(scope.row.isSet)?_c('span',[_c(_vm.model.currentRow.data[v.id].locked || _vm.model.currentRow.data[v.id].is!==v.is?_vm.model.currentRow.data[v.id].is:v.is,{key:_vm.model.currentRow.data[v.id].rowKey+_vm.itemKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":_vm.model.currentRow.data[v.id],"api":_vm.model.OptApi},on:{"change":function($event){_vm.changeHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)},"input":function($event){_vm.inputHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)}}})],1):(v.is=='ct-sensitiveeye')?_c('span',[_c(v.is,{key:_vm.itemKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":scope.row[v.id],"vrowmodel":scope.row,"api":_vm.model.OptApi}})],1):(v.router)?_c('span',{class:'cell',staticStyle:{"display":"flex"}},[_c('ct-tablecurrency',{attrs:{"router":v.router,"colValue":scope.row[v.id].code1,"rowData":scope.row},on:{"click":_vm.rolRouterClickHandler}})],1):_c('ct-span',{key:scope.row[v.id].rowKey+_vm.itemKey,ref:"FieldsLabel",refInFor:true,attrs:{"vmodel":scope.row[v.id],"rowNum":scope.row.$sourceIndex,"rowData":scope.row}})]}}])}):_vm._e()}),_vm._v(" "),(_vm.model.rowActionRoutersAlign !== 1)?[(_vm.model.rows[0].edit || _vm.model.rows[0].delete || (_vm.model.buttons.length > 0 && _vm.model.buttonsShow.length > 0))?_c('el-table-column',{attrs:{"label":"操作","fixed":_vm.fixedButtons,"width":'100%',"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.model.tableDisabled)?[(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]:_vm._e()]}}])}):_vm._e()]:_vm._e()],2)],1)],1)],1),_vm._v(" "),(_vm.model.description)?_c('div',{domProps:{"innerHTML":_vm._s(_vm.model.description)}}):_vm._e()])],2)],1):[(_vm.model.title)?_c('div',{staticClass:"list-title"},[_c('h5',[_vm._v(_vm._s(_vm.model.title))])]):(_vm.model.create || (_vm.model.selectRouter && _vm.model.selectRouter.id) || _vm.model.toolButtonsShow.length>0)?_c('div',{staticClass:"list-title"}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"list-button"},[(!_vm.model.tableDisabled)?[_c('ul',[_vm._l((_vm.model.toolButtonsShow),function(v,i){return _c('li',[_c(v.is,{tag:"component",attrs:{"vmodel":v,"parentModel":_vm.model},on:{"click":_vm.toolButtonsClick,"importComplete":_vm.importComplete,"change":function($event){_vm.toolButtonsChangeHandler(v,$event)}}})],1)}),_vm._v(" "),(_vm.model.selectRouter!==null)?_c('li',[_c(_vm.model.selectRouter.is,{tag:"component",attrs:{"vmodel":_vm.model.selectRouter},on:{"click":_vm.popupSearchListHandle}})],1):_vm._e(),_vm._v(" "),(_vm.model.create)?_c('li',[_c('el-button',{staticClass:"max-btn-add",staticStyle:{"width":"auto"},attrs:{"disabled":_vm.model.disabled,"type":"success","size":"mini","icon":"el-icon-circle-plus-outline"},on:{"click":_vm.addRow}},[_vm._v("\n "+_vm._s(_vm.model.createText)+"\n ")])],1):_vm._e()],2)]:_vm._e()],2),_vm._v(" "),_c('div',{attrs:{"id":"listTable"}},[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('el-table',{staticClass:"max-table--border",staticStyle:{"width":"100%"},attrs:{"size":"mini","data":_vm.model.tableData,"border":"","highlight-current-row":"","show-summary":_vm.model.showSummary,"summary-method":_vm.getSummaries}},[(_vm.model.rowActionRoutersAlign === 1)?[(_vm.model.rows[0].edit || _vm.model.rows[0].delete || (_vm.model.buttons.length > 0 && _vm.model.buttonsShow.length > 0))?_c('el-table-column',{attrs:{"label":"操作","fixed":_vm.fixedButtons,"width":'100%',"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.model.tableDisabled)?[(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]:_vm._e()]}}])}):_vm._e()]:_vm._e(),_vm._v(" "),_vm._l((_vm.model.rows[0].field),function(v,i){return (v.show !== false && v.type!==13)?_c('el-table-column',{key:i,attrs:{"prop":v.id,"label":v.label,"width":v.width,"fixed":_vm.model.frozenColumns.includes(v.id),"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"header",fn:function(scope){return [_c('div',{class:[{'ct-table-required':v.required&&_vm.model.rows[0].edit&& _vm.model.rows[0].delete&&!_vm.model.tableDisabled},_vm.getHeadClass(v)]},[_vm._v("\n "+_vm._s(v.label)+"\n ")])]}},{key:"default",fn:function(scope){return [(scope.row.isSet)?_c('span',[_c(_vm.model.currentRow.data[v.id].locked || _vm.model.currentRow.data[v.id].is!==v.is?_vm.model.currentRow.data[v.id].is:v.is,{key:_vm.model.currentRow.data[v.id].rowKey+_vm.itemKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":_vm.model.currentRow.data[v.id],"api":_vm.model.OptApi},on:{"change":function($event){_vm.changeHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)},"input":function($event){_vm.inputHandler(_vm.model.currentRow.data[v.id], _vm.model.currentRow.data.$sourceIndex)}}})],1):(v.is=='ct-sensitiveeye')?_c('span',[_c(v.is,{key:_vm.itemKey,ref:"Fields",refInFor:true,tag:"component",attrs:{"vmodel":scope.row[v.id],"vrowmodel":scope.row,"api":_vm.model.OptApi}})],1):(v.router)?_c('span',{class:'cell',staticStyle:{"display":"flex"}},[_c('ct-tablecurrency',{attrs:{"router":v.router,"colValue":scope.row[v.id].code1,"rowData":scope.row},on:{"click":_vm.rolRouterClickHandler}})],1):_c('ct-span',{key:scope.row[v.id].rowKey+_vm.itemKey,ref:"FieldsLabel",refInFor:true,attrs:{"vmodel":scope.row[v.id],"rowNum":scope.row.$sourceIndex,"rowData":scope.row}})]}}])}):_vm._e()}),_vm._v(" "),(_vm.model.rowActionRoutersAlign !== 1)?[(_vm.model.rows[0].edit || _vm.model.rows[0].delete || (_vm.model.buttons.length > 0 && _vm.model.buttonsShow.length > 0))?_c('el-table-column',{attrs:{"label":"操作","fixed":_vm.fixedButtons,"width":'100%',"render-header":_vm.renderHeader,"min-width":_vm.tableColumnWith},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(!_vm.model.tableDisabled)?[(scope.row.edit || scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,true)}}},[_vm._v("\n "+_vm._s(scope.row.isSet?'保存':"修改")+"\n ")]):_vm._e(),_vm._v(" "),(scope.row.delete && !scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--danger el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.deleteRow(scope.$index, scope.row.$sourceIndex)}}},[_vm._v("\n 删除\n ")]):(scope.row.isSet)?_c('span',{staticClass:"el-tag el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.saveRow(scope.row,scope.$index,false)}}},[_vm._v("\n 取消\n ")]):_vm._e(),_vm._v(" "),_vm._l((_vm.model.buttons),function(v,i){return (!scope.row.isSet && v.show && ( !v.rightField || !scope.row[v.rightField] || scope.row[v.rightField].value == 1 ))?_c('span',{staticClass:"el-tag el-tag--info el-tag--mini",staticStyle:{"cursor":"pointer"},on:{"click":function($event){_vm.buttonClick(scope.row, v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")]):_vm._e()})]:_vm._e()]}}])}):_vm._e()]:_vm._e()],2)],1)],1)],1),_vm._v(" "),(_vm.model.description)?_c('div',{domProps:{"innerHTML":_vm._s(_vm.model.description)}}):_vm._e()]],2)}
|
|
81473
81677
|
var staticRenderFns = []
|
|
81474
81678
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
81475
81679
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|