centaline-data-driven 1.4.40 → 1.4.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/src/Detail.vue +1 -1
- package/src/SearchList.vue +4 -4
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +20 -38
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +18 -22
- package/src/centaline/dynamicSos/src/dynamicSos.vue +1 -0
- package/src/centaline/dynamicSosTt/src/dynamicSosTt.vue +1 -0
- package/src/centaline/dynamicT/src/dynamicT.vue +1 -1
- package/src/centaline/dynamicTags/src/dynamicTags.vue +1 -0
- package/src/centaline/dynamicTree/src/dynamicTree.vue +3 -1
- package/src/centaline/quickInputSos/src/quickInput.vue +9 -0
- package/src/centaline/selectOption/src/selectOptionVertical.vue +17 -1
- package/src/main.js +4 -4
- 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
package/src/SearchList.vue
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
:searchStatsApi="'/ProfileWorklistList/getListStats'">
|
|
12
12
|
</ct-searchlist> -->
|
|
13
13
|
|
|
14
|
-
<ct-searchlist :apiParam="para"
|
|
14
|
+
<!-- <ct-searchlist :apiParam="para"
|
|
15
15
|
:searchConditionApi="'/distribution/jumpPoint/getLayoutOfSearch'"
|
|
16
16
|
:searchDataApi="'/distribution/jumpPoint/list'">
|
|
17
|
-
</ct-searchlist>
|
|
17
|
+
</ct-searchlist> -->
|
|
18
18
|
|
|
19
19
|
<!-- <ct-searchlist
|
|
20
20
|
:searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
:searchDataApi="'/PropertyPublishList/getListOfSearchModelForRET'">
|
|
23
23
|
</ct-searchlist> -->
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
26
26
|
:searchDataApi="'/PropertyRETList/getListOfSearchModel'"
|
|
27
27
|
:searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"
|
|
28
28
|
:searchStatsApi="'/PropertyRETList/getListStats'">
|
|
29
|
-
</ct-searchlist>
|
|
29
|
+
</ct-searchlist>
|
|
30
30
|
|
|
31
31
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyOFIList/getLayoutOfSearch'"
|
|
32
32
|
:searchDataApi="'/PropertyOFIList/getListOfSearchModel'"
|
|
@@ -257,13 +257,6 @@
|
|
|
257
257
|
<div>总带看</div>
|
|
258
258
|
</el-col>
|
|
259
259
|
</el-row>
|
|
260
|
-
<!-- <div>
|
|
261
|
-
该房源共<span class="red-text">{{model.fields1Dic.LookCustomerCount.value}}</span>位客户看房
|
|
262
|
-
</div>
|
|
263
|
-
<div>
|
|
264
|
-
最近7天带看<span class="red-text">{{model.fields1Dic.CustomerLookCount7.value}}</span>次,总带看
|
|
265
|
-
<span class="red-text">{{model.fields1Dic.CustomerLookCountAll.value}}</span>次。
|
|
266
|
-
</div> -->
|
|
267
260
|
</div>
|
|
268
261
|
<div v-if="model.operationList !== null" :key="model.operationKey" class="operation-table base-box">
|
|
269
262
|
<div v-for="(col, index) in model.operationList" :key="index" class="table-box">
|
|
@@ -290,51 +283,39 @@
|
|
|
290
283
|
<el-tabs :value="model.activeIndex2" @tab-click="handleClick">
|
|
291
284
|
<el-tab-pane v-for="(col, index) in model.tags2" :key="col.appID"
|
|
292
285
|
:index="index.toString()" :name="index.toString()" :label="col.appName">
|
|
293
|
-
<div v-if="col.appID === '
|
|
286
|
+
<div v-if="col.appID === 'maintain'" class="el-tabs__content">
|
|
294
287
|
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
295
288
|
<div class="tab-conten">
|
|
296
|
-
<img
|
|
297
|
-
<div class="user-name">
|
|
298
|
-
<div
|
|
299
|
-
{{ col.list[0].maintainEmpName }}
|
|
289
|
+
<img :src="col.list[0].maintainEmpUrl" alt="" class="location"/>
|
|
290
|
+
<div class="user-name" style="display: block; padding-top: 5px">
|
|
291
|
+
<div style="display: flex">
|
|
292
|
+
<div class="text">{{ col.list[0].maintainEmpName }}</div>
|
|
293
|
+
<span class="user-but">{{col.list[0].maintainDeptName}}</span>
|
|
300
294
|
</div>
|
|
301
|
-
<
|
|
295
|
+
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
302
296
|
</div>
|
|
303
|
-
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
304
297
|
</div>
|
|
305
|
-
<div v-show="allIn" v-for="(info, i) in col.list.slice(1, col.list.
|
|
298
|
+
<div v-show="allIn" v-for="(info, i) in col.list.slice(1, col.list.length)" :key="i" class="tab-conten">
|
|
306
299
|
<img :src="info.maintainEmpUrl" />
|
|
307
|
-
<div class="user-name">
|
|
308
|
-
<div
|
|
309
|
-
|
|
310
|
-
info.maintainDeptName
|
|
311
|
-
|
|
300
|
+
<div class="user-name" style="display: block; padding-top: 5px">
|
|
301
|
+
<div style="display: flex">
|
|
302
|
+
<div class="text">{{ info.maintainEmpName }}</div>
|
|
303
|
+
<span class="user-but">{{info.maintainDeptName}}</span>
|
|
304
|
+
</div>
|
|
305
|
+
<div class="text">{{ info.mobileNo }}</div>
|
|
312
306
|
</div>
|
|
313
|
-
<div class="text">{{ info.mobileNo }}</div>
|
|
314
307
|
</div>
|
|
315
|
-
<div class="open-mero" @click="allIn = !allIn">
|
|
308
|
+
<div v-if="col.list.length>1" class="open-mero" @click="allIn = !allIn">
|
|
316
309
|
{{ allIn ? "收起全部" : "查看全部" }}
|
|
317
310
|
<i :class="allIn ? 'more-colose' : 'mero-open'"></i>
|
|
318
311
|
</div>
|
|
319
312
|
</div>
|
|
320
313
|
</div>
|
|
321
|
-
<div v-else class="el-tabs__content" :key="model.tags2Key">
|
|
322
|
-
<div
|
|
323
|
-
v-
|
|
324
|
-
role="tabpanel"
|
|
325
|
-
aria-labelledby="tab-first"
|
|
326
|
-
class="el-tab-pane"
|
|
327
|
-
>
|
|
328
|
-
<div
|
|
329
|
-
v-for="(info, i) in col.list"
|
|
330
|
-
:key="i"
|
|
331
|
-
class="tab-conten"
|
|
332
|
-
>
|
|
314
|
+
<div v-else-if="col.appID === 'duty'" class="el-tabs__content" :key="model.tags2Key">
|
|
315
|
+
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
316
|
+
<div v-for="(info, i) in col.list" :key="i" class="tab-conten">
|
|
333
317
|
<img :src="info.dutyEmpUrl" />
|
|
334
|
-
<div
|
|
335
|
-
class="user-name"
|
|
336
|
-
style="display: block; padding-top: 5px"
|
|
337
|
-
>
|
|
318
|
+
<div class="user-name" style="display: block; padding-top: 5px">
|
|
338
319
|
<div style="display: flex">
|
|
339
320
|
<div class="text">{{ info.dutyEmpName }}</div>
|
|
340
321
|
<span class="user-but">{{ info.dutyDeptName }}</span>
|
|
@@ -344,6 +325,7 @@
|
|
|
344
325
|
</div>
|
|
345
326
|
</div>
|
|
346
327
|
</div>
|
|
328
|
+
<div v-else class="el-tabs__content"></div>
|
|
347
329
|
</el-tab-pane>
|
|
348
330
|
</el-tabs>
|
|
349
331
|
</div>
|
|
@@ -252,13 +252,6 @@
|
|
|
252
252
|
<div>总带看</div>
|
|
253
253
|
</el-col>
|
|
254
254
|
</el-row>
|
|
255
|
-
<!-- <div>
|
|
256
|
-
该房源共<span class="red-text">{{model.fields1Dic.LookCustomerCount.value}}</span>位客户看房
|
|
257
|
-
</div>
|
|
258
|
-
<div>
|
|
259
|
-
最近7天带看<span class="red-text">{{model.fields1Dic.CustomerLookCount7.value}}</span>次,总带看
|
|
260
|
-
<span class="red-text">{{model.fields1Dic.CustomerLookCountAll.value}}</span>次。
|
|
261
|
-
</div> -->
|
|
262
255
|
</div>
|
|
263
256
|
<div v-if="model.operationList !== null" :key="model.operationKey" class="operation-table base-box">
|
|
264
257
|
<div v-for="(col, index) in model.operationList" :key="index" class="table-box">
|
|
@@ -280,34 +273,36 @@
|
|
|
280
273
|
<div class="staff-info base-box">
|
|
281
274
|
<el-tabs :value="model.activeIndex2" @tab-click="handleClick">
|
|
282
275
|
<el-tab-pane v-for="(col, index) in model.tags2" :key="col.appID" :index="index.toString()" :name="index.toString()" :label="col.appName">
|
|
283
|
-
<div v-if="col.appID === '
|
|
276
|
+
<div v-if="col.appID === 'maintain'" class="el-tabs__content">
|
|
284
277
|
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
285
278
|
<div class="tab-conten">
|
|
286
279
|
<img :src="col.list[0].maintainEmpUrl" alt="" class="location"/>
|
|
287
|
-
<div class="user-name">
|
|
288
|
-
<div
|
|
289
|
-
{{ col.list[0].maintainEmpName }}
|
|
280
|
+
<div class="user-name" style="display: block; padding-top: 5px">
|
|
281
|
+
<div style="display: flex">
|
|
282
|
+
<div class="text">{{ col.list[0].maintainEmpName }}</div>
|
|
283
|
+
<span class="user-but">{{col.list[0].maintainDeptName}}</span>
|
|
290
284
|
</div>
|
|
291
|
-
<
|
|
285
|
+
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
292
286
|
</div>
|
|
293
|
-
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
294
287
|
</div>
|
|
295
|
-
<div v-show="allIn" v-for="(info, i) in col.list.slice(1, col.list.
|
|
288
|
+
<div v-show="allIn" v-for="(info, i) in col.list.slice(1, col.list.length)" :key="i" class="tab-conten">
|
|
296
289
|
<img :src="info.maintainEmpUrl" />
|
|
297
|
-
<div class="user-name">
|
|
298
|
-
<div
|
|
299
|
-
|
|
290
|
+
<div class="user-name" style="display: block; padding-top: 5px">
|
|
291
|
+
<div style="display: flex">
|
|
292
|
+
<div class="text">{{ info.maintainEmpName }}</div>
|
|
293
|
+
<span class="user-but">{{info.maintainDeptName}}</span>
|
|
294
|
+
</div>
|
|
295
|
+
<div class="text">{{ info.mobileNo }}</div>
|
|
300
296
|
</div>
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
<div class="open-mero" @click="allIn = !allIn">
|
|
297
|
+
</div>
|
|
298
|
+
<div v-if="col.list.length>1" class="open-mero" @click="allIn = !allIn">
|
|
304
299
|
{{ allIn ? "收起全部" : "查看全部" }}
|
|
305
300
|
<i :class="allIn ? 'more-colose' : 'mero-open'"></i>
|
|
306
301
|
</div>
|
|
307
302
|
</div>
|
|
308
303
|
</div>
|
|
309
|
-
<div v-else class="el-tabs__content" :key="model.tags2Key">
|
|
310
|
-
<div
|
|
304
|
+
<div v-else-if="col.appID === 'duty'" class="el-tabs__content" :key="model.tags2Key">
|
|
305
|
+
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
311
306
|
<div v-for="(info, i) in col.list" :key="i" class="tab-conten">
|
|
312
307
|
<img :src="info.dutyEmpUrl" />
|
|
313
308
|
<div class="user-name" style="display: block; padding-top: 5px">
|
|
@@ -320,6 +315,7 @@
|
|
|
320
315
|
</div>
|
|
321
316
|
</div>
|
|
322
317
|
</div>
|
|
318
|
+
<div v-else class="el-tabs__content"></div>
|
|
323
319
|
</el-tab-pane>
|
|
324
320
|
</el-tabs>
|
|
325
321
|
</div>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
</el-input>
|
|
48
48
|
<span v-if="this.minText" :style="{left: minTextLeft+'px'}" style="color: #909399;background: #FFF;position: absolute;font-size: 12px;bottom: 5px;z-index: 3;">{{this.minText}}</span>
|
|
49
49
|
<span v-if="model.sufLabel" class="spanMessage ct-flex-div-span">{{model.sufLabel}}</span>
|
|
50
|
-
<ctQuickInputSos v-if="!model.lock && model.paramName && !model.autoFill" class="ct-flex-div-span" :pn="model.paramName" :action="api" :flagNew="true" @click="quickSelect"></ctQuickInputSos>
|
|
50
|
+
<ctQuickInputSos v-if="!model.lock && model.paramName && !model.autoFill" class="ct-flex-div-span" :pn="model.paramName" :action="api" :flagNew="true" :textValue="model.value" @click="quickSelect"></ctQuickInputSos>
|
|
51
51
|
|
|
52
52
|
<div v-if="model.moreActionRouter && !model.lock">
|
|
53
53
|
<img v-if="model.moreActionRouter.imgUrl" class="ct-tablecurrencyImg ct-tablecurrencyItem"
|
|
@@ -32,6 +32,10 @@ export default {
|
|
|
32
32
|
flagNew:{
|
|
33
33
|
type: Boolean,
|
|
34
34
|
default: false
|
|
35
|
+
},
|
|
36
|
+
textValue:{
|
|
37
|
+
type: String,
|
|
38
|
+
default: ''
|
|
35
39
|
}
|
|
36
40
|
},
|
|
37
41
|
components: {
|
|
@@ -46,10 +50,15 @@ export default {
|
|
|
46
50
|
name1: "",
|
|
47
51
|
paramName1: that.pn,
|
|
48
52
|
});
|
|
53
|
+
this.model.value=this.textValue;
|
|
49
54
|
}
|
|
50
55
|
else {
|
|
51
56
|
this.model = this.vmodel;
|
|
52
57
|
}
|
|
58
|
+
this.model.searchInputHeight = 26;
|
|
59
|
+
},
|
|
60
|
+
updated(){
|
|
61
|
+
this.model.value=this.textValue;
|
|
53
62
|
},
|
|
54
63
|
data() {
|
|
55
64
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="ct-selectOptionVertical" style="">
|
|
2
|
+
<div ref="options" class="ct-selectOptionVertical" style="">
|
|
3
3
|
<ul>
|
|
4
4
|
<li v-for="(op, index) in model.options" :key="index" :class="[getOptionSelect(op[model.optionAttrs.value])?'select':'']"
|
|
5
5
|
@click="selectOption(op[model.optionAttrs.value],op[model.optionAttrs.label])">
|
|
@@ -26,6 +26,22 @@
|
|
|
26
26
|
return parseInt(this.model.options.length % this.model.optionColCount > 0 ? (this.model.options.length / this.model.optionColCount) + 1 : this.model.options.length / this.model.optionColCount);
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
+
updated() {
|
|
30
|
+
var self = this;
|
|
31
|
+
this.$nextTick(function () {
|
|
32
|
+
if(self.$refs.options.scrollHeight>self.$refs.options.offsetHeight){
|
|
33
|
+
let lem = self.$refs.options.querySelector('.select');
|
|
34
|
+
if(lem){
|
|
35
|
+
if(self.model.searchInputHeight){
|
|
36
|
+
self.$refs.options.scrollTop=lem.offsetTop-12-self.model.searchInputHeight;
|
|
37
|
+
}
|
|
38
|
+
else{
|
|
39
|
+
self.$refs.options.scrollTop=lem.offsetTop-12;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
},
|
|
29
45
|
methods: {
|
|
30
46
|
getOptionSelect(value) {
|
|
31
47
|
if (typeof this.model.value === 'object') {
|
package/src/main.js
CHANGED
|
@@ -12,13 +12,13 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
12
12
|
// 关闭生产模式下给出的提示
|
|
13
13
|
Vue.config.productionTip = false;
|
|
14
14
|
Vue.use(centaline, {
|
|
15
|
-
baseUrl: "http://10.88.22.
|
|
15
|
+
baseUrl: "http://10.88.22.46:7070/max-uplink-api/v1/form/router",
|
|
16
16
|
// baseUrl: "http://10.25.10.63:9999/v1/form/router",
|
|
17
17
|
// baseUrl: "http://10.88.22.42:9999/v1/form/router",
|
|
18
18
|
// baseUrl: "http://10.88.22.69:8080/api/",
|
|
19
|
-
baseUrl: "http://10.88.22.40:8080/api/",
|
|
19
|
+
// baseUrl: "http://10.88.22.40:8080/api/",
|
|
20
20
|
// baseUrl: "http://tjcptest.centaline.com.cn/",
|
|
21
|
-
flagRouterSelf: true,
|
|
21
|
+
// flagRouterSelf: true,
|
|
22
22
|
zindex: 999,
|
|
23
23
|
showRequestSuccessMessage: true,
|
|
24
24
|
showRequestErrorMessage: true,
|
|
@@ -44,7 +44,7 @@ Vue.use(centaline, {
|
|
|
44
44
|
getRequestHeaders: function () {
|
|
45
45
|
return {
|
|
46
46
|
oldToken: '3ba3f510-93fd-4103-9249-73c13f3f6fc2',
|
|
47
|
-
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.
|
|
47
|
+
token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgzAQBP9yNSf5zPls0wVDmjwCGcmWSBUFkBJF-XucCDr6TLHFFrvzgnkdoQG7gQexM_gNPIidgYi9Jenx5G1AFq7RUXAYWAKfu74ObQcVpMcNGhJrFLNRVMEUl1_B3jj6Fuuc7pf0_IfcdZnKrZAfragyoaxDzlphdJKxSMasmUhEw_sDAAD__w.lJhSc1jVo5yJFWQPpwgFxi3nzK2uX2LxKkYjXZpBFY0',
|
|
48
48
|
|
|
49
49
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
50
50
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|