centaline-data-driven 1.3.69 → 1.3.71

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.69",
3
+ "version": "1.3.71",
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: "1558013601325912064"} ,
13
+ apiParam: {actionType: 1,chanceID: "1524927953715204096"} ,
14
14
  }
15
15
  },
16
16
  mounted() {
@@ -18,11 +18,11 @@
18
18
  :limit="parseInt(model.max || 999)"
19
19
  :on-exceed="handleExceed">
20
20
  <i slot="default" class="el-icon-plus"></i>
21
- <!--<i slot="default" class="el-icon-plus" style="position: relative;"><div @click="testss($event)" class="max-ewmsc"></div></i>-->
22
-
23
21
  <div slot="tip" class="el-upload__tip errorMessage" v-show="!valid">
24
22
  {{ validMessage }}
25
23
  </div>
24
+ <div slot="tip" v-show="model.description" v-html="model.description">
25
+ </div>
26
26
  <div slot="file" slot-scope="{ file }" :title="file.fileName">
27
27
  <div class="cover-list-item">
28
28
  <el-image fit="fill" :src="file.url" style="width: 100px; height: 100px" :z-index="previewZIndex" @click="viewerfile(file)">
@@ -105,7 +105,11 @@
105
105
  load(data) {
106
106
  this.model = data;
107
107
  this.classifyClickHandle();
108
-
108
+ if(this.model.action==='' && !this.model.lock){
109
+ this.validMessage = "必须配置上传的URL";
110
+ this.valid = false;
111
+ this.$message.error(this.validMessage);
112
+ }
109
113
  },
110
114
  handleExceed() {
111
115
  this.validMessage = "附件数量最多" + this.model.max + "张";
@@ -298,6 +298,9 @@ const Base = function (source) {
298
298
  get routerKeyForEnterKey() {
299
299
  return source.routerKeyForEnterKey;
300
300
  },
301
+ get description() {
302
+ return source.description;
303
+ },
301
304
  };
302
305
 
303
306
  return rtn;
package/src/main.js CHANGED
@@ -42,7 +42,7 @@ Vue.use(centaline, {
42
42
  getRequestHeaders: function () {
43
43
  return {
44
44
  oldToken: '42ccd644-040d-4e01-9521-1623f1884058',
45
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVby2rv-pCNOaDhEFBsXoUIkkUCIuwMi6dIzxRTTvPeEaUlQg1vBHW30YQV3tNETcXBkOzwEF5EtG_QUPUa2kY9tZ2LTQgXlfoWarDVakxWpYBzmXyAj-huWqdxO5fGPc5d5_MwGCUqS9phTUsisFQ5ZGSyFg850FhGG1xsAAP__._bIs6F-PKatDpGVpnwJkgA9y7oaWPycWYjSN5gFSsI8',
45
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe8yNZPs7AzDLp0u2HgIortLgpURSDTGu6sROnpf8YrX_P-EcT5DDdUCbmil8wu4oZWOSHxF2uLOVwFFhdFRcBhEgxyalsO-gQLy_Qo1qTKTKX1ZwHCafsFaoW-Yx3w75sc_zl2m4TMrSSlyn9BxIpRoFJ33jDEyG0Nq-tLC6w0AAP__.LCDLmwb3vICVdDcNIJhJO9N3M1wsu3srY-dsG5CxyUc',
46
46
  originalRequestURL: 'http://10.88.22.67:8080',
47
47
  EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
48
48
  estateId: '20210729104021C49F04B55C50F6AF58',