centaline-data-driven 1.3.38 → 1.3.39
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 +6 -2
- package/src/centaline/dynamicDetail/src/dynamicContactList.vue +1 -1
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +4 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +3 -4
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +1 -4
- package/src/centaline/loader/src/ctl/ContactList.js +1 -0
- package/src/centaline/loader/src/ctl/FormList.js +2 -0
- package/src/main.js +1 -1
- 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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="form-app" 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="'/api/third-dept-tran/
|
|
5
|
+
<ct-form :api="'/api/third-dept-tran/tran-comm-adjust/create'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
|
|
6
6
|
<!-- <ct-form :api="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam"></ct-form> -->
|
|
7
7
|
<ct-dialog-list></ct-dialog-list>
|
|
8
8
|
</div>
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
data() {
|
|
15
15
|
return {
|
|
16
16
|
apiParam:{
|
|
17
|
-
|
|
17
|
+
actionType: 2,
|
|
18
|
+
commAdjustCategory: "CC01020020",
|
|
19
|
+
originalTraId: "1552533586416844802",
|
|
20
|
+
pageOnly: true,
|
|
21
|
+
pageStyle: 2,
|
|
18
22
|
},
|
|
19
23
|
topHeight:10,
|
|
20
24
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<div class="contacts-tips" v-else>
|
|
10
10
|
<component class="el-button el-button--primary el-button--mini max-btn-add"
|
|
11
11
|
v-if="model && model.buttons!==null && model.buttons.length>0"
|
|
12
|
-
v-for="(col, index) in model.buttons" :key="
|
|
12
|
+
v-for="(col, index) in model.buttons" :key="col.key"
|
|
13
13
|
:is="col.is" :vmodel="col"
|
|
14
14
|
@click="fieldClickHandler(col,$event)"></component>
|
|
15
15
|
</div>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<ct-tablecurrency :router="v.router" :colValue="scope.row[v.id].code1" :rowData="scope.row" @click="rolRouterClickHandler">
|
|
39
39
|
</ct-tablecurrency>
|
|
40
40
|
</span>
|
|
41
|
-
<ct-span v-else :vmodel="scope.row[v.id]" :rowNum="scope.row.$sourceIndex" ref="FieldsLabel"></ct-span>
|
|
41
|
+
<ct-span v-else :vmodel="scope.row[v.id]" :rowNum="scope.row.$sourceIndex" :key="scope.row[v.id].rowKey" ref="FieldsLabel"></ct-span>
|
|
42
42
|
</template>
|
|
43
43
|
</el-table-column>
|
|
44
44
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<ct-searchtable ref="table" :api="searchDataApi" :searchStatsApi="searchStatsApi" :from="from" @loaded="tableLoaded"
|
|
16
16
|
@toolbarClick="toolbarClickHandler" @refreshParent="refreshParentHandler" :key="reloadKeyTable" @searchComplate="searchComplate"
|
|
17
|
-
@rowClickHandle="rowClickHandle" @scrollHandle="scrollHandle" @refreshRowHandle="refreshRowHandle"
|
|
17
|
+
@rowClickHandle="rowClickHandle" @scrollHandle="scrollHandle" @refreshRowHandle="refreshRowHandle" @doClosePopoverHandle="doClosePopoverHandle"
|
|
18
18
|
@showTitle="showTitleHandler"></ct-searchtable>
|
|
19
19
|
</div>
|
|
20
20
|
<div ref="sidebar" v-if="flagSideBar && flagSideBarOfData"
|
|
@@ -284,6 +284,9 @@
|
|
|
284
284
|
scrollHandle(scrollTop,scrollLeft){
|
|
285
285
|
this.$emit('scrollHandle',scrollTop,scrollLeft)
|
|
286
286
|
},
|
|
287
|
+
doClosePopoverHandle(){
|
|
288
|
+
|
|
289
|
+
},
|
|
287
290
|
}
|
|
288
291
|
}
|
|
289
292
|
</script>
|
|
@@ -73,11 +73,10 @@
|
|
|
73
73
|
case 'showHigh':
|
|
74
74
|
this.$set(this, 'highScreen', !this.highScreen);
|
|
75
75
|
//高级搜索需要切换icon样式
|
|
76
|
-
if(model.icon==='max-open')
|
|
77
|
-
{
|
|
76
|
+
if(model.icon==='max-open'){
|
|
78
77
|
model.icon='max-fold'
|
|
79
|
-
}
|
|
80
|
-
{
|
|
78
|
+
}
|
|
79
|
+
else{
|
|
81
80
|
model.icon='max-open'
|
|
82
81
|
}
|
|
83
82
|
break;
|
|
@@ -1358,10 +1358,7 @@ export default {
|
|
|
1358
1358
|
closeCallTel(VueCom) {
|
|
1359
1359
|
var self = this;
|
|
1360
1360
|
if (self.model.currentCallTelrouter) {
|
|
1361
|
-
if (
|
|
1362
|
-
typeof VueCom.$refs[self.model.currentCallTelrouter] !== "undefined"
|
|
1363
|
-
) {
|
|
1364
|
-
console.log(VueCom);
|
|
1361
|
+
if ( typeof VueCom.$refs[self.model.currentCallTelrouter] !== "undefined") {
|
|
1365
1362
|
VueCom.closeCallTel();
|
|
1366
1363
|
return true;
|
|
1367
1364
|
}
|
|
@@ -43,6 +43,7 @@ const ContactList = function (source,para ,callBack) {
|
|
|
43
43
|
rtn._buttons = [];
|
|
44
44
|
data.content.toolButtons.forEach((v) => {
|
|
45
45
|
var button = Router(v);
|
|
46
|
+
button.key = Math.random().toString();
|
|
46
47
|
button.is = "ct-btn";
|
|
47
48
|
button.attrs = { size: "mini", class: 'max-btn-gray' }
|
|
48
49
|
rtn._buttons.push(button);
|
|
@@ -168,6 +168,7 @@ const FormList = function (source, master) {
|
|
|
168
168
|
}
|
|
169
169
|
if (item instanceof Object) {
|
|
170
170
|
item.form = rtn.form;
|
|
171
|
+
item.rowKey=Math.random(),
|
|
171
172
|
row.field.push(item);
|
|
172
173
|
}
|
|
173
174
|
});
|
|
@@ -258,6 +259,7 @@ const FormList = function (source, master) {
|
|
|
258
259
|
}
|
|
259
260
|
});
|
|
260
261
|
if (ref) {
|
|
262
|
+
ref.vmodel.rowKey=Math.random(),
|
|
261
263
|
ref.$forceUpdate();
|
|
262
264
|
}
|
|
263
265
|
}
|
package/src/main.js
CHANGED
|
@@ -41,7 +41,7 @@ Vue.use(centaline, {
|
|
|
41
41
|
// 获取请求头
|
|
42
42
|
getRequestHeaders: function () {
|
|
43
43
|
return {
|
|
44
|
-
oldToken: '
|
|
44
|
+
oldToken: '75bb9cb0-be2e-4f13-b833-932abc089020',
|
|
45
45
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
46
46
|
EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
|
|
47
47
|
Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE2OGI1YThjLThiZTUtNDQyZi04NTA4LWMyODY4N2NkYmEzMSJ9.Rk26QdZSUzDVdjdRxGxDApOt5W6KYjmyjmsXpWeZb5E5NwZjpXnHYwhYkKjNxIeyg--OV2UrzFa2SxGzZ-Wneg',
|