centaline-data-driven 1.3.58 → 1.3.59
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 +2 -6
- package/src/SearchList.vue +4 -4
- package/src/centaline/dynamicFile/src/dynamicFile.vue +8 -3
- package/src/centaline/loader/src/ctl/Router.js +6 -3
- package/src/main.js +2 -2
- 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/Form.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
4
|
-
<ct-form :api="'/
|
|
4
|
+
<ct-form :api="'/PropertyChanceTipOff/getLayoutOfNew'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,11 +12,7 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
|
|
16
|
-
businessId: "1557203282719256578",
|
|
17
|
-
pageOnly: "true",
|
|
18
|
-
pageStyle: "2",
|
|
19
|
-
stepId: "1557203798568316929",
|
|
15
|
+
chanceID: "1526015051042000896", actionType: 2
|
|
20
16
|
},
|
|
21
17
|
topHeight:10,
|
|
22
18
|
}
|
package/src/SearchList.vue
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
:searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
|
|
9
9
|
:searchDataApi="'/ProfileWorklistList/getListOfSearchModel'" :apiParam="para"></ct-searchlist> -->
|
|
10
10
|
|
|
11
|
-
<ct-searchlist :searchConditionApi="'/api/agenttrans/transactionList/getLayoutOfSearch'"
|
|
11
|
+
<!-- <ct-searchlist :searchConditionApi="'/api/agenttrans/transactionList/getLayoutOfSearch'"
|
|
12
12
|
:searchDataApi="'/api/agenttrans/transactionList/getTableList'">
|
|
13
|
-
</ct-searchlist>
|
|
13
|
+
</ct-searchlist> -->
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
16
16
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
17
17
|
:searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
|
|
18
18
|
:searchStatsApi="'/exampleList/getListStats'">
|
|
19
|
-
</ct-searchlist>
|
|
19
|
+
</ct-searchlist>
|
|
20
20
|
|
|
21
21
|
<ct-dialog-list></ct-dialog-list>
|
|
22
22
|
</div>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</el-dropdown>
|
|
57
57
|
</span>
|
|
58
58
|
</div>
|
|
59
|
-
<el-progress type="circle" v-if="file.progressFlag" :percentage="file.loadProgress" :width="96" :height="96"
|
|
59
|
+
<el-progress type="circle" v-if="file.progressFlag" :percentage="file.loadProgress" :width="96" :height="96" class="file-cirle"></el-progress>
|
|
60
60
|
</div>
|
|
61
61
|
</el-upload>
|
|
62
62
|
</div>
|
|
@@ -89,7 +89,8 @@ export default {
|
|
|
89
89
|
if (self.vmodel) {
|
|
90
90
|
self.load(self.vmodel);
|
|
91
91
|
self.$emit("loaded");
|
|
92
|
-
}
|
|
92
|
+
}
|
|
93
|
+
else if (typeof self.source !== "undefined") {
|
|
93
94
|
self.loaderObj.File(self.source, (data) => {
|
|
94
95
|
self.load(data);
|
|
95
96
|
});
|
|
@@ -255,7 +256,7 @@ export default {
|
|
|
255
256
|
}
|
|
256
257
|
}
|
|
257
258
|
|
|
258
|
-
if (this.model.max) {
|
|
259
|
+
if (this.model.max && this.model.max>0) {
|
|
259
260
|
if (this.model.getfileListLength() >= this.model.max) {
|
|
260
261
|
this.disableUpload = true;
|
|
261
262
|
}
|
|
@@ -418,4 +419,8 @@ export default {
|
|
|
418
419
|
top: -35px;
|
|
419
420
|
left: 35px;
|
|
420
421
|
}
|
|
422
|
+
|
|
423
|
+
.file-cirle .el-progress-circle {
|
|
424
|
+
margin-left: 15px;
|
|
425
|
+
}
|
|
421
426
|
</style>
|
|
@@ -267,11 +267,14 @@ const Router = function (source) {
|
|
|
267
267
|
doAction(data, callback, scripts) {
|
|
268
268
|
if (rtn.action) {
|
|
269
269
|
Vue.prototype.$api.postHandler(common.globalUri(), rtn.getActionPara(data), scripts).then((response) => {
|
|
270
|
-
|
|
270
|
+
if (response.rtnCode === Enum.ReturnCode.Successful) {
|
|
271
|
+
callback(response);
|
|
272
|
+
}
|
|
271
273
|
}).catch((ex) => {
|
|
272
|
-
callback(ex); //里面需要有data.rtnCode === 200的处理
|
|
274
|
+
// callback(ex); //里面需要有data.rtnCode === 200的处理
|
|
273
275
|
});
|
|
274
|
-
}
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
275
278
|
callback({
|
|
276
279
|
rtnCode: Enum.ReturnCode.Successful
|
|
277
280
|
});
|
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.22.13:7070/v1/form/router",
|
|
16
16
|
// baseUrl: "http://10.88.23.25:9999/v1/form/router",
|
|
17
17
|
// baseUrl: "http://10.88.22.40:8080/",
|
|
18
18
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
@@ -42,7 +42,7 @@ Vue.use(centaline, {
|
|
|
42
42
|
getRequestHeaders: function () {
|
|
43
43
|
return {
|
|
44
44
|
oldToken: '77791819-ac7d-4a5d-bd16-5278b9f0b5d7',
|
|
45
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
45
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgkAQRP9lazZhub3dOzo9sPEjyAFngpURSDTGfxcjdPS-4hWTTGZeMM4tlKAruKONxq_gjjYaIvZKUuPBa0AWNugoOAwsgU9VbcKxggzS4wYliZA3yjlnMMTpFzhL-TeYx3Q_p-c_zl2nYZkVTX2h0WDXakTO-wLdxdul4anrbexsEnh_AAAA__8.MEtSxad4sPrz3kQNLxWCgE6EQtonJes5uYAZ_QZYDTU',
|
|
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',
|