centaline-data-driven 1.2.48 → 1.2.49
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/assets/ewmA.png +0 -0
- package/src/centaline/css/common.css +4 -1
- package/src/centaline/css/max.css +3 -0
- package/src/centaline/dynamicCheckbox/src/dynamicCheckbox.vue +1 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +20 -5
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +8 -1
- package/src/centaline/loader/src/ctl/Base.js +8 -1
- package/src/centaline/loader/src/ctl/Router.js +3 -0
- package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div v-if="model.showLabel && model.label" class="el-input-group__prepend" :class="[model.labelClass]">
|
|
6
6
|
{{model.label}}
|
|
7
7
|
</div>
|
|
8
|
-
<div class="ct-checkbox-mian cover-list-item" :class="[model.showLabel?'showLabel':'',model.value !== ''?'hasValue':'']">
|
|
8
|
+
<div class="ct-checkbox-mian cover-list-item" :class="[model.showLabel?'showLabel':'',model.value !== ''?'hasValue':'',model.label?'':'lableNaN']">
|
|
9
9
|
<el-checkbox-group v-model="model.checkedItemArr" @change="changeHandler1">
|
|
10
10
|
<el-checkbox :disabled="model.lock" v-for="item in model.options" :label="item[model.optionAttrs.value]" :key="item[model.optionAttrs.value]">{{item[model.optionAttrs.label]}}</el-checkbox>
|
|
11
11
|
<span v-if="!model.lock" class="cover-list-item-span max-cover-list-item">
|
|
@@ -1,23 +1,38 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div ref="main" class="main"
|
|
3
|
-
|
|
2
|
+
<div ref="main" class="main">
|
|
3
|
+
<div style="height:36px;margin-top: 10px;display: flex;">
|
|
4
|
+
<img src="../../../assets/ewmA.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-left:22px">
|
|
5
|
+
<span :style="{'width':computedTopWidth}"></span>
|
|
6
|
+
<img src="../../../assets/T.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-right:11px">
|
|
7
|
+
<img src="../../../assets/B.png" alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-right:8px">
|
|
8
|
+
<div class="el-icon-close"></div>
|
|
9
|
+
</div>
|
|
10
|
+
<div v-if="model!==null">
|
|
11
|
+
11111111111111111111111
|
|
12
|
+
</div>
|
|
4
13
|
</div>
|
|
5
14
|
</template>
|
|
6
15
|
|
|
7
16
|
<script>
|
|
8
17
|
import dynamicElement from '../../mixins/dynamicElement';
|
|
9
|
-
import dynamicContactList from './dynamicContactList.vue';
|
|
10
18
|
export default {
|
|
11
19
|
name: 'ct-PropertySimpleDetailRET',
|
|
12
20
|
mixins: [dynamicElement],
|
|
13
21
|
components: {
|
|
14
|
-
'ct-contactList': dynamicContactList,
|
|
15
22
|
},
|
|
16
23
|
props: {
|
|
17
24
|
vmodel: Object,
|
|
18
25
|
api: String,
|
|
19
26
|
apiParam: Object,
|
|
20
27
|
},
|
|
28
|
+
computed: {
|
|
29
|
+
computedTopWidth(){
|
|
30
|
+
// debugger
|
|
31
|
+
// let w=this.$refs.main.clientWidth;
|
|
32
|
+
// let wt=w-140;
|
|
33
|
+
return 300+'px';
|
|
34
|
+
}
|
|
35
|
+
},
|
|
21
36
|
data() {
|
|
22
37
|
return {
|
|
23
38
|
|
|
@@ -32,7 +47,7 @@
|
|
|
32
47
|
else if (typeof self.source !== 'undefined') {
|
|
33
48
|
self.loaderObj.Detail(self.source,null,self.load);
|
|
34
49
|
}
|
|
35
|
-
else if (typeof self.api !== 'undefined') {
|
|
50
|
+
else if (typeof self.api !== 'undefined' && self.apiParam) {
|
|
36
51
|
self.loaderObj.Detail(self.api,self.apiParam, self.load);
|
|
37
52
|
}
|
|
38
53
|
});
|
|
@@ -171,7 +171,14 @@
|
|
|
171
171
|
if(this.$refs.table.model.listData.length>0){
|
|
172
172
|
this.flagSideBar=this.$refs.table.model.flagSideBar;
|
|
173
173
|
this.flagDefaultDisplaySideBar=this.$refs.table.model.flagDefaultDisplaySideBar;
|
|
174
|
-
|
|
174
|
+
|
|
175
|
+
if(this.$refs.table.model.rowSelectRouter){
|
|
176
|
+
this.sideBarApi=this.$refs.table.model.rowSelectRouter.action;
|
|
177
|
+
this.sideBarPageType=this.$refs.table.model.rowSelectRouter.actionSource;
|
|
178
|
+
}
|
|
179
|
+
else{
|
|
180
|
+
this.flagSideBar=false;
|
|
181
|
+
}
|
|
175
182
|
|
|
176
183
|
if(this.flagSideBar){
|
|
177
184
|
if(this.flagDefaultDisplaySideBar && !this.sideBarStatus){
|
|
@@ -25,7 +25,14 @@ const Base = function (source) {
|
|
|
25
25
|
source.fieldName2 = v;
|
|
26
26
|
},
|
|
27
27
|
get label() {
|
|
28
|
-
|
|
28
|
+
let l='';
|
|
29
|
+
if(source.controlLabel){
|
|
30
|
+
l=source.controlLabel;
|
|
31
|
+
}
|
|
32
|
+
if(source.labelDelimiter){
|
|
33
|
+
l=l+source.labelDelimiter;
|
|
34
|
+
}
|
|
35
|
+
return l;
|
|
29
36
|
},
|
|
30
37
|
set label(v) {
|
|
31
38
|
source.controlLabel = v;
|