centaline-data-driven 1.5.40 → 1.5.42
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/release-log.md +51 -2
- package/src/Detail.vue +3 -3
- package/src/SearchList.vue +9 -7
- package/src/centaline/dialogList/src/dialog.vue +17 -2
- package/src/centaline/dynamicContact/src/dynamicContact.vue +0 -1
- package/src/centaline/dynamicDetail/src/dynamicCustomerSimpleDetail.vue +289 -49
- package/src/centaline/dynamicDetail/src/dynamicEstateBuildingDetail.vue +11 -11
- package/src/centaline/dynamicDetail/src/dynamicEstateSimpleDetail.vue +2 -2
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +10 -11
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +12 -11
- package/src/centaline/dynamicDetail/src/dynamicPropertySimpleDetailRET.vue +2 -2
- package/src/centaline/dynamicForm/src/dynamicForm.vue +19 -19
- package/src/centaline/dynamicPhotoSelect/src/dynamicPhotoSelect.vue +31 -0
- package/src/centaline/dynamicPhotoSelectList/src/dynamicPhotoSelectList.vue +31 -0
- package/src/centaline/dynamicRepeat/src/dynamicRepeat.vue +361 -143
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +15 -2
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +28 -22
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +36 -21
- package/src/centaline/dynamicSearchListTab/src/dynamicSearchListOne.vue +15 -2
- package/src/centaline/dynamicTree/src/dynamicTree.vue +3 -1
- package/src/centaline/formData/index.js +2 -2
- package/src/centaline/loader/src/ctl/Detail.js +13 -0
- package/src/centaline/loader/src/ctl/Form.js +2 -2
- package/src/centaline/loader/src/ctl/Repeat.js +127 -20
- package/src/centaline/loader/src/ctl/SearchScreen.js +6 -6
- package/src/centaline/loader/src/ctl/SearchTable.js +1 -1
- package/src/centaline/progress/src/progress.vue +9 -4
- package/src/main.js +6 -6
- package/wwwroot/static/centaline/centaline-data-driven.js +799 -266
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div ref="main" class="main" style="position: relative;overflow: hidden;">
|
|
3
|
-
<div v-if="model !== null"
|
|
4
|
-
|
|
3
|
+
<div v-if="model !== null"
|
|
4
|
+
style="height:36px;margin-top: 10px;display: flex;border-bottom: solid 2px var(--chinaRed);">
|
|
5
|
+
<el-popover v-if="model.routerForQRCode !== null" placement="left-start" trigger="hover"
|
|
6
|
+
@show="fieldClickHandler(model.routerForQRCode, $event)">
|
|
5
7
|
<div style="border-bottom:none">
|
|
6
8
|
<div style="text-align: center;margin-bottom:10px;">APP扫码</div>
|
|
7
|
-
<div style="width:200px; height:200px;"><img :src="model.QRCode"
|
|
9
|
+
<div style="width:200px; height:200px;"><img :src="model.QRCode"
|
|
10
|
+
@click="fieldClickHandler(model.routerForQRCode, $event)" /></div>
|
|
8
11
|
<div style="text-align: center;margin-top:10px;">点击二维码刷新</div>
|
|
9
12
|
</div>
|
|
10
|
-
<img class="code-ewm" slot="reference" :src="model.fields1Dic.ewmUrl.value"
|
|
13
|
+
<img class="code-ewm" slot="reference" :src="model.fields1Dic.ewmUrl.value"
|
|
14
|
+
style="width: 26px;height: 26px;vertical-align: bottom;margin-left:22px;" />
|
|
11
15
|
</el-popover>
|
|
12
|
-
<div :style="{ 'width': topWidth + 'px' }"
|
|
16
|
+
<div :style="{ 'width': topWidth + 'px' }"
|
|
17
|
+
style="font-size: 14px;color: var(--centalineBlack);padding-left: 10px;line-height: 26px;">
|
|
13
18
|
<span>{{ model.fields1Dic.CustNo.label }}</span>
|
|
14
19
|
<span>{{ model.fields1Dic.CustNo.value }}</span>
|
|
15
20
|
</div>
|
|
@@ -17,11 +22,13 @@
|
|
|
17
22
|
style="width: 26px;height: 26px;vertical-align: bottom;margin-right:11px;cursor: pointer">
|
|
18
23
|
<img :class="{ 'domDisabled': selectIndex === rowCount - 1 }" @click="clickNextHandler" src="../../../assets/B1.png"
|
|
19
24
|
alt="" style="width: 26px;height: 26px;vertical-align: bottom;margin-right:8px;cursor: pointer">
|
|
20
|
-
<div v-if="!model.flagAppMode && showIndex < 4" class="el-icon-close cursor" style="padding-top: 5px;"
|
|
25
|
+
<div v-if="!model.flagAppMode && showIndex < 4" class="el-icon-close cursor" style="padding-top: 5px;"
|
|
26
|
+
@click="closeSideHandler">
|
|
21
27
|
</div>
|
|
22
|
-
<span v-if="model.flagAppMode ||showIndex > 3
|
|
23
|
-
@click="drawer = true"></span>
|
|
24
|
-
<el-drawer title="更多操作" :visible.sync="drawer" direction="ttb" :modal="false" class="drawerMore" size="30%"
|
|
28
|
+
<span v-if="model.flagAppMode || showIndex > 3" :slot="showIndex > 0 ? 'reference' : ''" class="more"
|
|
29
|
+
style="margin-right: 10px;" @click="drawer = true"></span>
|
|
30
|
+
<el-drawer title="更多操作" :visible.sync="drawer" direction="ttb" :modal="false" class="drawerMore" size="30%"
|
|
31
|
+
style="position: absolute;">
|
|
25
32
|
<div style="display: flex;flex-flow:row wrap ">
|
|
26
33
|
<component v-for="(router, index) in model.actionRoutersSimple.slice(showIndex)" :key="index"
|
|
27
34
|
class="drawerButton"
|
|
@@ -35,12 +42,13 @@
|
|
|
35
42
|
<div v-if="model !== null" style="padding-left: 20px;padding-right: 20px;">
|
|
36
43
|
<div ref="title" style="margin-top: 18px;">
|
|
37
44
|
<div style="font-weight: Bold;font-size: 16px;color: #333333;display: flex;">
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
width: 68px;height: 26px;border-radius: 6px;text-align: center;margin-left: auto;">
|
|
42
|
-
{{ model.fields1Dic.StatusName.value }}
|
|
45
|
+
<div class="OwnerShipNamesty"
|
|
46
|
+
:class="[{ 'bg-gray': model.fields1Dic.OwnerShipName.value == 'M', 'bg-red': model.fields1Dic.OwnerShipName.value == 'P', 'bg-blue': model.fields1Dic.OwnerShipName.value == 'R' },]">
|
|
47
|
+
{{ model.fields1Dic.OwnerShipName.value }}
|
|
43
48
|
</div>
|
|
49
|
+
<img v-if="model.actionRouterFavorite" :src="model.actionRouterFavorite.imgUrl" alt=""
|
|
50
|
+
@click="fieldClickHandler(model.actionRouterFavorite, $event)" class="Simplecollection" />
|
|
51
|
+
<span>{{ model.fields1Dic.CustName.value }}</span>
|
|
44
52
|
</div>
|
|
45
53
|
<div v-if="model.fields1Dic.DistrictName" style="font-size: 12px;color: #999999;margin-top: 7px;">
|
|
46
54
|
<span>{{ model.fields1Dic.DistrictName.value }}</span>
|
|
@@ -57,21 +65,24 @@
|
|
|
57
65
|
style="font-weight: bold;font-size: 13px; margin-top: 10px;background: rgb(236, 249, 255); flex: 1;align-items: center;padding: 5px;border-radius: 5px; word-break: break-all;">
|
|
58
66
|
</div>
|
|
59
67
|
</div>
|
|
60
|
-
<div v-if="model.flagHiddenSensitiveInfo"
|
|
68
|
+
<div v-if="model.flagHiddenSensitiveInfo"
|
|
69
|
+
style="display: flex;align-items: center;justify-content: center;margin-top: 50%;height: 0px;">
|
|
61
70
|
<div v-html="model.hiddenSensitiveInfoReason"></div>
|
|
62
71
|
</div>
|
|
63
|
-
<div v-if="!model.flagHiddenSensitiveInfo" class="areaValue"
|
|
72
|
+
<div ref="sensitiveInfo" v-if="!model.flagHiddenSensitiveInfo" class="areaValue"
|
|
73
|
+
:class="[{ 'border-green': model.fields1Dic.StatusName.value == '有效', 'border-red': model.fields1Dic.StatusName.value == '关闭' }]">
|
|
74
|
+
<div style="width: 33.33%;">
|
|
75
|
+
<div class="areaValuetile">{{ model.fields1Dic.BusinessUnit.label.replace(':', '') }}</div>
|
|
76
|
+
<div class="areaValueRed">{{ model.fields1Dic.BusinessUnit.value }}</div>
|
|
77
|
+
</div>
|
|
64
78
|
<div style="width: 33.33%;">
|
|
65
79
|
<div class="areaValuetile">{{ model.fields1Dic.Area.label.replace(':', '') }}</div>
|
|
66
80
|
<div class="areaValueRed"> {{ model.fields1Dic.Area.value }}{{ model.fields1Dic.Area.unitName }}</div>
|
|
67
81
|
</div>
|
|
68
82
|
<div style="width: 33.33%;">
|
|
69
83
|
<div class="areaValuetile">{{ model.fields1Dic.Price.label.replace(':', '') }}</div>
|
|
70
|
-
<div class="areaValueRed"><span v-html="model.fields1Dic.Price.value"></span><span>{{
|
|
71
|
-
|
|
72
|
-
<div style="width: 33.33%;">
|
|
73
|
-
<div class="areaValuetile">{{ model.fields1Dic.BusinessUnit.label.replace(':', '') }}</div>
|
|
74
|
-
<div class="areaValueRed">{{ model.fields1Dic.BusinessUnit.value }}</div>
|
|
84
|
+
<div class="areaValueRed"><span v-html="model.fields1Dic.Price.value"></span><span>{{
|
|
85
|
+
model.fields1Dic.Price.unitName }}</span></div>
|
|
75
86
|
</div>
|
|
76
87
|
</div>
|
|
77
88
|
<div ref="contact" id="contact" style="margin-top: 16px;"
|
|
@@ -94,21 +105,62 @@
|
|
|
94
105
|
<ct-form :source="model.shortcutFollowForm" @submit="saveShortcutFollow" :openType="'detail'"></ct-form>
|
|
95
106
|
</div>
|
|
96
107
|
<div v-if="!model.flagHiddenSensitiveInfo" class="tablist-info base-box">
|
|
97
|
-
<div class="details-tabs-box">
|
|
98
|
-
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
+
<div class="details-tabs-box" ref="tabsbox">
|
|
109
|
+
<!--计算占用宽度-->
|
|
110
|
+
<div style="position: relative">
|
|
111
|
+
<div style="position: absolute; left: -10000px">
|
|
112
|
+
<el-tabs>
|
|
113
|
+
<el-tab-pane v-for="(col, index) in model.tags1" :key="col.appID" :index="index.toString()" :name="index.toString()">
|
|
114
|
+
<div slot="label" v-html="col.appName" :ref="'StatisticsItem' + index"></div>
|
|
115
|
+
</el-tab-pane>
|
|
116
|
+
</el-tabs>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
<div>
|
|
120
|
+
<div v-if="showData.length === 1">
|
|
121
|
+
<el-tabs :value="model.activeIndex1" @tab-click="handleSelect">
|
|
122
|
+
<el-tab-pane v-for="(col, index) in showData[0]" :key="col.appID" :index="index.toString()"
|
|
123
|
+
:name="index.toString()">
|
|
124
|
+
<div slot="label" v-html="col.appName"></div>
|
|
125
|
+
</el-tab-pane>
|
|
126
|
+
</el-tabs>
|
|
127
|
+
</div>
|
|
128
|
+
<div v-if="showData.length > 1" style="position: relative">
|
|
129
|
+
<el-tabs :value="model.activeIndex1" @tab-click="handleSelect">
|
|
130
|
+
<el-tab-pane v-for="(col, index) in showData[0]" :key="col.appID" :index="index.toString()"
|
|
131
|
+
:name="index.toString()" :style="{ 'width': (index == showData[0].length - 1 ? lastWidth + 'px' : ''), }">
|
|
132
|
+
<div slot="label" v-html="col.appName"></div>
|
|
133
|
+
</el-tab-pane>
|
|
134
|
+
</el-tabs>
|
|
135
|
+
<div class="more-icon">
|
|
136
|
+
<el-dropdown trigger="click" placement="bottom">
|
|
137
|
+
<span class="el-dropdown-link svgIcon">
|
|
138
|
+
<img :src="iconSort" alt="" width="100%" />
|
|
139
|
+
</span>
|
|
140
|
+
<el-dropdown-menu slot="dropdown" class="tabsMore">
|
|
141
|
+
<el-dropdown-item v-for="(col, index) in showData[1]" :key="col.appID" :index="index.toString()"
|
|
142
|
+
:name="index.toString()" :class="{ 'is-active': showData[0].length + index == model.activeIndex1, }">
|
|
143
|
+
<div @click="handleDropDown(col, index)" :value="model.activeIndex1">
|
|
144
|
+
<div slot="label" v-html="col.appName"></div>
|
|
145
|
+
</div>
|
|
146
|
+
</el-dropdown-item>
|
|
147
|
+
</el-dropdown-menu>
|
|
148
|
+
</el-dropdown>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1" :from="'simpleDetail'"
|
|
152
|
+
:key="'list' + listKey.toString() + refershKey" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
153
|
+
:searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1"
|
|
154
|
+
:flagAppMode="model.flagAppMode"></ct-searchlist>
|
|
155
|
+
</div>
|
|
108
156
|
</div>
|
|
109
157
|
</div>
|
|
110
158
|
</div>
|
|
111
|
-
<div v-if="isLoading" v-loading="isLoading" :style="{'height': loadingHeight+'px',}"></div>
|
|
159
|
+
<div v-if="isLoading" v-loading="isLoading" :style="{ 'height': loadingHeight + 'px', }"></div>
|
|
160
|
+
<div v-if="model !== null && model.fields1Dic.StatusName" v-html="model.fields1Dic.StatusName.value"
|
|
161
|
+
:style="{ 'top': statusTop + 'px', 'left': statusLeft + 'px' }" class="statusNamesty"
|
|
162
|
+
:class="[{ 'bg-green': model.fields1Dic.StatusName.value == '有效', 'bg-red': model.fields1Dic.StatusName.value == '关闭' }]">
|
|
163
|
+
</div>
|
|
112
164
|
</div>
|
|
113
165
|
</template>
|
|
114
166
|
|
|
@@ -147,8 +199,13 @@ export default {
|
|
|
147
199
|
placement: 'left-start',//方向,传值可查看Popper UI组件placement属性
|
|
148
200
|
},
|
|
149
201
|
drawer: false,
|
|
150
|
-
isLoading:true,
|
|
151
|
-
loadingHeight:0,
|
|
202
|
+
isLoading: true,
|
|
203
|
+
loadingHeight: 0,
|
|
204
|
+
statusTop: 0,
|
|
205
|
+
statusLeft: 0,
|
|
206
|
+
showData: [],
|
|
207
|
+
lastWidth: 0,
|
|
208
|
+
iconSort: require("../../../assets/sort.png"),
|
|
152
209
|
}
|
|
153
210
|
},
|
|
154
211
|
watch: {
|
|
@@ -161,7 +218,7 @@ export default {
|
|
|
161
218
|
mounted() {
|
|
162
219
|
var self = this;
|
|
163
220
|
this.$nextTick(function () {
|
|
164
|
-
this.loadingHeight=this.$refs.main.parentElement.parentElement.offsetHeight;
|
|
221
|
+
this.loadingHeight = this.$refs.main.parentElement.parentElement.offsetHeight;
|
|
165
222
|
if (self.vmodel) {
|
|
166
223
|
self.load(self.vmodel);
|
|
167
224
|
}
|
|
@@ -180,7 +237,7 @@ export default {
|
|
|
180
237
|
},
|
|
181
238
|
methods: {
|
|
182
239
|
load(data) {
|
|
183
|
-
this.isLoading=false;
|
|
240
|
+
this.isLoading = false;
|
|
184
241
|
var self = this;
|
|
185
242
|
this.refershKey = this.refershKey + 1;
|
|
186
243
|
this.model = data;
|
|
@@ -202,8 +259,54 @@ export default {
|
|
|
202
259
|
self.model.paramDataTags1 = self.model.tags1[i].paramData || '';
|
|
203
260
|
}
|
|
204
261
|
}
|
|
262
|
+
|
|
205
263
|
}
|
|
206
264
|
}
|
|
265
|
+
this.$nextTick(function () {
|
|
266
|
+
if (self.model.tags1.length > 0) {
|
|
267
|
+
var tagShowIndex = 0;
|
|
268
|
+
var sumWidth = 0;
|
|
269
|
+
var tagsMoreWidth = 22;
|
|
270
|
+
var nextWidth = 0;
|
|
271
|
+
for (var i = 0; i < self.model.tags1.length; i++) {
|
|
272
|
+
if (self.$refs["StatisticsItem" + i][0] && self.$refs["StatisticsItem" + i][0].offsetParent) {
|
|
273
|
+
sumWidth = sumWidth + self.$refs["StatisticsItem" + i][0].offsetParent.offsetWidth;
|
|
274
|
+
console.log('sumWidth',sumWidth);
|
|
275
|
+
}
|
|
276
|
+
if (i + 1 < self.model.tags1.length) {
|
|
277
|
+
try {
|
|
278
|
+
nextWidth = nextWidth + self.$refs["StatisticsItem" + (i + 1)][0].offsetParent.offsetWidth;
|
|
279
|
+
console.log('nextWidth',nextWidth);
|
|
280
|
+
} catch (e) { }
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
tagsMoreWidth = 0;
|
|
284
|
+
}
|
|
285
|
+
if (self.$refs.tabsbox.offsetWidth < sumWidth + tagsMoreWidth) {
|
|
286
|
+
|
|
287
|
+
tagShowIndex = i;
|
|
288
|
+
break;
|
|
289
|
+
}
|
|
290
|
+
else if (self.$refs.tabsbox.offsetWidth < nextWidth + tagsMoreWidth) {
|
|
291
|
+
tagShowIndex = i + 1;
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
if (tagShowIndex > 0) {
|
|
296
|
+
const ExceptShowIndexWidth = self.$refs["StatisticsItem" + (tagShowIndex)][0].offsetLeft;
|
|
297
|
+
const preShowIndexWidth = self.$refs["StatisticsItem" + (tagShowIndex - 1)][0].getBoundingClientRect().width;
|
|
298
|
+
self.lastWidth = self.showWidth - ExceptShowIndexWidth + preShowIndexWidth - 20;
|
|
299
|
+
|
|
300
|
+
self.showData = [
|
|
301
|
+
self.model.tags1.slice(0, tagShowIndex),
|
|
302
|
+
self.model.tags1.slice(tagShowIndex),
|
|
303
|
+
];
|
|
304
|
+
}
|
|
305
|
+
else {
|
|
306
|
+
self.showData = self.model.tags1;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
});
|
|
207
310
|
}
|
|
208
311
|
this.setDetailStyle();
|
|
209
312
|
this.$nextTick(() => {
|
|
@@ -216,7 +319,17 @@ export default {
|
|
|
216
319
|
let self = this;
|
|
217
320
|
this.$nextTick(() => {
|
|
218
321
|
if (this.$refs.main) {
|
|
219
|
-
|
|
322
|
+
if (this.model.routerForQRCode) {
|
|
323
|
+
this.topWidth = this.$refs.main.clientWidth - 140;
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
this.topWidth = this.$refs.main.clientWidth - 100;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
if (this.$refs.sensitiveInfo) {
|
|
331
|
+
this.statusTop = this.$refs.sensitiveInfo.offsetTop;
|
|
332
|
+
this.statusLeft = 20;
|
|
220
333
|
}
|
|
221
334
|
|
|
222
335
|
let totalWidth = 0;
|
|
@@ -229,9 +342,9 @@ export default {
|
|
|
229
342
|
self.model.actionRoutersSimple.forEach((v, i) => {
|
|
230
343
|
if (!v.rightField || (self.model.fields1Dic[v.rightField] && self.model.fields1Dic[v.rightField].value == 1)) {
|
|
231
344
|
if (self.$refs['routers' + i] && self.$refs['routers' + i].length > 0 && self.$refs['routers' + i][0] && self.$refs['routers' + i][0].$el) {
|
|
232
|
-
if (sumWidth + self.$refs['routers' + i][0].$el.offsetWidth -8 > totalWidth && self.showIndex === 0) {
|
|
345
|
+
if (sumWidth + self.$refs['routers' + i][0].$el.offsetWidth - 8 > totalWidth && self.showIndex === 0) {
|
|
233
346
|
self.showIndex = i;
|
|
234
|
-
}
|
|
347
|
+
}
|
|
235
348
|
else {
|
|
236
349
|
sumWidth = sumWidth + self.$refs['routers' + i][0].$el.offsetWidth + (i > 0 ? 10 : 0);
|
|
237
350
|
}
|
|
@@ -242,7 +355,7 @@ export default {
|
|
|
242
355
|
});
|
|
243
356
|
},
|
|
244
357
|
refreshPage() {
|
|
245
|
-
this.refreshKey = this.refreshKey + 1;
|
|
358
|
+
// this.refreshKey = this.refreshKey + 1;
|
|
246
359
|
this.showIndex = 0;
|
|
247
360
|
this.setDetailStyle();
|
|
248
361
|
},
|
|
@@ -314,6 +427,31 @@ export default {
|
|
|
314
427
|
window.localStorage.setItem("simpletagkey", this.model.tags1[i].appID);//存储
|
|
315
428
|
}
|
|
316
429
|
},
|
|
430
|
+
handleDropDown(col, index) {
|
|
431
|
+
let i = index;
|
|
432
|
+
// this.model.activeIndex1 = (this.showData[0].length + i).toString();
|
|
433
|
+
let dropDownData = this.showData[1];
|
|
434
|
+
|
|
435
|
+
this.dropDownSelected = true;
|
|
436
|
+
if (dropDownData && dropDownData[i]) {
|
|
437
|
+
this.listKey = this.listKey + 1;
|
|
438
|
+
this.model.searchConditionApiTags1 = dropDownData[i].searchConditionAction || "";
|
|
439
|
+
this.model.searchDataApiTags1 = dropDownData[i].searchDataAction || "";
|
|
440
|
+
this.model.paramDataTags1 = dropDownData[i].paramData || "";
|
|
441
|
+
this.model.appIDTags1 = dropDownData[i].appID || "";
|
|
442
|
+
|
|
443
|
+
//交换位置
|
|
444
|
+
let lastItemIndex = this.showData[0].length - 1;
|
|
445
|
+
let lastItem = this.showData[0][lastItemIndex];
|
|
446
|
+
this.showData[0][lastItemIndex]=col;
|
|
447
|
+
this.showData[1][index]=lastItem;
|
|
448
|
+
this.model.activeIndex1 = lastItemIndex.toString();
|
|
449
|
+
this.model.tags1[lastItemIndex]=col;
|
|
450
|
+
this.model.tags1[lastItemIndex +1 +index]=lastItem;
|
|
451
|
+
|
|
452
|
+
window.localStorage.setItem("detailtagkey", dropDownData[i].appID); //存储
|
|
453
|
+
}
|
|
454
|
+
},
|
|
317
455
|
fieldClickHandler(field) {
|
|
318
456
|
if (this.$refs['popover0']) {
|
|
319
457
|
this.$refs['popover0'].doClose();
|
|
@@ -376,7 +514,7 @@ export default {
|
|
|
376
514
|
submitData[v] = self.model.fields1Dic[v].value;
|
|
377
515
|
});
|
|
378
516
|
}
|
|
379
|
-
if (router.id == "
|
|
517
|
+
if (router.id == "Edit") {
|
|
380
518
|
callBack = "loadBaseInfo"
|
|
381
519
|
}
|
|
382
520
|
else if (router.id == "Favorite") {
|
|
@@ -578,11 +716,9 @@ export default {
|
|
|
578
716
|
fun(submitData, title, self.model);
|
|
579
717
|
}
|
|
580
718
|
}
|
|
581
|
-
|
|
582
719
|
if (field.isSubmit && !self.validExcute()) {
|
|
583
720
|
return;
|
|
584
721
|
}
|
|
585
|
-
|
|
586
722
|
if (field.alert) {
|
|
587
723
|
self.$common.confirm(field.alertMsg, field.alertCaption, {
|
|
588
724
|
confirmButtonText: field.alertOKButtonText,
|
|
@@ -686,8 +822,8 @@ export default {
|
|
|
686
822
|
.drawerMore .el-drawer__header i.el-dialog__close.el-icon.el-icon-close {
|
|
687
823
|
color: #fff;
|
|
688
824
|
font-size: 20px;
|
|
689
|
-
|
|
690
|
-
|
|
825
|
+
margin-right: -8px;
|
|
826
|
+
margin-top: 3px;
|
|
691
827
|
}
|
|
692
828
|
|
|
693
829
|
.drawerButton {
|
|
@@ -711,19 +847,22 @@ export default {
|
|
|
711
847
|
.drawerMore .el-icon-close:before {
|
|
712
848
|
content: "\E6DB";
|
|
713
849
|
}
|
|
850
|
+
|
|
714
851
|
.crossButton {
|
|
715
852
|
margin-bottom: 10px !important;
|
|
716
853
|
background-color: #777 !important;
|
|
717
854
|
border-color: #777 !important;
|
|
718
855
|
width: 86px !important;
|
|
719
856
|
height: 56px !important;
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
857
|
+
display: flex;
|
|
858
|
+
justify-content: center;
|
|
859
|
+
align-items: center;
|
|
723
860
|
}
|
|
861
|
+
|
|
724
862
|
.crossButton:not(:first-child) {
|
|
725
863
|
margin-left: 5px !important;
|
|
726
864
|
}
|
|
865
|
+
|
|
727
866
|
.Simplecollection {
|
|
728
867
|
font-size: 18px;
|
|
729
868
|
margin-right: 10px;
|
|
@@ -756,6 +895,107 @@ export default {
|
|
|
756
895
|
font-weight: Bold;
|
|
757
896
|
color: var(--chinaRed);
|
|
758
897
|
}
|
|
898
|
+
|
|
899
|
+
.OwnerShipNamesty {
|
|
900
|
+
font-size: 12px;
|
|
901
|
+
padding-top: 4px;
|
|
902
|
+
width: 26px;
|
|
903
|
+
height: 26px;
|
|
904
|
+
border-radius: 6px;
|
|
905
|
+
text-align: center;
|
|
906
|
+
margin-right: 10px;
|
|
907
|
+
color: #fff;
|
|
908
|
+
font-weight: Bold;
|
|
909
|
+
margin-top: -2px;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.statusNamesty {
|
|
913
|
+
position: absolute;
|
|
914
|
+
font-size: 12px;
|
|
915
|
+
width: 36px;
|
|
916
|
+
height: 19px;
|
|
917
|
+
border-radius: 4px 0px 4px 0px;
|
|
918
|
+
text-align: center;
|
|
919
|
+
color: #fff;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.bg-gray {
|
|
923
|
+
background-color: #777;
|
|
924
|
+
border: 1px solid #777;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.bg-red {
|
|
928
|
+
background-color: var(--chinaRed);
|
|
929
|
+
border: 1px solid var(--chinaRed);
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.bg-blue {
|
|
933
|
+
background-color: var(--centalineBlue);
|
|
934
|
+
border: 1px solid var(--centalineBlue);
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
.bg-green {
|
|
938
|
+
background-color: #67C23A;
|
|
939
|
+
border: 1px solid #67C23A;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.border-green {
|
|
943
|
+
border: 1px solid #67C23A;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.border-red {
|
|
947
|
+
border: 1px solid var(--chinaRed);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.el-tabs__nav-prev {
|
|
951
|
+
display: none;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.el-tabs__nav-next {
|
|
955
|
+
display: none;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.more-icon {
|
|
959
|
+
position: absolute;
|
|
960
|
+
width: 16px;
|
|
961
|
+
height: 20px;
|
|
962
|
+
text-align: left;
|
|
963
|
+
bottom: 22px;
|
|
964
|
+
right: -1px;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.el-dropdown-menu--mini .el-dropdown-menu__item {
|
|
968
|
+
font-size: 14px;
|
|
969
|
+
font-weight: 700;
|
|
970
|
+
color: #303133;
|
|
971
|
+
}
|
|
972
|
+
.el-dropdown-menu__item:focus,
|
|
973
|
+
.el-dropdown-menu__item:not(.is-disabled):hover {
|
|
974
|
+
background-color: #fff;
|
|
975
|
+
color: var(--chinaRed);
|
|
976
|
+
border-bottom: 3px solid var(--chinaRed);
|
|
977
|
+
}
|
|
978
|
+
.tabsMore .is-active {
|
|
979
|
+
cursor: pointer;
|
|
980
|
+
background-color: #fff;
|
|
981
|
+
color: var(--chinaRed);
|
|
982
|
+
border-bottom: 3px solid var(--chinaRed);
|
|
983
|
+
}
|
|
984
|
+
.el-tabs__item {
|
|
985
|
+
padding: 0 15px;
|
|
986
|
+
}
|
|
987
|
+
.el-tabs--bottom .el-tabs__item.is-bottom:last-child,
|
|
988
|
+
.el-tabs--bottom .el-tabs__item.is-top:last-child,
|
|
989
|
+
.el-tabs--top .el-tabs__item.is-bottom:last-child,
|
|
990
|
+
.el-tabs--top .el-tabs__item.is-top:last-child {
|
|
991
|
+
padding-right: 15px;
|
|
992
|
+
}
|
|
993
|
+
.svgIcon {
|
|
994
|
+
width: 16px;
|
|
995
|
+
text-align: center;
|
|
996
|
+
cursor: pointer;
|
|
997
|
+
}
|
|
998
|
+
|
|
759
999
|
</style>
|
|
760
1000
|
|
|
761
1001
|
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
</div>
|
|
219
219
|
</div>
|
|
220
220
|
<ct-searchlist v-if="model.searchConditionApiTags1" :key="'list' + listKey.toString() + refershKey"
|
|
221
|
-
:pageHeight="'450px'" :from="'detail'" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
221
|
+
:pageHeight="model.appIDTags1=='Follow'?'675px':'450px'" :from="'detail'" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
222
222
|
:searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1">
|
|
223
223
|
</ct-searchlist>
|
|
224
224
|
</div>
|
|
@@ -383,11 +383,10 @@ export default {
|
|
|
383
383
|
self.model.activeIndex1 = i.toString();
|
|
384
384
|
if (self.model.tags1 && self.model.tags1[i]) {
|
|
385
385
|
self.listKey = self.listKey + 1;
|
|
386
|
-
self.model.searchConditionApiTags1 =
|
|
387
|
-
|
|
388
|
-
self.model.searchDataApiTags1 =
|
|
389
|
-
self.model.tags1[i].searchDataAction || "";
|
|
386
|
+
self.model.searchConditionApiTags1 = self.model.tags1[i].searchConditionAction || "";
|
|
387
|
+
self.model.searchDataApiTags1 = self.model.tags1[i].searchDataAction || "";
|
|
390
388
|
self.model.paramDataTags1 = self.model.tags1[i].paramData || "";
|
|
389
|
+
self.model.appIDTags1 = self.model.tags1[i].appID || "";
|
|
391
390
|
}
|
|
392
391
|
}
|
|
393
392
|
}
|
|
@@ -501,11 +500,10 @@ export default {
|
|
|
501
500
|
this.model.activeIndex1 = i;
|
|
502
501
|
if (this.model.tags1 && this.model.tags1[i]) {
|
|
503
502
|
this.listKey = this.listKey + 1;
|
|
504
|
-
this.model.searchConditionApiTags1 =
|
|
505
|
-
|
|
506
|
-
this.model.searchDataApiTags1 =
|
|
507
|
-
this.model.tags1[i].searchDataAction || "";
|
|
503
|
+
this.model.searchConditionApiTags1 = this.model.tags1[i].searchConditionAction || "";
|
|
504
|
+
this.model.searchDataApiTags1 = this.model.tags1[i].searchDataAction || "";
|
|
508
505
|
this.model.paramDataTags1 = this.model.tags1[i].paramData || "";
|
|
506
|
+
this.model.appIDTags1 = this.model.tags1[i].appID || "";
|
|
509
507
|
window.localStorage.setItem("detailtagkey", this.model.tags1[i].appID); //存储
|
|
510
508
|
}
|
|
511
509
|
},
|
|
@@ -519,6 +517,8 @@ export default {
|
|
|
519
517
|
this.model.searchConditionApiTags1 = dropDownData[i].searchConditionAction || "";
|
|
520
518
|
this.model.searchDataApiTags1 = dropDownData[i].searchDataAction || "";
|
|
521
519
|
this.model.paramDataTags1 = dropDownData[i].paramData || "";
|
|
520
|
+
this.model.appIDTags1 = dropDownData[i].appID || "";
|
|
521
|
+
|
|
522
522
|
//交换位置
|
|
523
523
|
let lastItemIndex = this.showData[0].length - 1;
|
|
524
524
|
let lastItem = this.showData[0][lastItemIndex];
|
|
@@ -1298,7 +1298,7 @@ export default {
|
|
|
1298
1298
|
border-radius: 6px;
|
|
1299
1299
|
display: flex;
|
|
1300
1300
|
img {
|
|
1301
|
-
width:
|
|
1301
|
+
width: 37.5px;
|
|
1302
1302
|
height: 50px;
|
|
1303
1303
|
margin-right: 6px;
|
|
1304
1304
|
}
|
|
@@ -1344,7 +1344,7 @@ export default {
|
|
|
1344
1344
|
display: flex;
|
|
1345
1345
|
margin-bottom: 16px;
|
|
1346
1346
|
img {
|
|
1347
|
-
width:
|
|
1347
|
+
width: 37.5px;
|
|
1348
1348
|
height: 50px;
|
|
1349
1349
|
margin-right: 10px;
|
|
1350
1350
|
}
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
<div slot="label" v-html="col.appName"></div>
|
|
121
121
|
</el-tab-pane>
|
|
122
122
|
</el-tabs>
|
|
123
|
-
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1"
|
|
123
|
+
<ct-searchlist ref="searchlist" v-if="model.searchConditionApiTags1" :from="'simpleDetail'"
|
|
124
124
|
:key="'list' + listKey.toString() + refershKey" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
125
125
|
:searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1"
|
|
126
126
|
:flagAppMode="model.flagAppMode"></ct-searchlist>
|
|
@@ -267,7 +267,7 @@ export default {
|
|
|
267
267
|
});
|
|
268
268
|
},
|
|
269
269
|
refreshPage() {
|
|
270
|
-
this.refreshKey = this.refreshKey + 1;
|
|
270
|
+
// this.refreshKey = this.refreshKey + 1;
|
|
271
271
|
this.showIndex = 0;
|
|
272
272
|
this.setDetailStyle();
|
|
273
273
|
},
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
</div>
|
|
224
224
|
</div>
|
|
225
225
|
<ct-searchlist v-if="model.searchConditionApiTags1" :key="'list' + listKey.toString() + refershKey"
|
|
226
|
-
:pageHeight="'450px'" :from="'detail'" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
226
|
+
:pageHeight="model.appIDTags1=='Follow'?'675px':'450px'" :from="'detail'" :apiParam="model.paramDataTags1" :flagFocus="false"
|
|
227
227
|
:searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1">
|
|
228
228
|
</ct-searchlist>
|
|
229
229
|
</div>
|
|
@@ -586,11 +586,10 @@ export default {
|
|
|
586
586
|
self.model.activeIndex1 = i.toString();
|
|
587
587
|
if (self.model.tags1 && self.model.tags1[i]) {
|
|
588
588
|
self.listKey = self.listKey + 1;
|
|
589
|
-
self.model.searchConditionApiTags1 =
|
|
590
|
-
|
|
591
|
-
self.model.searchDataApiTags1 =
|
|
592
|
-
self.model.tags1[i].searchDataAction || "";
|
|
589
|
+
self.model.searchConditionApiTags1 = self.model.tags1[i].searchConditionAction || "";
|
|
590
|
+
self.model.searchDataApiTags1 = self.model.tags1[i].searchDataAction || "";
|
|
593
591
|
self.model.paramDataTags1 = self.model.tags1[i].paramData || "";
|
|
592
|
+
self.model.appIDTags1 = self.model.tags1[i].appID || "";
|
|
594
593
|
}
|
|
595
594
|
}
|
|
596
595
|
}
|
|
@@ -704,11 +703,10 @@ export default {
|
|
|
704
703
|
this.model.activeIndex1 = i;
|
|
705
704
|
if (this.model.tags1 && this.model.tags1[i]) {
|
|
706
705
|
this.listKey = this.listKey + 1;
|
|
707
|
-
this.model.searchConditionApiTags1 =
|
|
708
|
-
|
|
709
|
-
this.model.searchDataApiTags1 =
|
|
710
|
-
this.model.tags1[i].searchDataAction || "";
|
|
706
|
+
this.model.searchConditionApiTags1 = this.model.tags1[i].searchConditionAction || "";
|
|
707
|
+
this.model.searchDataApiTags1 = this.model.tags1[i].searchDataAction || "";
|
|
711
708
|
this.model.paramDataTags1 = this.model.tags1[i].paramData || "";
|
|
709
|
+
this.model.appIDTags1 = this.model.tags1[i].appID || "";
|
|
712
710
|
window.localStorage.setItem("detailtagkey", this.model.tags1[i].appID); //存储
|
|
713
711
|
}
|
|
714
712
|
},
|
|
@@ -722,6 +720,7 @@ export default {
|
|
|
722
720
|
this.model.searchConditionApiTags1 = dropDownData[i].searchConditionAction || "";
|
|
723
721
|
this.model.searchDataApiTags1 = dropDownData[i].searchDataAction || "";
|
|
724
722
|
this.model.paramDataTags1 = dropDownData[i].paramData || "";
|
|
723
|
+
this.model.appIDTags1 = dropDownData[i].appID || "";
|
|
725
724
|
|
|
726
725
|
//交换位置
|
|
727
726
|
let lastItemIndex = this.showData[0].length - 1;
|
|
@@ -1502,7 +1501,7 @@ export default {
|
|
|
1502
1501
|
border-radius: 6px;
|
|
1503
1502
|
display: flex;
|
|
1504
1503
|
img {
|
|
1505
|
-
width:
|
|
1504
|
+
width: 37.5px;
|
|
1506
1505
|
height: 50px;
|
|
1507
1506
|
margin-right: 6px;
|
|
1508
1507
|
}
|
|
@@ -1548,7 +1547,7 @@ export default {
|
|
|
1548
1547
|
display: flex;
|
|
1549
1548
|
margin-bottom: 16px;
|
|
1550
1549
|
img {
|
|
1551
|
-
width:
|
|
1550
|
+
width: 37.5px;
|
|
1552
1551
|
height: 50px;
|
|
1553
1552
|
margin-right: 10px;
|
|
1554
1553
|
}
|