centaline-data-driven 1.4.73 → 1.4.75
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/Detail.vue +1 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +4 -4
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +4 -4
- package/src/centaline/dynamicFile/src/dynamicFile.vue +4 -5
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +16 -4
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +2 -2
- package/src/centaline/dynamicSearchList/src/dynamicTableTip.vue +11 -1
- package/src/centaline/dynamicSosTt/src/dynamicSosTt.vue +1 -1
- package/src/centaline/loader/src/ctl/FormList.js +9 -0
- package/src/main.js +1 -1
- 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/Detail.vue
CHANGED
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
</div>
|
|
247
247
|
</div>
|
|
248
248
|
<!-- 右侧委托信息 -->
|
|
249
|
-
<div ref="midr" class="mid-r" style="width:
|
|
249
|
+
<div ref="midr" class="mid-r" style="width: 360px">
|
|
250
250
|
<div class="take-info base-box" style="padding: 10px;font-size: 14px;">
|
|
251
251
|
<el-row>
|
|
252
252
|
<el-col :span="8" style="text-align: center;border-right: 1px solid #e0e0e0;">
|
|
@@ -1563,7 +1563,7 @@ export default {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
1565
|
.staff-info {
|
|
1566
|
-
padding
|
|
1566
|
+
padding: 10px;
|
|
1567
1567
|
.open-mero {
|
|
1568
1568
|
text-align: center;
|
|
1569
1569
|
padding: 3px 0;
|
|
@@ -1616,11 +1616,11 @@ export default {
|
|
|
1616
1616
|
.operation-table {
|
|
1617
1617
|
padding: 0;
|
|
1618
1618
|
.table-box {
|
|
1619
|
-
display:
|
|
1619
|
+
display: -webkit-box;
|
|
1620
1620
|
// align-items: center;
|
|
1621
1621
|
border-bottom: 1px solid #e0e0e0;
|
|
1622
1622
|
.t-item {
|
|
1623
|
-
padding: 5px
|
|
1623
|
+
padding: 5px 8px;
|
|
1624
1624
|
font-size: 14px;
|
|
1625
1625
|
flex: 1;
|
|
1626
1626
|
position: relative;
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
</div>
|
|
248
248
|
</div>
|
|
249
249
|
<!-- 右侧委托信息 -->
|
|
250
|
-
<div ref="midr" class="mid-r" style="width:
|
|
250
|
+
<div ref="midr" class="mid-r" style="width: 360px">
|
|
251
251
|
<div class="take-info base-box" style="padding: 10px;font-size: 14px;">
|
|
252
252
|
<el-row>
|
|
253
253
|
<el-col :span="8" style="text-align: center;border-right: 1px solid #e0e0e0;">
|
|
@@ -1575,7 +1575,7 @@ export default {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
1577
|
.staff-info {
|
|
1578
|
-
padding
|
|
1578
|
+
padding:10px;
|
|
1579
1579
|
.open-mero {
|
|
1580
1580
|
text-align: center;
|
|
1581
1581
|
padding: 3px 0;
|
|
@@ -1628,11 +1628,11 @@ export default {
|
|
|
1628
1628
|
.operation-table {
|
|
1629
1629
|
padding: 0;
|
|
1630
1630
|
.table-box {
|
|
1631
|
-
display:
|
|
1631
|
+
display: -webkit-box;
|
|
1632
1632
|
// align-items: center;
|
|
1633
1633
|
border-bottom: 1px solid #e0e0e0;
|
|
1634
1634
|
.t-item {
|
|
1635
|
-
padding: 5px
|
|
1635
|
+
padding: 5px 8px;
|
|
1636
1636
|
font-size: 14px;
|
|
1637
1637
|
flex: 1;
|
|
1638
1638
|
position: relative;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<div>
|
|
80
80
|
<el-progress type="circle" v-if="file.progressFlag" :show-text="false"
|
|
81
81
|
:percentage="typeof file.loadProgress !== 'undefined' && file.loadProgress !== null ? file.loadProgress : 0.00"
|
|
82
|
-
:width="96" :height="96" class="file-cirle"></el-progress>
|
|
82
|
+
:width="96" :height="96" class="file-cirle file-cirle-mrLeft"></el-progress>
|
|
83
83
|
<div class="circleCenter" v-if="file.progressFlag">
|
|
84
84
|
<div style="font-size: 12px;color: #666;"> {{ file.loadProgress.toFixed(2) }}%</div>
|
|
85
85
|
</div>
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
<div>
|
|
168
168
|
<el-progress type="circle" v-if="file.progressFlag" :show-text="false"
|
|
169
169
|
:percentage="typeof file.loadProgress !== 'undefined' && file.loadProgress !== null ? file.loadProgress : 0.00"
|
|
170
|
-
:width="96" :height="96" class="file-cirle"></el-progress>
|
|
170
|
+
:width="96" :height="96" class="file-cirle file-cirle-mrLeft"></el-progress>
|
|
171
171
|
<div class="circleCenter" v-if="file.progressFlag">
|
|
172
172
|
<div style="font-size: 12px;color: #666;"> {{ file.loadProgress.toFixed(2) }}%</div>
|
|
173
173
|
</div>
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
left: 35px;
|
|
720
720
|
}
|
|
721
721
|
|
|
722
|
-
.file-cirle .el-progress-circle {
|
|
722
|
+
.file-cirle-mrLeft .el-progress-circle {
|
|
723
723
|
margin-left: 15px;
|
|
724
724
|
}
|
|
725
725
|
|
|
@@ -727,8 +727,7 @@
|
|
|
727
727
|
position: absolute;
|
|
728
728
|
top: 50%;
|
|
729
729
|
left: 50%;
|
|
730
|
-
|
|
731
|
-
margin-left: -20px;
|
|
730
|
+
transform: translate(-50%,-50%);
|
|
732
731
|
}
|
|
733
732
|
|
|
734
733
|
.browseDefault .el-radio__input.is-checked .el-radio__inner {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ct-form-list" v-focus="foucus" :class="{'tableDisabled':model.tableDisabled}">
|
|
3
|
-
<div class="list-title">
|
|
3
|
+
<div v-if="model.create || (model.selectRouter && model.selectRouter.id)" class="list-title">
|
|
4
4
|
<h5>{{model.title}}</h5>
|
|
5
5
|
</div>
|
|
6
6
|
<div class="list-button">
|
|
7
|
-
<component v-if="model.selectRouter
|
|
7
|
+
<component v-if="model.selectRouter!==null" :is="model.selectRouter.is" :vmodel="model.selectRouter" @click="popupSearchListHandle" ></component>
|
|
8
8
|
<el-button v-if="model.create" type="success" class=" max-btn-add" size="mini" icon="el-icon-circle-plus-outline" @click="addRow">
|
|
9
9
|
新增
|
|
10
10
|
</el-button>
|
|
@@ -88,9 +88,21 @@
|
|
|
88
88
|
},
|
|
89
89
|
getFontColor() {
|
|
90
90
|
return this.rowData.fontColor || '';
|
|
91
|
-
}
|
|
91
|
+
},
|
|
92
|
+
getLableShow(){
|
|
93
|
+
let labelShow=this.vmodel.labelValue;
|
|
94
|
+
if(this.vmodel.unitName){
|
|
95
|
+
labelShow=labelShow+this.vmodel.unitName;
|
|
96
|
+
}
|
|
97
|
+
if(this.vmodel.type===6){
|
|
98
|
+
if(this.vmodel.code2){
|
|
99
|
+
labelShow=this.vmodel.labelValue+this.vmodel.code2;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return labelShow;
|
|
103
|
+
},
|
|
92
104
|
},
|
|
93
|
-
template: '<div :class="getClass()" :style="{\'color\':getFontColor()}">{{
|
|
105
|
+
template: '<div :class="getClass()" :style="{\'color\':getFontColor()}">{{getLableShow()}}</div>'
|
|
94
106
|
}
|
|
95
107
|
|
|
96
108
|
export default {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</ct-tabletoolbar>
|
|
13
13
|
|
|
14
14
|
<ct-tabletip ref="listHeader" class="ct-search-table-list-header ct-search-table-tag" :tip="model.listHeader"
|
|
15
|
-
v-if="!isLoading && model"></ct-tabletip>
|
|
15
|
+
v-if="!isLoading && model" @setTableHeight="setTableHeight"></ct-tabletip>
|
|
16
16
|
|
|
17
17
|
<div v-loading="tableLoading" v-if="!isLoading && model"
|
|
18
18
|
:style="{ height: '0px', top: model.tableHeight * 0.55 + 'px' }"></div>
|
|
@@ -311,7 +311,6 @@ export default {
|
|
|
311
311
|
self.tableComplate = true;
|
|
312
312
|
self.setTableHeight();
|
|
313
313
|
this.selectAllType = this.model.getSelectAll();
|
|
314
|
-
|
|
315
314
|
this.$nextTick(() => {
|
|
316
315
|
self.loadStats();
|
|
317
316
|
window.addEventListener("resize", (ev) => {
|
|
@@ -424,6 +423,7 @@ export default {
|
|
|
424
423
|
}
|
|
425
424
|
},
|
|
426
425
|
getPage(index) {
|
|
426
|
+
|
|
427
427
|
var self = this;
|
|
428
428
|
if (typeof self.$refs.tableParent !== "undefined") {
|
|
429
429
|
self.$refs.tableParent.scrollTop = 0;
|
|
@@ -37,6 +37,9 @@ const FormList = function (source, master) {
|
|
|
37
37
|
get create() {
|
|
38
38
|
return source.rightNew === true;
|
|
39
39
|
},
|
|
40
|
+
set create(v) {
|
|
41
|
+
return source.rightNew = v;
|
|
42
|
+
},
|
|
40
43
|
get required() {
|
|
41
44
|
return master.required;
|
|
42
45
|
},
|
|
@@ -366,6 +369,9 @@ const FormList = function (source, master) {
|
|
|
366
369
|
for (let findex = 0; findex < row.length; findex++) {//循环所在行的列
|
|
367
370
|
Vue.set(row[findex], 'code1', ev.formData.source.fields[findex].code1);
|
|
368
371
|
Vue.set(row[findex], 'name1', ev.formData.source.fields[findex].name1);
|
|
372
|
+
if(ev.formData.source.fields[findex].code2){
|
|
373
|
+
Vue.set(row[findex], 'code2', ev.formData.source.fields[findex].code2);
|
|
374
|
+
}
|
|
369
375
|
}
|
|
370
376
|
|
|
371
377
|
common.closeDialog(dialogOption.dialog);
|
|
@@ -433,6 +439,9 @@ const FormList = function (source, master) {
|
|
|
433
439
|
let field = row.columns[findex];
|
|
434
440
|
field.code1 = ev.formData.source.fields[findex].code1;
|
|
435
441
|
field.name1 = ev.formData.source.fields[findex].name1;
|
|
442
|
+
if(ev.formData.source.fields[findex].code2){
|
|
443
|
+
field.code2=ev.formData.source.fields[findex].code2;
|
|
444
|
+
}
|
|
436
445
|
}
|
|
437
446
|
|
|
438
447
|
let rowItem = rtn.initRow(row);
|
package/src/main.js
CHANGED
|
@@ -48,7 +48,7 @@ Vue.use(centaline, {
|
|
|
48
48
|
getRequestHeaders: function () {
|
|
49
49
|
return {
|
|
50
50
|
oldToken: '3ba3f510-93fd-4103-9249-73c13f3f6fc2',
|
|
51
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
51
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjFuwzAMRe-i2QQokiKpbLJlLz1EIDcOkExBnAAtgty9KnqILn94w3v_FfbnGg4hk6mLMEzzyCC1GIwaESbNJRUvpGM66pIqkRmwLQ5TRAaiUgG92sKVsxoeq-Ti1E0ddRPFGXzkApTEhZck2VIYwvZ1C4eojpHNXYZwaY8_gCnKL3ju2_1j-_6Pc9fHpWfZziatKWDjT5BTn3xODRRXkrY2ZDmF9w8AAAD__w.sUuy7HIYebv9o9r8-QfM3m-xy5W1OW6FNcq7Wyy0Hp0',
|
|
52
52
|
|
|
53
53
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
54
54
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|