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 +1 -1
- package/src/Detail.vue +1 -1
- package/src/centaline/dynamicFile/src/dynamicFile.vue +7 -3
- package/src/centaline/loader/src/ctl/Base.js +3 -0
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Detail.vue
CHANGED
|
@@ -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 + "张";
|
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.
|
|
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',
|