centaline-data-driven 1.2.83 → 1.2.84
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :api="'/PropertyRET/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
|
|
4
4
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
5
|
-
<ct-form :api="'/
|
|
5
|
+
<ct-form :api="'/api/finance/refund-apply/refundApplyView'" :apiParam="apiParam"></ct-form>
|
|
6
6
|
<!--<ct-form :api="'api/Form/formdata'"></ct-form>-->
|
|
7
7
|
<ct-dialog-list></ct-dialog-list>
|
|
8
8
|
</div>
|
|
@@ -18,7 +18,12 @@
|
|
|
18
18
|
// apiParam: {originalTraId: "1475658732246241281", actionType: 2, chanceID: "1"} ,
|
|
19
19
|
// apiParam: {originalTraId: "1516290587463507969", actionType: "3", pageStyle: "2", pageTitle: "成交报告",pageOnly: "true"}
|
|
20
20
|
apiParam:{
|
|
21
|
-
actionType:
|
|
21
|
+
actionType: 1,
|
|
22
|
+
originalTraId: "1491279498301755394",
|
|
23
|
+
pageOnly: true,
|
|
24
|
+
pageStyle: 2,
|
|
25
|
+
pageTitle: "放款申请查看",
|
|
26
|
+
paymentId: "1524305327414583297"
|
|
22
27
|
}
|
|
23
28
|
}
|
|
24
29
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</span>
|
|
33
33
|
<!--可点击的列-->
|
|
34
34
|
<span v-else-if="v.router" :class="'cell'" style="display: flex;">
|
|
35
|
-
<ct-tablecurrency :router="v.router" :colValue="scope.row[v.id].
|
|
35
|
+
<ct-tablecurrency :router="v.router" :colValue="scope.row[v.id].code1" :rowData="scope.row"
|
|
36
36
|
@click="rolRouterClickHandler">
|
|
37
37
|
</ct-tablecurrency>
|
|
38
38
|
</span>
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<span v-else-if="scope.row.isSet" class="el-tag el-tag--mini" style="cursor: pointer;" @click="saveRow(scope.row,scope.$index,false)">
|
|
53
53
|
取消
|
|
54
54
|
</span>
|
|
55
|
-
<span v-for="(v,i) in model.buttons" v-if="!scope.row.isSet" class="el-tag el-tag--info el-tag--mini" style="cursor: pointer;" @click="buttonClick(scope.row, v)">
|
|
55
|
+
<span v-for="(v,i) in model.buttons" v-if="!scope.row.isSet && v.show" class="el-tag el-tag--info el-tag--mini" style="cursor: pointer;" @click="buttonClick(scope.row, v)">
|
|
56
56
|
{{v.label}}
|
|
57
57
|
</span>
|
|
58
58
|
</template>
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
|
|
295
295
|
var submitData = {};
|
|
296
296
|
field.submitListField.forEach((k) => {
|
|
297
|
-
submitData[k] = rowData[k];
|
|
297
|
+
submitData[k] = rowData[k].value;
|
|
298
298
|
});
|
|
299
299
|
|
|
300
300
|
this.$emit('tableButtonClick', field, submitData);
|
package/src/main.js
CHANGED
|
@@ -12,10 +12,10 @@ 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.22:9999/v1/form/router",
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
baseUrl: "http://10.88.22.69:8080/",
|
|
18
|
+
flagRouterSelf: true,
|
|
19
19
|
zindex: 999,
|
|
20
20
|
showRequestErrorMessage: true,
|
|
21
21
|
handler: {
|
|
@@ -39,7 +39,7 @@ Vue.use(centaline, {
|
|
|
39
39
|
// 获取请求头
|
|
40
40
|
getRequestHeaders: function () {
|
|
41
41
|
return {
|
|
42
|
-
oldToken: '
|
|
42
|
+
oldToken: '5c3b43fb-5051-40e0-b9dc-577f37767af0',
|
|
43
43
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
44
44
|
EstateInfo: ' {"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"undefined"}',
|
|
45
45
|
Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6Ijk4NGM0ZjJlLTRhNTgtNDM4YS1iNjkxLWQyMTI4ZjdlYjNlMyJ9.nxO4kEXzIM2RJTXuX_AOoctKFvBiTZUEwHTu1YSFMn8JBjM9p-RK31ZB8ckJvlwgjiDGdbuGt1QOZRRP9KS3qQ',
|