centaline-data-driven 1.4.85 → 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.85",
3
+ "version": "1.4.86",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -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
  },
@@ -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,7 +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.13: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",
@@ -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.eNrEzksKwjAUheG9ZOyF5L7jLG3sxEWI1RR0JFZBEfduxUU4_Qb_Oa8w38ewDhlNnZmg33QEXItBpylCr7lI8YLayU4HqYhmQDY49CkSIJYK0asNVCmrxV3lXByX0kJLCdMGvKMCKOxMg3A2CavQHpewTuqJRKPQKpz2tx-gZv3CfW7XbXv-49z5dlpmR0t8lDiBWGvAqSnsZZogjkqCaTocyMP7AwAA__8.S8HluKh69E2SDbM5s5Ff9U6dYD3vC_g9UbVQZOyLRGM',
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"}',