centaline-data-driven 1.1.53 → 1.1.54

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.1.53",
3
+ "version": "1.1.54",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/src/Form.vue CHANGED
@@ -1,39 +1,23 @@
1
1
  <template>
2
2
  <div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
3
- <!-- <ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam"></ct-form> -->
3
+ <ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam"></ct-form>
4
4
  <!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
5
5
  <!--:api="'FormSample/formdata'"-->
6
6
  <!--<ct-form :source="formdata.content"></ct-form>-->
7
7
  <!--<ct-form :api="'/api/form/formdata/contractDetail'" :apiParam="apiParam"></ct-form>-->
8
8
  <!--<ct-form :api="'api/Form/formdata'"></ct-form>-->
9
- <!-- <ct-form :api="'/forminfo/readDetail'" :apiParam="apiParam"></ct-form> -->
10
- <!-- <ct-form :api="'PropertyKey/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
11
- <ct-form :api="'Worklist/getLayoutOfAudit'" :apiParam="apiParam"></ct-form>
12
- <!-- <ct-form :api="'/api/distribution/transaction/add'" :apiParam="apiParam"></ct-form> -->
13
9
  <ct-dialog-list></ct-dialog-list>
14
10
  </div>
15
11
  </template>
16
12
 
17
13
  <script>
18
14
  export default {
19
- name: 'DataDrivenForm',
15
+ name: 'App',
20
16
  data() {
21
17
  return {
22
- // apiParam: {originalTraId: "1481454808274235394", actionType: 3, pageTitle: "成交报告", pageOnly: true} ,
18
+ apiParam: {originalTraId: "1475658732246241281", actionType: 3, pageTitle: "成交报告", pageOnly: true} ,
23
19
  // apiParam: {headerParam: {}, urlParam: {contractID: "06cad32e-4d0d-4b6f-bd24-16a28629a550", actionType: "0"}}
24
20
  // apiParam: {SN: "13557_132", UserID: "wuhan3"},
25
- // apiParam: {actionType: 3,formId: "2c12649f-09c5-4aa9-8011-b6d1c7b56a41"} ,
26
- // apiParam: {chanceID: "1", actionType: 2} ,
27
- apiParam: {worklistID: "1491261975253094400", actionType: 2}
28
- // apiParam: {
29
- // actionType: 2,
30
- // agentId: "1450283160825425922",
31
- // estateId: "B6E6B3D8-FDF2-4AF8-91E6-B348D637E993",
32
- // pageOnly: true,
33
- // pageStyle: 2,
34
- // propertyId: "14102015-0736-9265-205A-451687BF7062",
35
- // relProId: "1475708315466829833",
36
- // }
37
21
  }
38
22
  },
39
23
  methods: {
@@ -736,8 +736,14 @@ html {
736
736
  .ct-dialog_body .el-card__body{
737
737
  padding: 0px 3px 10px 10px!important;
738
738
  }
739
+ .ct-text .ct-font-size-mini{
740
+ padding-left: 5px!important;
741
+ }
739
742
  .ct-text .ct-font-size-mini span{
740
743
  display: inline-block;
741
744
  margin-top: 1px;
742
745
  color: #388cd3;
746
+ }
747
+ .lableinput .el-input__inner{
748
+ border: none !important;
743
749
  }
@@ -8,4 +8,4 @@ if (typeof window !== 'undefined' && window.Vue) {
8
8
  window.Vue.use(dynamicHyperLink);
9
9
  }
10
10
 
11
- export default dynamicHyperLink
11
+ export default dynamicHyperLink
@@ -2,7 +2,7 @@
2
2
  <div class="field-top">
3
3
  <div class="ct-text" style="width:100%;display:flex" v-if="model !== null">
4
4
  <el-input v-model="model.labelValue" v-bind="model.attrs"
5
- :class="[model.showLabel?'showLabel':'',!valid?'inputError':'']"
5
+ :class="[model.showLabel?'showLabel':'',!valid?'inputError':'','lableinput']"
6
6
  :type="model.showLabel? 'text':'textarea'"
7
7
  style="flex:1" autosize :readonly="true" :disabled="model.lock" autocomplete="on">
8
8
  <div v-if="model.showLabel && model.label" slot="prepend" class="" :class="[model.labelClass]">
@@ -8,4 +8,4 @@ if (typeof window !== 'undefined' && window.Vue) {
8
8
  window.Vue.use(dynamicPlaceHolder);
9
9
  }
10
10
 
11
- export default dynamicPlaceHolder
11
+ export default dynamicPlaceHolder
@@ -16,17 +16,17 @@
16
16
  data() {
17
17
  return {
18
18
  activeName: '1',
19
- editableTabs: [
20
- { name: '1', title: '用户管理' },
21
- { name: '2', title: '配置管理' },
22
- { name: '3', title: '角色管理' },
23
- { name: '4', title: '定时任务补偿' },
24
- { name: '5', title: '定时任务补偿2' },
25
- { name: '6', title: '定时任务补偿3' },
26
- { name: '7', title: '定时任务补偿4' },
27
- { name: '8', title: '定时任务补偿5' },
28
- { name: '9', title: '定时任务补偿6' },
29
- { name: '10', title: '定时任务补偿7' }
19
+ editableTabs: [
20
+ { name: '1', title: '用户管理' },
21
+ { name: '2', title: '配置管理' },
22
+ { name: '3', title: '角色管理' },
23
+ { name: '4', title: '定时任务补偿' },
24
+ { name: '5', title: '定时任务补偿2' },
25
+ { name: '6', title: '定时任务补偿3' },
26
+ { name: '7', title: '定时任务补偿4' },
27
+ { name: '8', title: '定时任务补偿5' },
28
+ { name: '9', title: '定时任务补偿6' },
29
+ { name: '10', title: '定时任务补偿7' }
30
30
  ],
31
31
  }
32
32
  },
@@ -1,5 +1,5 @@
1
1
  import base from '../../index';
2
- import Base from './Base';
2
+ import Base from './Base';
3
3
 
4
4
  const PlaceHolder = function (source) {
5
5
  var rtn = {
@@ -14,4 +14,4 @@ const PlaceHolder = function (source) {
14
14
  return rtn;
15
15
  };
16
16
 
17
- export default PlaceHolder;
17
+ export default PlaceHolder;
package/src/main.js CHANGED
@@ -12,8 +12,7 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- baseUrl: "http://10.88.22.46:7070/v1/form/router",
16
- // baseUrl: "http://tjcptest.centaline.com.cn/v1/form/router",
15
+ baseUrl: process.env.BASE_API,
17
16
  zindex: 999,
18
17
  showRequestErrorMessage: true,
19
18
  handler: {
@@ -21,12 +20,6 @@ Vue.use(centaline, {
21
20
  openTab: function (action) {
22
21
  alert("打开tab页:" + action)
23
22
  },
24
- openDetail: function (action) {
25
- alert("打开tab页:" + action)
26
- },
27
- openPropertyDetailRET: function (submitData, pageTitle, parentModel) {
28
- alert("打开tab页:" + pageTitle)
29
- },
30
23
  // 关闭当前tab
31
24
  closeTab: function () {
32
25
  alert("关闭当前tab")
@@ -34,10 +27,8 @@ Vue.use(centaline, {
34
27
  // 获取请求头
35
28
  getRequestHeaders: function () {
36
29
  return {
37
- oldToken: '3007e478-86db-4d5a-8ce0-7253afb746b2',
30
+ oldToken: 'd09609ec-e13a-4b97-8c15-e003b1c36cbc',
38
31
  estateId: '20210729104021C49F04B55C50F6AF58',
39
- originalRequestURL: 'http://10.88.22.67:8080',
40
- Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE0NmU5ZjEzLTVjMmYtNGVlMy1hM2U5LWIxM2QyZThjZTBhZSJ9.Gl8K5lbG7t5DyCqouu7Ux7Oh9xuAxqdOXr4JnoHCN-YwC3b2zPO-C2sHbYJUZHYQPa7kTNRmg1xJiwugpVo5Xw',
41
32
  };
42
33
  },
43
34
  // 请求完成事件,可判断是否登录过期执行响应操作