centaline-data-driven 1.3.72 → 1.3.74

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.3.72",
3
+ "version": "1.3.74",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/src/Detail.vue CHANGED
@@ -10,7 +10,7 @@
10
10
  name: 'DataDrivendetail',
11
11
  data() {
12
12
  return {
13
- apiParam: {actionType: 1,chanceID: "1524927953715204096"} ,
13
+ apiParam: {actionType: 1,chanceID: "1"} ,
14
14
  }
15
15
  },
16
16
  mounted() {
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="'/CCAIWorklist/getLayoutOfAudit'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/estatemanage/estate/getEstateInfo'" :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
- worklistID: "14749_39", actionType: 2
15
+
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -258,7 +258,6 @@ const common = {
258
258
  self.closeDialog(dialogOption);
259
259
  reject()
260
260
  },
261
-
262
261
  }
263
262
  }]
264
263
  };
@@ -4,4 +4,5 @@
4
4
  }
5
5
  .ccai.button-absolute{
6
6
  bottom: 26px;
7
+ width: calc(100% - 47px);
7
8
  }
@@ -307,6 +307,8 @@
307
307
  field.disabled = true;//提交按钮禁用
308
308
  self.model.pageDisabled= true;
309
309
  field.doAction(self.getFormObj(), (data) => {
310
+ field.disabled = false;
311
+ self.model.pageDisabled= false;
310
312
  if (data.rtnCode === 200) {
311
313
  if(data.notification===17){
312
314
  self.clickHandler(self.model.getRtnRouter(data.content),null)
@@ -335,8 +337,6 @@
335
337
  self.parentModel.$vue.closeTabThen(data);
336
338
  }
337
339
  }
338
- field.disabled = false;
339
- self.model.pageDisabled= false;
340
340
  },self.model.scripts);
341
341
  }
342
342
  //无值,触发submit事件
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <div v-if="model.routerKey&&model.visibility!='0'">
3
- <div v-if="model.rightRouter&&model.value!=''" :style="model.styleObject">
3
+ <div v-if="model.rightRouter&&model.value!=''" class="wb" :style="model.styleObject">
4
4
  <a href="javascript:void(0);" @click="clickHandler($event)" class="ct-tablecurrencyItem">
5
5
  {{model.value}}
6
6
  </a>
7
7
  </div>
8
8
  </div>
9
- <div v-else-if="model.value!=''&&model.visibility!='0'" :style="model.styleObject" v-html="model.value">
9
+ <div v-else-if="model.value!=''&&model.visibility!='0'" class="wb" :style="model.styleObject" v-html="model.value">
10
10
  </div>
11
11
  </template>
12
12
 
@@ -28,8 +28,8 @@
28
28
  }
29
29
  },
30
30
  created() {
31
- this.model = this.loaderObj.CellLayout(this.vmodel, this.actionRouter, this.rowdata, this.forname, this.forrowindex);
32
-
31
+ this.model = this.loaderObj.CellLayout(this.vmodel, this.actionRouter, this.rowdata, this.forname, this.forrowindex);
32
+ console.log(this.model);
33
33
  },
34
34
 
35
35
  methods: {
@@ -62,4 +62,7 @@
62
62
  width: 24px;
63
63
  margin-top: 2px;
64
64
  }
65
+ .wb {
66
+ word-break: break-all;
67
+ }
65
68
  </style>
@@ -41,10 +41,10 @@
41
41
  self.load(self.vmodel);
42
42
  }
43
43
  else if (typeof self.source !== 'undefined') {
44
- self.loaderObj.SearchCategory(self.source,self.load);
44
+ self.loaderObj.SearchCategory(self.source,self.load,self.loadError);
45
45
  }
46
46
  else if (typeof self.api !== 'undefined') {
47
- self.loaderObj.SearchCategory(self.api, self.load);
47
+ self.loaderObj.SearchCategory(self.api, self.load,self.loadError);
48
48
  }
49
49
  });
50
50
  },
@@ -55,6 +55,9 @@
55
55
  parm[this.model.id]=this.model.value;
56
56
  this.$emit('loadedCategory',parm);
57
57
  },
58
+ loadError() {
59
+ this.$emit('loadedCategoryError');
60
+ },
58
61
  clearClickHandle: function (event) {
59
62
  this.model.value = '';
60
63
  this.inputHandler(this.model.value);
@@ -2,10 +2,10 @@
2
2
  <div ref="main" style="width: 100%;height: 100%;display: flex;" :class="{'domDisabled':pageDisabled}">
3
3
  <div class="ct-search-list" :style="{'height': pageHeight? pageHeight:'100%','width':searchWidth?searchWidth+'px':'100%'}" >
4
4
  <div slot="header" class="clearfix" v-if="typeof title !== 'undefined' && showTitle">
5
- <span style="font-weight:bold">{{title}}</span>
5
+ <span style="font-weight:bold">{{title}}</span>
6
6
  </div>
7
- <ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
8
- @changeCategory="categorychange" ></ct-searchcategory>
7
+ <ct-searchcategory v-if="searchCategoryApi" ref="category" :api="searchCategoryApi" @loadedCategory="categoryLoaded"
8
+ @loadedCategoryError="categoryLoadedError" @changeCategory="categorychange" ></ct-searchcategory>
9
9
 
10
10
  <ct-searchscreen ref="screen" :api="searchConditionApi" :key="reloadKeyScreen"
11
11
  @loaded="screenLoaded" :screenPara="screenPara"
@@ -139,6 +139,10 @@
139
139
  if(param)this.screenPara=param;
140
140
  this.$refs.screen.searchComplate();
141
141
  },
142
+ categoryLoadedError() {
143
+ this.$refs.screen.isLoading=false;
144
+ this.$refs.table.isLoading=false;
145
+ },
142
146
  categorychange(param) {
143
147
  if(param)this.screenPara=param;
144
148
  this.reloadKey = this.reloadKey+1;
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="st-serach-screen">
3
- <div v-bind="model.attrs" style="width:100%" v-if="!isLoading">
3
+ <div v-bind="model.attrs" style="width:100%" v-if="!isLoading && model">
4
4
  <div :class="isLayout === true ? 'ct-ptl0 max-ptb5' : 'ct-ptb5 max-ptb5'" v-if="showScreen">
5
5
  <template v-for="(col, index) in model.screen" v-if="col.show !== false">
6
6
  <br v-if="col.is === 'ct-linefeed'" />