centaline-data-driven 1.4.84 → 1.4.86

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.4.84",
3
+ "version": "1.4.86",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -4,10 +4,10 @@
4
4
 
5
5
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
6
6
 
7
- <ct-searchlist :apiParam="para"
7
+ <!-- <ct-searchlist :apiParam="para"
8
8
  :searchConditionApi="'/api/third-dept-tran/tran-list/layout'"
9
9
  :searchDataApi="'/api/third-dept-tran/tran-list'">
10
- </ct-searchlist>
10
+ </ct-searchlist> -->
11
11
 
12
12
 
13
13
  <!-- <ct-searchlist :apiParam="para"
@@ -28,11 +28,11 @@
28
28
  :searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
29
29
  </ct-searchlist> -->
30
30
 
31
- <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
31
+ <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
32
32
  :searchDataApi="'/PropertyRETList/getListOfSearchModel'"
33
33
  :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
34
34
  :searchStatsApi="'/PropertyRETList/getListStats'">
35
- </ct-searchlist> -->
35
+ </ct-searchlist>
36
36
 
37
37
  <!-- <ct-searchlist :searchConditionApi="'/PropertyOFIList/getLayoutOfSearch'"
38
38
  :searchDataApi="'/PropertyOFIList/getListOfSearchModel'"
@@ -56,7 +56,7 @@
56
56
  :style="{color:model.textColor,backgroundColor:model.imgUrl?'transparent':model.bgColor,borderColor:model.imgUrl?'transparent':model.borderColor,padding:model.imgUrl?'0px':null}"
57
57
  :icon="model.icon"
58
58
  :disabled="model.disabled || model.locked">
59
- <div v-if="teletext" :title="model.label">
59
+ <div v-if="flagAppMode" :title="model.label">
60
60
  <img :src="model.imgUrl" :height="model.buttonHeight+'px'"/>
61
61
  <div style="margin-top:5px;" class="labelText">{{model.label}}</div>
62
62
  </div>
@@ -76,7 +76,7 @@
76
76
  optionApi:String,
77
77
  rowData: Object,
78
78
  rowindex:Number,
79
- teletext:Boolean,
79
+ flagAppMode:Boolean,
80
80
  },
81
81
  mixins: [dynamicElement],
82
82
  data: function () {
@@ -29,7 +29,7 @@
29
29
  <div style="display: flex;flex-flow:row wrap ">
30
30
  <component v-for="(router, index) in model.actionRoutersSimple.slice(showIndex)" :key="index" class="drawerButton"
31
31
  v-if="!router.rightField || (model.fields1Dic[router.rightField] && model.fields1Dic[router.rightField].value == 1)"
32
- :is="router.is" :vmodel="router" :teletext="teletext" :api="model.optionApi" @click="fieldClickHandler(router)">
32
+ :is="router.is" :vmodel="router" :flagAppMode="model.flagAppMode" :api="model.optionApi" @click="fieldClickHandler(router)">
33
33
  </component>
34
34
  </div>
35
35
  </el-drawer>
@@ -153,7 +153,6 @@
153
153
  placement: 'left-start',//方向,传值可查看Popper UI组件placement属性
154
154
  },
155
155
  drawer: false,
156
- teletext:true
157
156
  }
158
157
  },
159
158
  watch: {
@@ -246,7 +246,8 @@
246
246
  var option = this.globalOptions.find((v) => { return v[self.model.optionAttrs.value] === value });
247
247
  if (option) {
248
248
  return option[self.model.optionAttrs.label];
249
- } else {
249
+ }
250
+ else {
250
251
  return "";
251
252
  }
252
253
  },
