centaline-data-driven 1.1.56 → 1.1.57
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/Form.vue +1 -1
- package/src/centaline/css/common.css +4 -0
- package/src/centaline/css/max.css +2 -2
- package/src/centaline/dynamicFile/src/dynamicFile.vue +1 -0
- package/src/centaline/dynamicSo/src/dynamicSo.vue +1 -0
- package/src/centaline/dynamicSos/src/dynamicSos.vue +1 -0
- package/src/centaline/formData/index.js +1 -0
- package/src/centaline/loader/src/ctl/File.js +0 -4
- package/src/main.js +2 -2
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Form.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
|
-
<ct-form :api="'/
|
|
3
|
+
<ct-form :api="'/property/readDetail'" :apiParam="apiParam"></ct-form>
|
|
4
4
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
5
5
|
<!--:api="'FormSample/formdata'"-->
|
|
6
6
|
<!--<ct-form :source="formdata.content"></ct-form>-->
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
width:4px;
|
|
147
147
|
height:6px;
|
|
148
148
|
}
|
|
149
|
-
.ct-table
|
|
149
|
+
.ct-table-auto{
|
|
150
150
|
white-space: nowrap;
|
|
151
151
|
}
|
|
152
152
|
.max-cover-list-item .el-input__icon{
|
|
@@ -205,4 +205,4 @@
|
|
|
205
205
|
.el-input-group__append, .el-input-group__prepend {
|
|
206
206
|
color: #666;
|
|
207
207
|
border-color:#cecece;
|
|
208
|
-
}
|
|
208
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
:headers="headers"
|
|
14
14
|
:before-upload="beforeUploadProcess"
|
|
15
15
|
:on-success="handleAvatarSuccess"
|
|
16
|
+
:on-progress="uploadProcess"
|
|
16
17
|
>
|
|
17
18
|
<i slot="default" class="el-icon-plus"></i>
|
|
18
19
|
<div slot="tip" class="el-upload__tip errorMessage" v-show="!imgValid">{{validMessage}}</div>
|
|
@@ -231,6 +231,7 @@ const formData = {
|
|
|
231
231
|
//获取后台数据,并返回脚本。
|
|
232
232
|
execServerScript(action, object, successCallback) {
|
|
233
233
|
let formData = this;//作用域保存
|
|
234
|
+
debugger;
|
|
234
235
|
//是否是行内触发的
|
|
235
236
|
let data = this.getListField(this.form.scripts.$fd, null, null);
|
|
236
237
|
object.editMode = data ? 1 : 0;
|
|
@@ -27,7 +27,6 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
27
27
|
},
|
|
28
28
|
_fileList: [],
|
|
29
29
|
get fileList() {
|
|
30
|
-
debugger
|
|
31
30
|
if (this._fileList.length !== 0) {
|
|
32
31
|
return rtn._fileList;
|
|
33
32
|
}
|
|
@@ -42,7 +41,6 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
42
41
|
return rtn._fileList;
|
|
43
42
|
},
|
|
44
43
|
getfileListLength() {
|
|
45
|
-
debugger;
|
|
46
44
|
return rtn.fileList.length;
|
|
47
45
|
},
|
|
48
46
|
optionModel: {
|
|
@@ -212,7 +210,6 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
212
210
|
classify.file.source.mediaLabelID = classify.option[rtn.optionModel.optionAttrs.value];
|
|
213
211
|
},
|
|
214
212
|
handleAvatarSuccess(res, file, fileList) {
|
|
215
|
-
debugger;
|
|
216
213
|
if (res.rtnCode === Enum.ReturnCode.Successful) {
|
|
217
214
|
//下面的方式绑定,会有一些问题 todo 不强与页面关联
|
|
218
215
|
fileSourceList.push(res.content[0]);
|
|
@@ -241,7 +238,6 @@ const box = function (source, fileSourceList, router, optionApi) {
|
|
|
241
238
|
}
|
|
242
239
|
},
|
|
243
240
|
deleteFile(file, forceDelete) {
|
|
244
|
-
debugger;
|
|
245
241
|
for (let i = 0; i < rtn.fileList.length; i++) {
|
|
246
242
|
if (rtn.fileList[i].uid === file.uid) {
|
|
247
243
|
if (forceDelete) {
|
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
|
|
15
|
+
baseUrl: 'http://10.88.23.22:9999/v1/form/router',
|
|
16
16
|
zindex: 999,
|
|
17
17
|
showRequestErrorMessage: true,
|
|
18
18
|
handler: {
|
|
@@ -28,7 +28,7 @@ Vue.use(centaline, {
|
|
|
28
28
|
getRequestHeaders: function () {
|
|
29
29
|
return {
|
|
30
30
|
Authorization: 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjFiNTBiODcyLTdhZDAtNDIzZC05MDBhLTU1NzUwOTA0OTMyNSJ9.yQA99wDa3a-dZKSemFOrWZxyKZ6NtWmYVehf10OSUK8eO8Par7aZqboxCNMfEjIlXDGu5NH9u0KFcHQ7_17YMg',
|
|
31
|
-
originalRequestURL: 'http://10.88.22
|
|
31
|
+
originalRequestURL: 'http://10.88.23.22:9999',
|
|
32
32
|
EstateInfo: '{"estateId":"201509230915485D942241BBA30FF49F","estateName":"A-%E7%88%B1%E7%90%B4%E6%B5%B7B%E7%BB%84"}'
|
|
33
33
|
};
|
|
34
34
|
},
|