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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.5.99",
3
+ "version": "1.6.1",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,17 @@
1
+ # v1.6.1
2
+ 2024-03-11
3
+
4
+ bug
5
+
6
+ 表单列表操作显示bug处理
7
+
8
+ # v1.6.0
9
+ 2024-03-01
10
+
11
+ 优化
12
+
13
+ 列表单元格没有内容时,不显示超链接
14
+
1
15
  # v1.5.99
2
16
  2024-02-29
3
17
 
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="'/third-dept-tran/second-hand-transaction/electronic-contract'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
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
- "originalTraId":"1752262617589448705"
15
+ "paymentId":"1765284601361645570","actionType":"1","pageStyle":"2","pageTitle":"放款申请查看","pageOnly":"true"
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -141,7 +141,7 @@ const FormList = function (source, master) {
141
141
  if (rtn.buttons) {
142
142
  rtn.buttons.forEach((v) => {
143
143
  if(v.show){
144
- rtn._buttonsShow.push(button);
144
+ rtn._buttonsShow.push(v);
145
145
  }
146
146
  });
147
147
  }
@@ -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
- if(this.label||this.router.imgUrl){
66
- return true
65
+ let flag = false;
66
+ if(this.router.imgUrl){
67
+ flag = true
67
68
  }
68
- return false;
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
- // baseUrl: "http://tjcpuat.centaline.com.cn:9090/",
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: 'ef4d1857-73a3-4ff7-960b-1c27f1ae3f95',
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(button);
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
- if (this.label || this.router.imgUrl) {
67950
- return true;
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 false;
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 __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_f742caf8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicTableCurrency_vue__ = __webpack_require__(913);
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
- __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_f742caf8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_dynamicTableCurrency_vue__["a" /* default */],
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)("7221efda", content, true, {});
87407
+ var update = __webpack_require__(3)("23328392", content, true, {});
87399
87408
 
87400
87409
  /***/ }),
87401
87410
  /* 912 */