centaline-data-driven 1.5.99 → 1.6.1
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/centaline/loader/src/ctl/FormList.js +1 -1
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +14 -3
- package/src/main.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js +16 -7
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/release-log.md
CHANGED
package/src/Form.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
4
|
-
<ct-form :api="'/
|
|
4
|
+
<ct-form :api="'/finance/refund-apply/refundApplyInfoView'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
"
|
|
15
|
+
"paymentId":"1765284601361645570","actionType":"1","pageStyle":"2","pageTitle":"放款申请查看","pageOnly":"true"
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
|
@@ -62,10 +62,21 @@
|
|
|
62
62
|
return (typeof this.colValue === "undefined" || this.colValue === '') ? this.router.label : this.colValue
|
|
63
63
|
},
|
|
64
64
|
isShowLabel:function(){
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
let flag = false;
|
|
66
|
+
if(this.router.imgUrl){
|
|
67
|
+
flag = true
|
|
67
68
|
}
|
|
68
|
-
|
|
69
|
+
else if(this.isOperationalColumn){
|
|
70
|
+
if(this.label){
|
|
71
|
+
flag = true
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
if(this.colValue){
|
|
76
|
+
flag = true
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return flag;
|
|
69
80
|
},
|
|
70
81
|
},
|
|
71
82
|
created() {
|
package/src/main.js
CHANGED
|
@@ -26,7 +26,7 @@ Vue.use(centaline, {
|
|
|
26
26
|
// baseUrl: "http://10.88.22.42:9999/service-api/",
|
|
27
27
|
// baseUrl: "http://10.1.245.111:38028/",
|
|
28
28
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
29
|
-
|
|
29
|
+
baseUrl: "https://shccai.centaline.com.cn/api/",
|
|
30
30
|
flagRouterSelf: true,
|
|
31
31
|
zindex: 999,
|
|
32
32
|
showRequestSuccessMessage: true,
|
|
@@ -55,7 +55,7 @@ Vue.use(centaline, {
|
|
|
55
55
|
// 获取请求头
|
|
56
56
|
getRequestHeaders: function () {
|
|
57
57
|
return {
|
|
58
|
-
oldToken: '
|
|
58
|
+
oldToken: '591b739f-0a9c-47ea-849d-c08394022b0d',
|
|
59
59
|
token:'1080-1762727915918856192',
|
|
60
60
|
authObject: '{token:"1080-1763003422333865984"}',
|
|
61
61
|
|
|
@@ -56618,7 +56618,7 @@ var FormList = function FormList(source, master) {
|
|
|
56618
56618
|
if (rtn.buttons) {
|
|
56619
56619
|
rtn.buttons.forEach(function (v) {
|
|
56620
56620
|
if (v.show) {
|
|
56621
|
-
rtn._buttonsShow.push(
|
|
56621
|
+
rtn._buttonsShow.push(v);
|
|
56622
56622
|
}
|
|
56623
56623
|
});
|
|
56624
56624
|
}
|
|
@@ -67946,10 +67946,19 @@ __WEBPACK_IMPORTED_MODULE_2_vue___default.a.use(__WEBPACK_IMPORTED_MODULE_1_v_vi
|
|
|
67946
67946
|
return typeof this.colValue === "undefined" || this.colValue === '' ? this.router.label : this.colValue;
|
|
67947
67947
|
},
|
|
67948
67948
|
isShowLabel: function isShowLabel() {
|
|
67949
|
-
|
|
67950
|
-
|
|
67949
|
+
var flag = false;
|
|
67950
|
+
if (this.router.imgUrl) {
|
|
67951
|
+
flag = true;
|
|
67952
|
+
} else if (this.isOperationalColumn) {
|
|
67953
|
+
if (this.label) {
|
|
67954
|
+
flag = true;
|
|
67955
|
+
}
|
|
67956
|
+
} else {
|
|
67957
|
+
if (this.colValue) {
|
|
67958
|
+
flag = true;
|
|
67959
|
+
}
|
|
67951
67960
|
}
|
|
67952
|
-
return
|
|
67961
|
+
return flag;
|
|
67953
67962
|
}
|
|
67954
67963
|
},
|
|
67955
67964
|
created: function created() {
|
|
@@ -87354,7 +87363,7 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
87354
87363
|
"use strict";
|
|
87355
87364
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicTableCurrency_vue__ = __webpack_require__(425);
|
|
87356
87365
|
/* unused harmony namespace reexport */
|
|
87357
|
-
/* harmony import */ var
|
|
87366
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_254f6caa_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicTableCurrency_vue__ = __webpack_require__(913);
|
|
87358
87367
|
function injectStyle (ssrContext) {
|
|
87359
87368
|
__webpack_require__(911)
|
|
87360
87369
|
}
|
|
@@ -87374,7 +87383,7 @@ var __vue_scopeId__ = null
|
|
|
87374
87383
|
var __vue_module_identifier__ = null
|
|
87375
87384
|
var Component = normalizeComponent(
|
|
87376
87385
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_dynamicTableCurrency_vue__["a" /* default */],
|
|
87377
|
-
|
|
87386
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_254f6caa_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicTableCurrency_vue__["a" /* default */],
|
|
87378
87387
|
__vue_template_functional__,
|
|
87379
87388
|
__vue_styles__,
|
|
87380
87389
|
__vue_scopeId__,
|
|
@@ -87395,7 +87404,7 @@ var content = __webpack_require__(912);
|
|
|
87395
87404
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
87396
87405
|
if(content.locals) module.exports = content.locals;
|
|
87397
87406
|
// add the styles to the DOM
|
|
87398
|
-
var update = __webpack_require__(3)("
|
|
87407
|
+
var update = __webpack_require__(3)("23328392", content, true, {});
|
|
87399
87408
|
|
|
87400
87409
|
/***/ }),
|
|
87401
87410
|
/* 912 */
|