centaline-data-driven 1.3.53 → 1.3.54
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
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="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
5
5
|
<ct-dialog-list></ct-dialog-list>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
apiParam:{
|
|
15
|
-
|
|
15
|
+
originalTraId: "1562313224974503937", actionType: 3, pageStyle: 2, pageTitle: "成交报告", pageOnly: true
|
|
16
16
|
},
|
|
17
17
|
topHeight:10,
|
|
18
18
|
}
|
|
@@ -159,11 +159,17 @@
|
|
|
159
159
|
return false;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
+
|
|
162
163
|
//是否是取消操作
|
|
163
164
|
if (!isCancel) {
|
|
164
|
-
if (app.model.currentRow.isNew)
|
|
165
|
-
|
|
165
|
+
if (app.model.currentRow.isNew) {
|
|
166
|
+
app.model.tableData.splice(index, 1);
|
|
167
|
+
}
|
|
168
|
+
row.isSet = !row.isSet;
|
|
169
|
+
app.itemKey = Math.random();
|
|
170
|
+
return ;
|
|
166
171
|
}
|
|
172
|
+
|
|
167
173
|
//提交数据
|
|
168
174
|
if (row.isSet) {//保存
|
|
169
175
|
if (app.fieldsValidExcute()) {
|
|
@@ -194,7 +200,7 @@
|
|
|
194
200
|
app.model.currentRow.isNew = false;
|
|
195
201
|
app.model.currentRow.index = index;
|
|
196
202
|
app.model.currentRow.isSet = true;
|
|
197
|
-
row.isSet = true;
|
|
203
|
+
row.isSet = true;
|
|
198
204
|
app.itemKey = Math.random();
|
|
199
205
|
}
|
|
200
206
|
},
|
package/src/main.js
CHANGED
|
@@ -12,11 +12,11 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
12
12
|
// 关闭生产模式下给出的提示
|
|
13
13
|
Vue.config.productionTip = false;
|
|
14
14
|
Vue.use(centaline, {
|
|
15
|
-
baseUrl: "http://10.88.22.46:7070/v1/form/router",
|
|
15
|
+
// baseUrl: "http://10.88.22.46: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
|
-
|
|
19
|
-
|
|
18
|
+
baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
19
|
+
flagRouterSelf: true,
|
|
20
20
|
zindex: 999,
|
|
21
21
|
showRequestSuccessMessage: true,
|
|
22
22
|
showRequestErrorMessage: true,
|
|
@@ -41,7 +41,7 @@ Vue.use(centaline, {
|
|
|
41
41
|
// 获取请求头
|
|
42
42
|
getRequestHeaders: function () {
|
|
43
43
|
return {
|
|
44
|
-
oldToken: '
|
|
44
|
+
oldToken: '77791819-ac7d-4a5d-bd16-5278b9f0b5d7',
|
|
45
45
|
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQRO-ydVbK2ou9TgdOaDhEZGNHChXKRwIh7k4QSZeeV4xGr5l5wThHqMCu4E5stG4Fd2KjJWJnyTR4dNYjG9Yo5AU9G8_nutH-VEMB-XGHiowhrcQKFdCH6ScUK_0V85iHS37-49xt6pdZHfUhx2RRkmLkjpbWOcYyBbmW7DhkB-8PAAAA__8.oX2sKPWfJx-cxaoLU5NyK7dX-vrkTDtyOuiONphQ-yI',
|
|
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"}',
|