centaline-data-driven 1.4.74 → 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/dynamicFile/src/dynamicFile.vue +4 -5
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +16 -4
- 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
|
@@ -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 {
|
|
@@ -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"}',
|