centaline-data-driven 1.3.73 → 1.3.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/common/index.js +0 -1
- package/src/centaline/css/ccai.css +1 -0
- package/src/centaline/dynamicDetail/src/dynamicMatchCustomer.vue +34 -0
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +29 -58
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +52 -139
- package/src/centaline/dynamicForm/src/dynamicForm.vue +2 -2
- package/src/centaline/dynamicIti/src/dynamicIti.vue +12 -3
- package/src/centaline/dynamicLayout/src/dynamicLayoutLabel.vue +7 -4
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +11 -9
- package/src/centaline/loader/src/ctl/Detail.js +15 -0
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +3 -1
- package/src/main.js +3 -3
- 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
package/src/Detail.vue
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
export default {
|
|
8
|
+
name: 'ct-MatchCustomer',
|
|
9
|
+
props: {
|
|
10
|
+
vmodel: Object,
|
|
11
|
+
api: String,
|
|
12
|
+
apiParam: Object,
|
|
13
|
+
apiRouter: {
|
|
14
|
+
Object,
|
|
15
|
+
default:{}
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
created() {
|
|
24
|
+
this.init();
|
|
25
|
+
},
|
|
26
|
+
methods: {
|
|
27
|
+
init() {
|
|
28
|
+
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
</script>
|
|
33
|
+
<style lang="scss" scoped>
|
|
34
|
+
</style>
|
|
@@ -251,43 +251,36 @@
|
|
|
251
251
|
</div>
|
|
252
252
|
<!-- 右侧委托信息 -->
|
|
253
253
|
<div ref="midr" class="mid-r" style="width: 420px">
|
|
254
|
-
<div class="take-info base-box">
|
|
255
|
-
<
|
|
256
|
-
|
|
257
|
-
model.fields1Dic.LookCustomerCount.value
|
|
258
|
-
|
|
259
|
-
|
|
254
|
+
<div class="take-info base-box" style="padding: 10px;font-size: 14px;">
|
|
255
|
+
<el-row>
|
|
256
|
+
<el-col :span="8" style="text-align: center;border-right: 1px solid #e0e0e0;">
|
|
257
|
+
<div><span class="red-text" style="font-size: 24px;">{{model.fields1Dic.LookCustomerCount.value}}</span>位</div>
|
|
258
|
+
<div>客户看房</div>
|
|
259
|
+
</el-col>
|
|
260
|
+
<el-col :span="8" style="text-align: center;border-right: 1px solid #e0e0e0;">
|
|
261
|
+
<div><span class="red-text" style="font-size: 24px;">{{model.fields1Dic.CustomerLookCount7.value}}</span>次</div>
|
|
262
|
+
<div>7天带看</div>
|
|
263
|
+
</el-col>
|
|
264
|
+
<el-col :span="8" style="text-align: center;">
|
|
265
|
+
<div><span class="red-text" style="font-size: 24px;">{{model.fields1Dic.CustomerLookCountAll.value}}</span>次</div>
|
|
266
|
+
<div>总带看</div>
|
|
267
|
+
</el-col>
|
|
268
|
+
</el-row>
|
|
269
|
+
<!-- <div>
|
|
270
|
+
该房源共<span class="red-text">{{model.fields1Dic.LookCustomerCount.value}}</span>位客户看房
|
|
260
271
|
</div>
|
|
261
272
|
<div>
|
|
262
|
-
最近7天带看<span class="red-text">{{
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
>次,总带看<span class="red-text">{{
|
|
266
|
-
model.fields1Dic.CustomerLookCountAll.value
|
|
267
|
-
}}</span
|
|
268
|
-
>次。
|
|
269
|
-
</div>
|
|
273
|
+
最近7天带看<span class="red-text">{{model.fields1Dic.CustomerLookCount7.value}}</span>次,总带看
|
|
274
|
+
<span class="red-text">{{model.fields1Dic.CustomerLookCountAll.value}}</span>次。
|
|
275
|
+
</div> -->
|
|
270
276
|
</div>
|
|
271
|
-
<div
|
|
272
|
-
v-
|
|
273
|
-
:key="model.operationKey"
|
|
274
|
-
class="operation-table base-box"
|
|
275
|
-
>
|
|
276
|
-
<div
|
|
277
|
-
v-for="(col, index) in model.operationList"
|
|
278
|
-
:key="index"
|
|
279
|
-
class="table-box"
|
|
280
|
-
>
|
|
277
|
+
<div v-if="model.operationList !== null" :key="model.operationKey" class="operation-table base-box">
|
|
278
|
+
<div v-for="(col, index) in model.operationList" :key="index" class="table-box">
|
|
281
279
|
<div class="t-item">
|
|
282
280
|
<span class="i" v-html="col.operationName"></span>
|
|
283
281
|
</div>
|
|
284
282
|
<div class="t-item">
|
|
285
|
-
<span
|
|
286
|
-
class="i"
|
|
287
|
-
:class="'operation' + col.flagKey"
|
|
288
|
-
:style="{ color: col.descColor }"
|
|
289
|
-
>{{ col.desc }}</span
|
|
290
|
-
>
|
|
283
|
+
<span class="i" :class="'operation' + col.flagKey" :style="{ color: col.descColor }">{{ col.desc }}</span>
|
|
291
284
|
</div>
|
|
292
285
|
<div class="t-item" style="min-height: 50px">
|
|
293
286
|
<component
|
|
@@ -304,42 +297,21 @@
|
|
|
304
297
|
</div>
|
|
305
298
|
<div class="staff-info base-box">
|
|
306
299
|
<el-tabs :value="model.activeIndex2" @tab-click="handleClick">
|
|
307
|
-
<el-tab-pane
|
|
308
|
-
|
|
309
|
-
:key="col.appID"
|
|
310
|
-
:index="index.toString()"
|
|
311
|
-
:name="index.toString()"
|
|
312
|
-
:label="col.appName"
|
|
313
|
-
>
|
|
300
|
+
<el-tab-pane v-for="(col, index) in model.tags2" :key="col.appID"
|
|
301
|
+
:index="index.toString()" :name="index.toString()" :label="col.appName">
|
|
314
302
|
<div v-if="col.appID === 'Maintain'" class="el-tabs__content">
|
|
315
|
-
<div
|
|
316
|
-
v-if="col.list"
|
|
317
|
-
role="tabpanel"
|
|
318
|
-
aria-labelledby="tab-first"
|
|
319
|
-
class="el-tab-pane"
|
|
320
|
-
>
|
|
303
|
+
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
321
304
|
<div class="tab-conten">
|
|
322
|
-
<img
|
|
323
|
-
:src="col.list[0].maintainEmpUrl"
|
|
324
|
-
alt=""
|
|
325
|
-
class="location"
|
|
326
|
-
/>
|
|
305
|
+
<img :src="col.list[0].maintainEmpUrl" alt="" class="location"/>
|
|
327
306
|
<div class="user-name">
|
|
328
307
|
<div class="text">
|
|
329
308
|
{{ col.list[0].maintainEmpName }}
|
|
330
309
|
</div>
|
|
331
|
-
<span class="user-but">{{
|
|
332
|
-
col.list[0].maintainDeptName
|
|
333
|
-
}}</span>
|
|
310
|
+
<span class="user-but">{{col.list[0].maintainDeptName}}</span>
|
|
334
311
|
</div>
|
|
335
312
|
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
336
313
|
</div>
|
|
337
|
-
<div
|
|
338
|
-
v-show="allIn"
|
|
339
|
-
v-for="(info, i) in col.list.slice(1, col.list.legth)"
|
|
340
|
-
:key="i"
|
|
341
|
-
class="tab-conten"
|
|
342
|
-
>
|
|
314
|
+
<div v-show="allIn" v-for="(info, i) in col.list.slice(1, col.list.legth)" :key="i" class="tab-conten">
|
|
343
315
|
<img :src="info.maintainEmpUrl" />
|
|
344
316
|
<div class="user-name">
|
|
345
317
|
<div class="text">{{ info.maintainEmpName }}</div>
|
|
@@ -351,7 +323,6 @@
|
|
|
351
323
|
</div>
|
|
352
324
|
<div class="open-mero" @click="allIn = !allIn">
|
|
353
325
|
{{ allIn ? "收起全部" : "查看全部" }}
|
|
354
|
-
<!-- <img src="../../../assets/mero.png" alt="" class="mero" > :class="allIn?'more-colose':'more-open'" -->
|
|
355
326
|
<i :class="allIn ? 'more-colose' : 'mero-open'"></i>
|
|
356
327
|
</div>
|
|
357
328
|
</div>
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
</div>
|
|
67
67
|
<div ref="detail" class="details-mid y-auto" @scroll="scrollHandle($event)" :style="{height: model.detailHeight ? model.detailHeight + 'px' : '780px',}">
|
|
68
68
|
<div ref="midl" class="mid-l" :style="{ width: model.midlWidth ? model.midlWidth + 'px' : '1200px',}">
|
|
69
|
-
<!-- 图片内容部分 -->
|
|
70
69
|
<div class="hous-info base-box">
|
|
71
70
|
<div class="info-conten">
|
|
71
|
+
<!-- 图片内容部分 -->
|
|
72
72
|
<div class="hous-t">
|
|
73
73
|
<ct-albums :mediaAlbums="model.mediaAlbums" :noMediaUrl="model.noMediaUrl" @addMedia="addMedia" :title="model.title">
|
|
74
74
|
</ct-albums>
|
|
@@ -117,7 +117,6 @@
|
|
|
117
117
|
<span>{{ model.fields1Dic.EstimatePriceRentUnit.unitName}}</span>
|
|
118
118
|
</div>
|
|
119
119
|
</div>
|
|
120
|
-
|
|
121
120
|
<div class="info-mid">
|
|
122
121
|
<div class="mid-i" v-if="model.fields1Dic.Area">
|
|
123
122
|
<div>{{ model.fields1Dic.Area.label }}</div>
|
|
@@ -142,6 +141,7 @@
|
|
|
142
141
|
</div>
|
|
143
142
|
</div>
|
|
144
143
|
</div>
|
|
144
|
+
<!-- 基本资料部分 -->
|
|
145
145
|
<div v-for="(col, index) in collapse" :key="index" class="info-conten-b" v-show="allInfo">
|
|
146
146
|
<div class="info-row mb20">
|
|
147
147
|
<div v-for="(c, i) in col" :key="i" :class="c.singleLine === true ? 'row-i100' : 'row-i'">
|
|
@@ -154,6 +154,7 @@
|
|
|
154
154
|
<i :class="allInfo ? 'more-colose' : 'mero-open'"></i>
|
|
155
155
|
</div>
|
|
156
156
|
</div>
|
|
157
|
+
<!-- 联系人部分 -->
|
|
157
158
|
<div class="contacts-info base-box">
|
|
158
159
|
<ct-contactList v-if="model.contactApiRouter !== null" :apiRouter="model.contactApiRouter" :key="'contact' + refershKey"></ct-contactList>
|
|
159
160
|
</div>
|
|
@@ -172,92 +173,52 @@
|
|
|
172
173
|
<!--展示-->
|
|
173
174
|
<div>
|
|
174
175
|
<div v-if="showData.length === 1">
|
|
175
|
-
<el-tabs
|
|
176
|
-
:
|
|
177
|
-
|
|
178
|
-
>
|
|
179
|
-
<el-tab-pane
|
|
180
|
-
v-for="(col, index) in showData[0]"
|
|
181
|
-
:key="col.appID"
|
|
182
|
-
:index="index.toString()"
|
|
183
|
-
:name="index.toString()"
|
|
184
|
-
>
|
|
176
|
+
<el-tabs :value="model.activeIndex1" @tab-click="handleSelect">
|
|
177
|
+
<el-tab-pane v-for="(col, index) in showData[0]" :key="col.appID"
|
|
178
|
+
:index="index.toString()" :name="index.toString()">
|
|
185
179
|
<div slot="label" v-html="col.appName"></div>
|
|
186
180
|
</el-tab-pane>
|
|
187
181
|
</el-tabs>
|
|
188
182
|
</div>
|
|
189
183
|
<div v-if="showData.length > 1" style="position: relative">
|
|
190
|
-
<el-tabs
|
|
191
|
-
:
|
|
192
|
-
|
|
193
|
-
>
|
|
194
|
-
<el-tab-pane
|
|
195
|
-
v-for="(col, index) in showData[0]"
|
|
196
|
-
:key="col.appID"
|
|
197
|
-
:index="index.toString()"
|
|
198
|
-
:name="index.toString()"
|
|
199
|
-
>
|
|
184
|
+
<el-tabs :value="model.activeIndex1" @tab-click="handleSelect">
|
|
185
|
+
<el-tab-pane v-for="(col, index) in showData[0]" :key="col.appID"
|
|
186
|
+
:index="index.toString()" :name="index.toString()">
|
|
200
187
|
<div slot="label" v-html="col.appName"></div>
|
|
201
188
|
</el-tab-pane>
|
|
202
189
|
</el-tabs>
|
|
203
190
|
<div class="more-dropdown">
|
|
204
191
|
<el-dropdown trigger="click" placement="bottom">
|
|
205
192
|
<span class="el-dropdown-link svgIcon">
|
|
206
|
-
<!-- <div class="my-icon-more"></div> -->
|
|
207
193
|
<img :src="iconSort" alt="" width="100%" />
|
|
208
194
|
</span>
|
|
209
195
|
<el-dropdown-menu slot="dropdown" class="tabsMore">
|
|
210
|
-
<el-dropdown-item
|
|
211
|
-
|
|
212
|
-
:
|
|
213
|
-
:index="index.toString()"
|
|
214
|
-
:name="index.toString()"
|
|
215
|
-
:class="{
|
|
216
|
-
'is-active':
|
|
217
|
-
showData[0].length + index == model.activeIndex1,
|
|
218
|
-
}"
|
|
219
|
-
>
|
|
196
|
+
<el-dropdown-item v-for="(col, index) in showData[1]" :key="col.appID"
|
|
197
|
+
:index="index.toString()" :name="index.toString()"
|
|
198
|
+
:class="{ 'is-active':showData[0].length + index == model.activeIndex1,}">
|
|
220
199
|
<div @click="handleDropDown(col, index)" :value="model.activeIndex1">
|
|
221
200
|
<div slot="label" v-html="col.appName"></div>
|
|
222
201
|
</div>
|
|
223
|
-
|
|
202
|
+
</el-dropdown-item>
|
|
224
203
|
</el-dropdown-menu>
|
|
225
204
|
</el-dropdown>
|
|
226
205
|
</div>
|
|
227
206
|
</div>
|
|
228
|
-
<ct-searchlist
|
|
229
|
-
|
|
230
|
-
:key="'list' + listKey.toString() + refershKey"
|
|
231
|
-
style="min-height: 420px"
|
|
232
|
-
:apiParam="model.paramDataTags1"
|
|
233
|
-
:flagFocus="false"
|
|
234
|
-
:searchConditionApi="model.searchConditionApiTags1"
|
|
235
|
-
:searchDataApi="model.searchDataApiTags1"
|
|
236
|
-
>
|
|
207
|
+
<ct-searchlist v-if="model.searchConditionApiTags1" :key="'list' + listKey.toString() + refershKey" style="min-height: 420px"
|
|
208
|
+
:apiParam="model.paramDataTags1" :flagFocus="false" :searchConditionApi="model.searchConditionApiTags1" :searchDataApi="model.searchDataApiTags1">
|
|
237
209
|
</ct-searchlist>
|
|
238
210
|
</div>
|
|
239
211
|
</div>
|
|
240
212
|
</div>
|
|
241
|
-
<div
|
|
242
|
-
class="contribute-info base-box"
|
|
243
|
-
v-if="model._commissionList !== null"
|
|
244
|
-
>
|
|
213
|
+
<div class="contribute-info base-box" v-if="model._commissionList !== null">
|
|
245
214
|
<div class="title-l">贡献人信息</div>
|
|
246
215
|
<div class="contribute-list">
|
|
247
|
-
<div
|
|
248
|
-
class="contribute-i"
|
|
249
|
-
v-for="(m, index) in model._commissionList"
|
|
250
|
-
:key="index"
|
|
251
|
-
>
|
|
216
|
+
<div class="contribute-i" v-for="(m, index) in model._commissionList" :key="index">
|
|
252
217
|
<img :src="m.regEmpImgUrl" alt="图片" />
|
|
253
218
|
<div>
|
|
254
219
|
<div style="display: flex">
|
|
255
220
|
<div class="user-title" v-html="m.empNameCN"></div>
|
|
256
|
-
<div
|
|
257
|
-
class="user-title"
|
|
258
|
-
style="margin-left: 10px"
|
|
259
|
-
v-html="m.commissionPercentDesc"
|
|
260
|
-
></div>
|
|
221
|
+
<div class="user-title" style="margin-left: 10px" v-html="m.commissionPercentDesc"></div>
|
|
261
222
|
</div>
|
|
262
223
|
<div class="user-but w56" v-html="m.commissionRoleName"></div>
|
|
263
224
|
</div>
|
|
@@ -267,51 +228,40 @@
|
|
|
267
228
|
</div>
|
|
268
229
|
<!-- 右侧委托信息 -->
|
|
269
230
|
<div ref="midr" class="mid-r" style="width: 420px">
|
|
270
|
-
<div class="take-info base-box">
|
|
271
|
-
<
|
|
272
|
-
|
|
273
|
-
model.fields1Dic.LookCustomerCount.value
|
|
274
|
-
|
|
275
|
-
|
|
231
|
+
<div class="take-info base-box" style="padding: 10px;font-size: 14px;">
|
|
232
|
+
<el-row>
|
|
233
|
+
<el-col :span="8" style="text-align: center;border-right: 1px solid #e0e0e0;">
|
|
234
|
+
<div><span class="red-text" style="font-size: 24px;">{{model.fields1Dic.LookCustomerCount.value}}</span>位</div>
|
|
235
|
+
<div>客户看房</div>
|
|
236
|
+
</el-col>
|
|
237
|
+
<el-col :span="8" style="text-align: center;border-right: 1px solid #e0e0e0;">
|
|
238
|
+
<div><span class="red-text" style="font-size: 24px;">{{model.fields1Dic.CustomerLookCount7.value}}</span>次</div>
|
|
239
|
+
<div>7天带看</div>
|
|
240
|
+
</el-col>
|
|
241
|
+
<el-col :span="8" style="text-align: center;">
|
|
242
|
+
<div><span class="red-text" style="font-size: 24px;">{{model.fields1Dic.CustomerLookCountAll.value}}</span>次</div>
|
|
243
|
+
<div>总带看</div>
|
|
244
|
+
</el-col>
|
|
245
|
+
</el-row>
|
|
246
|
+
<!-- <div>
|
|
247
|
+
该房源共<span class="red-text">{{model.fields1Dic.LookCustomerCount.value}}</span>位客户看房
|
|
276
248
|
</div>
|
|
277
249
|
<div>
|
|
278
|
-
最近7天带看<span class="red-text">{{
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
>次,总带看<span class="red-text">{{
|
|
282
|
-
model.fields1Dic.CustomerLookCountAll.value
|
|
283
|
-
}}</span
|
|
284
|
-
>次。
|
|
285
|
-
</div>
|
|
250
|
+
最近7天带看<span class="red-text">{{model.fields1Dic.CustomerLookCount7.value}}</span>次,总带看
|
|
251
|
+
<span class="red-text">{{model.fields1Dic.CustomerLookCountAll.value}}</span>次。
|
|
252
|
+
</div> -->
|
|
286
253
|
</div>
|
|
287
|
-
<div
|
|
288
|
-
v-
|
|
289
|
-
:key="model.operationKey"
|
|
290
|
-
class="operation-table base-box"
|
|
291
|
-
>
|
|
292
|
-
<div
|
|
293
|
-
v-for="(col, index) in model.operationList"
|
|
294
|
-
:key="index"
|
|
295
|
-
class="table-box"
|
|
296
|
-
>
|
|
254
|
+
<div v-if="model.operationList !== null" :key="model.operationKey" class="operation-table base-box">
|
|
255
|
+
<div v-for="(col, index) in model.operationList" :key="index" class="table-box">
|
|
297
256
|
<div class="t-item">
|
|
298
257
|
<span class="i" v-html="col.operationName"></span>
|
|
299
258
|
</div>
|
|
300
259
|
<div class="t-item">
|
|
301
|
-
<span
|
|
302
|
-
class="i"
|
|
303
|
-
:class="'operation' + col.flagKey"
|
|
304
|
-
:style="{ color: col.descColor }"
|
|
305
|
-
>{{ col.desc }}</span
|
|
306
|
-
>
|
|
260
|
+
<span class="i" :class="'operation' + col.flagKey" :style="{ color: col.descColor }">{{ col.desc }}</span>
|
|
307
261
|
</div>
|
|
308
262
|
<div class="t-item" style="min-height: 50px">
|
|
309
|
-
<component
|
|
310
|
-
|
|
311
|
-
:key="routerIndex"
|
|
312
|
-
:is="router.is"
|
|
313
|
-
:vmodel="router"
|
|
314
|
-
:api="model.optionApi"
|
|
263
|
+
<component v-for="(router, routerIndex) in col.routers" :key="routerIndex"
|
|
264
|
+
:is="router.is" :vmodel="router" :api="model.optionApi"
|
|
315
265
|
@click="fieldClickHandler(router, $event)"
|
|
316
266
|
class="el-button t-but el-button--info max-info"
|
|
317
267
|
></component>
|
|
@@ -320,75 +270,38 @@
|
|
|
320
270
|
</div>
|
|
321
271
|
<div class="staff-info base-box">
|
|
322
272
|
<el-tabs :value="model.activeIndex2" @tab-click="handleClick">
|
|
323
|
-
<el-tab-pane
|
|
324
|
-
v-for="(col, index) in model.tags2"
|
|
325
|
-
:key="col.appID"
|
|
326
|
-
:index="index.toString()"
|
|
327
|
-
:name="index.toString()"
|
|
328
|
-
:label="col.appName"
|
|
329
|
-
>
|
|
273
|
+
<el-tab-pane v-for="(col, index) in model.tags2" :key="col.appID" :index="index.toString()" :name="index.toString()" :label="col.appName">
|
|
330
274
|
<div v-if="col.appID === 'Maintain'" class="el-tabs__content">
|
|
331
|
-
<div
|
|
332
|
-
v-if="col.list"
|
|
333
|
-
role="tabpanel"
|
|
334
|
-
aria-labelledby="tab-first"
|
|
335
|
-
class="el-tab-pane"
|
|
336
|
-
>
|
|
275
|
+
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
337
276
|
<div class="tab-conten">
|
|
338
|
-
<img
|
|
339
|
-
:src="col.list[0].maintainEmpUrl"
|
|
340
|
-
alt=""
|
|
341
|
-
class="location"
|
|
342
|
-
/>
|
|
277
|
+
<img :src="col.list[0].maintainEmpUrl" alt="" class="location"/>
|
|
343
278
|
<div class="user-name">
|
|
344
279
|
<div class="text">
|
|
345
280
|
{{ col.list[0].maintainEmpName }}
|
|
346
281
|
</div>
|
|
347
|
-
<span class="user-but">{{
|
|
348
|
-
col.list[0].maintainDeptName
|
|
349
|
-
}}</span>
|
|
282
|
+
<span class="user-but">{{col.list[0].maintainDeptName}}</span>
|
|
350
283
|
</div>
|
|
351
284
|
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
352
285
|
</div>
|
|
353
|
-
<div
|
|
354
|
-
v-show="allIn"
|
|
355
|
-
v-for="(info, i) in col.list.slice(1, col.list.legth)"
|
|
356
|
-
:key="i"
|
|
357
|
-
class="tab-conten"
|
|
358
|
-
>
|
|
286
|
+
<div v-show="allIn" v-for="(info, i) in col.list.slice(1, col.list.legth)" :key="i" class="tab-conten">
|
|
359
287
|
<img :src="info.maintainEmpUrl" />
|
|
360
288
|
<div class="user-name">
|
|
361
289
|
<div class="text">{{ info.maintainEmpName }}</div>
|
|
362
|
-
<span class="user-but">{{
|
|
363
|
-
info.maintainDeptName
|
|
364
|
-
}}</span>
|
|
290
|
+
<span class="user-but">{{info.maintainDeptName}}</span>
|
|
365
291
|
</div>
|
|
366
292
|
<div class="text">{{ info.mobileNo }}</div>
|
|
367
293
|
</div>
|
|
368
294
|
<div class="open-mero" @click="allIn = !allIn">
|
|
369
295
|
{{ allIn ? "收起全部" : "查看全部" }}
|
|
370
|
-
<!-- <img src="../../../assets/mero.png" alt="" class="mero" > :class="allIn?'more-colose':'more-open'" -->
|
|
371
296
|
<i :class="allIn ? 'more-colose' : 'mero-open'"></i>
|
|
372
297
|
</div>
|
|
373
298
|
</div>
|
|
374
299
|
</div>
|
|
375
300
|
<div v-else class="el-tabs__content" :key="model.tags2Key">
|
|
376
|
-
<div
|
|
377
|
-
v-
|
|
378
|
-
role="tabpanel"
|
|
379
|
-
aria-labelledby="tab-first"
|
|
380
|
-
class="el-tab-pane"
|
|
381
|
-
>
|
|
382
|
-
<div
|
|
383
|
-
v-for="(info, i) in col.list"
|
|
384
|
-
:key="i"
|
|
385
|
-
class="tab-conten"
|
|
386
|
-
>
|
|
301
|
+
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
302
|
+
<div v-for="(info, i) in col.list" :key="i" class="tab-conten">
|
|
387
303
|
<img :src="info.dutyEmpUrl" />
|
|
388
|
-
<div
|
|
389
|
-
class="user-name"
|
|
390
|
-
style="display: block; padding-top: 5px"
|
|
391
|
-
>
|
|
304
|
+
<div class="user-name" style="display: block; padding-top: 5px">
|
|
392
305
|
<div style="display: flex">
|
|
393
306
|
<div class="text">{{ info.dutyEmpName }}</div>
|
|
394
307
|
<span class="user-but">{{ info.dutyDeptName }}</span>
|
|
@@ -307,6 +307,8 @@
|
|
|
307
307
|
field.disabled = true;//提交按钮禁用
|
|
308
308
|
self.model.pageDisabled= true;
|
|
309
309
|
field.doAction(self.getFormObj(), (data) => {
|
|
310
|
+
field.disabled = false;
|
|
311
|
+
self.model.pageDisabled= false;
|
|
310
312
|
if (data.rtnCode === 200) {
|
|
311
313
|
if(data.notification===17){
|
|
312
314
|
self.clickHandler(self.model.getRtnRouter(data.content),null)
|
|
@@ -335,8 +337,6 @@
|
|
|
335
337
|
self.parentModel.$vue.closeTabThen(data);
|
|
336
338
|
}
|
|
337
339
|
}
|
|
338
|
-
field.disabled = false;
|
|
339
|
-
self.model.pageDisabled= false;
|
|
340
340
|
},self.model.scripts);
|
|
341
341
|
}
|
|
342
342
|
//无值,触发submit事件
|
|
@@ -5,9 +5,9 @@
|
|
|
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 style="padding-left:5px" v-bind="model.attrs" class="el-date-editor el-range-editor el-input__inner el-date-editor--daterange"
|
|
8
|
+
<div style="padding-left:5px" v-bind="model.attrs" class="el-date-editor el-range-editor el-input__inner el-date-editor--daterange hoverColor"
|
|
9
9
|
v-bind:class="[model.attrs.size?'el-range-editor--'+model.attrs.size:'',
|
|
10
|
-
model.showLabel?'ct-iti-editor':'',
|
|
10
|
+
model.showLabel?'ct-iti-editor':'',model.lock ? 'ct-is-disabled' : '']">
|
|
11
11
|
|
|
12
12
|
<div :style="{'width':model.unitName && model.unitName.length == 1 ? '38%':(model.unitName && model.unitName.length == 3) ?'32%':(model.unitName && model.unitName.length == 5) ?'28%': ''}"
|
|
13
13
|
class="ct-position-relative" @mouseout="mouseOutHandle('input2')">
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
v-model="model.value1" @change="changeHandler($event);" @input="onInputHandler($event);isShowClear('input2')" @focus="focusHandler" @blur="blurHandler('value1','decimals1')"
|
|
28
28
|
:class="model.lock ? 'ct-is-disabled' : ''" :disabled="model.lock" @keyup.enter="search()"/>
|
|
29
29
|
</div>
|
|
30
|
-
<span class="el-input__suffix el-input--mini" v-if="showClear.input2">
|
|
30
|
+
<span class="el-input__suffix el-input--mini is-show-Span" v-if="showClear.input2">
|
|
31
31
|
<span class="el-input__suffix-inner ct-close">
|
|
32
32
|
<i class="el-select__caret el-input__icon el-icon-circle-close is-show-close" @click="clearClickHandle($event,'input2')"></i>
|
|
33
33
|
</span>
|
|
@@ -157,4 +157,13 @@ span.ct-unitname.el-input__suffix.el-input__suffix-inner {
|
|
|
157
157
|
right: 15px;
|
|
158
158
|
top:0;
|
|
159
159
|
}
|
|
160
|
+
.hoverColor:hover {
|
|
161
|
+
border-color: #409EFF;
|
|
162
|
+
}
|
|
163
|
+
.is-show-Span {
|
|
164
|
+
display: none;
|
|
165
|
+
}
|
|
166
|
+
.hoverColor:hover .is-show-Span{
|
|
167
|
+
display: inline-block;
|
|
168
|
+
}
|
|
160
169
|
</style>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="model.routerKey&&model.visibility!='0'">
|
|
3
|
-
<div v-if="model.rightRouter&&model.value!=''" :style="model.styleObject">
|
|
3
|
+
<div v-if="model.rightRouter&&model.value!=''" class="wb" :style="model.styleObject">
|
|
4
4
|
<a href="javascript:void(0);" @click="clickHandler($event)" class="ct-tablecurrencyItem">
|
|
5
5
|
{{model.value}}
|
|
6
6
|
</a>
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
|
-
<div v-else-if="model.value!=''&&model.visibility!='0'" :style="model.styleObject" v-html="model.value">
|
|
9
|
+
<div v-else-if="model.value!=''&&model.visibility!='0'" class="wb" :style="model.styleObject" v-html="model.value">
|
|
10
10
|
</div>
|
|
11
11
|
</template>
|
|
12
12
|
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
created() {
|
|
31
|
-
this.model = this.loaderObj.CellLayout(this.vmodel, this.actionRouter, this.rowdata, this.forname, this.forrowindex);
|
|
32
|
-
|
|
31
|
+
this.model = this.loaderObj.CellLayout(this.vmodel, this.actionRouter, this.rowdata, this.forname, this.forrowindex);
|
|
32
|
+
console.log(this.model);
|
|
33
33
|
},
|
|
34
34
|
|
|
35
35
|
methods: {
|
|
@@ -62,4 +62,7 @@
|
|
|
62
62
|
width: 24px;
|
|
63
63
|
margin-top: 2px;
|
|
64
64
|
}
|
|
65
|
+
.wb {
|
|
66
|
+
word-break: break-all;
|
|
67
|
+
}
|
|
65
68
|
</style>
|
|
@@ -31,21 +31,14 @@
|
|
|
31
31
|
<label class="el-checkbox">
|
|
32
32
|
<span class="el-checkbox__input" :class="model.selectAllType">
|
|
33
33
|
<span class="el-checkbox__inner"></span>
|
|
34
|
-
<input type="checkbox"
|
|
35
|
-
@click="selectAll($event)"
|
|
36
|
-
v-model="model.selectAll"
|
|
37
|
-
class="el-checkbox__original checkbox-td-1"
|
|
38
|
-
aria-hidden="false" />
|
|
34
|
+
<input type="checkbox" @click="selectAll($event)" v-model="model.selectAll" class="el-checkbox__original checkbox-td-1" aria-hidden="false" />
|
|
39
35
|
</span>
|
|
40
36
|
</label>
|
|
41
37
|
</th>
|
|
42
38
|
<th :ref=" column.fixed ? column.fixed === 'left' ? 'headLeftThs' : 'headRightThs' : 'headThs'"
|
|
43
39
|
v-for="(column, colIndex) in columns" :key="colIndex" v-if="column.show"
|
|
44
40
|
class="ct-td ct-searchtable-th" :rowspan="column.rowspan" :colspan="column.colspan"
|
|
45
|
-
:class="[
|
|
46
|
-
colHasWidth[colIndex],
|
|
47
|
-
column.sortAction,
|
|
48
|
-
model.tdClass,
|
|
41
|
+
:class="[ colHasWidth[colIndex],column.sortAction,model.tdClass,
|
|
49
42
|
colIndex === leftShadow ? 'shadowLeft' : null,
|
|
50
43
|
colIndex === rightShadow ? 'shadowRight' : null,
|
|
51
44
|
column.fixed === 'left' ? 'left-fixation-th' : null,
|
|
@@ -1030,6 +1023,15 @@
|
|
|
1030
1023
|
else {
|
|
1031
1024
|
if (!field.flagFreshCurrentRow && !field.flagAddRowAfterAction) {
|
|
1032
1025
|
self.model.doAction(ev);
|
|
1026
|
+
self.$nextTick(() => {
|
|
1027
|
+
let response=ev;
|
|
1028
|
+
if (response.responseData) {
|
|
1029
|
+
response = response.responseData;
|
|
1030
|
+
}
|
|
1031
|
+
if(response.notification===4 || response.notification===15){
|
|
1032
|
+
self.loadStats();
|
|
1033
|
+
}
|
|
1034
|
+
});
|
|
1033
1035
|
}
|
|
1034
1036
|
self.$forceUpdate();
|
|
1035
1037
|
self.$refs.footer.$forceUpdate();
|