@@ -70,6 +70,9 @@ const Detail = function (source, para, callBack) {
70
70
  get title() {
71
71
  return data.title;
72
72
  },
73
+ get flagAppMode() {
74
+ return data.flagAppMode;
75
+ },
73
76
  get flagHiddenSensitiveInfo() {
74
77
  return data.flagHiddenSensitiveInfo;
75
78
  },
@@ -49,6 +49,11 @@ const Tags = function (source, moreActionRouter) {
49
49
  var tempV1 = JSON.parse(source.code1);
50
50
  tempV1.forEach((v1) => {
51
51
  if (v.findIndex((op) => { return op[rtn.optionAttrs.value] === v1[rtn.optionAttrs.value] }) !== -1) {
52
+ v.forEach((op)=>{
53
+ if(op[rtn.optionAttrs.value] === v1[rtn.optionAttrs.value]){
54
+ v1[rtn.optionAttrs.label] = op[rtn.optionAttrs.label];
55
+ }
56
+ });
52
57
  v1[rtn.optionAttrs.flagDeleted] = false;
53
58
  v.splice(v.findIndex((op) => { return op[rtn.optionAttrs.value] === v1[rtn.optionAttrs.value] }), 1);
54
59
  }
@@ -74,8 +79,7 @@ const Tags = function (source, moreActionRouter) {
74
79
  }
75
80
  return '';
76
81
  },
77
- get labelValue() {
78
-
82
+ get labelValue() {
79
83
  if (source.code1) {
80
84
  var rtnLabelValue = '';
81
85
  JSON.parse(source.code1).forEach((op) => {
package/src/main.js CHANGED
@@ -12,14 +12,14 @@ 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/max-uplink-api/v1/form/router",
15
+ baseUrl: "http://10.88.22.13:9004/max-uplink-api/v1/form/router",
16
16
  // baseUrl: "http://10.6.1.162:17070/max-uplink-api/v1/form/router",
17
17
  // baseUrl: "http://10.25.10.63:9999/v1/form/router",
18
18
  // baseUrl: "http://10.88.22.42:9999/v1/form/router",
19
19
  // baseUrl: "http://10.88.22.69:8080/api/",
20
20
  // baseUrl: "http://10.88.22.40:8080/api/",
21
- baseUrl: "http://tjcptest.centaline.com.cn/",
22
- flagRouterSelf: true,
21
+ // baseUrl: "http://tjcptest.centaline.com.cn/",
22
+ // flagRouterSelf: true,
23
23
  zindex: 999,
24
24
  showRequestSuccessMessage: true,
25
25
  showRequestErrorMessage: true,
@@ -48,7 +48,7 @@ Vue.use(centaline, {
48
48
  getRequestHeaders: function () {
49
49
  return {
50
50
  oldToken: '038e4dcf-1976-4fca-a66a-93611ea1b18c',
51
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEzjsOwjAQRdG9uM5I9sx4PnROTBoWESUkSFAhPhIIsXeCWATtKe57r3C9T2ETHFWMmaDbtgRci0IrKUInXnKxgtLmQfpcEVWBtDfoUiRALBWiVe2pkovGobIXw7W00lrCtAVrqQBmNqY-s2sOTVge57BJYtFyIvcmHMfbD1TYv3C_Lpfd8vzHudPtuM7ukTPZPIPgPAEfhGCc1SGOo0Y6LFOKU3h_AAAA__8.4YlxIx5iTyUWZz6HVudB_Leg7SNdXJlnOAySiulvnOg',
51
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe8yNZM4zOzujJ0u2HgIssAWWBmBRGO8uxqho_cVr3jN_08Y5xb2EBZwQyuNLeCGVhoisUC-xoOFiOKFUSkqRvFRTlXN8VhBAfl-hT15JXZm7AoY0vQLZWD3DfOYb-f8-Me5yzR8Zn2nLoeUsCXuUUgVVazDMgnt2Po2iIfXGwAA__8.HBO2CVtY9G5noVhElgHNtMUaUzW8DY-BlKm3gGLL6uM',
52
52
 
53
53
  originalRequestURL: 'http://10.88.22.67:8080',
54
54
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',