centaline-data-driven 1.4.42 → 1.4.43
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 +2 -2
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +20 -16
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +16 -7
- package/src/centaline/loader/src/ctl/Detail.js +15 -0
- package/src/main.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/package.json
CHANGED
package/src/Detail.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="appDetail" style="height:100%;">
|
|
3
|
-
<ct-Detail :api="'
|
|
3
|
+
<ct-Detail :api="'PropertyOFI/readDetailForBrowse'" :apiParam="apiParam" :pageType="'PropertyDetailOFI'"></ct-Detail>
|
|
4
4
|
<ct-dialog-list></ct-dialog-list>
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
name: 'DataDrivendetail',
|
|
11
11
|
data() {
|
|
12
12
|
return {
|
|
13
|
-
apiParam: {actionType: 1,chanceID: "
|
|
13
|
+
apiParam: {actionType: 1,chanceID: "1583031531402825728"} ,
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
mounted() {
|
|
@@ -109,20 +109,15 @@
|
|
|
109
109
|
</div>
|
|
110
110
|
<div class="info-row">
|
|
111
111
|
<div v-if="model.fields1Dic.PriceLine" class="row-i">
|
|
112
|
-
<span>{{ model.fields1Dic.MarketRateOfReturn.label }}</span
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
><span>{{
|
|
116
|
-
model.fields1Dic.MarketRateOfReturn.unitName
|
|
117
|
-
}}</span>
|
|
112
|
+
<span>{{ model.fields1Dic.MarketRateOfReturn.label }}</span>
|
|
113
|
+
<span>{{ model.fields1Dic.MarketRateOfReturn.value }} </span>
|
|
114
|
+
<span>{{ model.fields1Dic.MarketRateOfReturn.unitName }}</span>
|
|
118
115
|
</div>
|
|
119
116
|
<div v-if="model.fields1Dic.EstimatePriceRent" class="row-i">
|
|
120
117
|
<span>{{ model.fields1Dic.EstimatePriceRent.label }}</span>
|
|
121
|
-
<div>
|
|
122
|
-
{{ model.fields1Dic.EstimatePriceRent.value
|
|
123
|
-
|
|
124
|
-
model.fields1Dic.EstimatePriceRent.unitName
|
|
125
|
-
}}</span>
|
|
118
|
+
<div>
|
|
119
|
+
{{ model.fields1Dic.EstimatePriceRent.value }}
|
|
120
|
+
<span>{{ model.fields1Dic.EstimatePriceRent.unitName }}</span>
|
|
126
121
|
</div>
|
|
127
122
|
</div>
|
|
128
123
|
<div v-if="model.fields1Dic.EstimatePriceRentUnit" class="row-i">
|
|
@@ -285,7 +280,7 @@
|
|
|
285
280
|
:index="index.toString()" :name="index.toString()" :label="col.appName">
|
|
286
281
|
<div v-if="col.appID === 'maintain'" class="el-tabs__content">
|
|
287
282
|
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
288
|
-
<div class="tab-conten">
|
|
283
|
+
<!-- <div class="tab-conten">
|
|
289
284
|
<img :src="col.list[0].maintainEmpUrl" alt="" class="location"/>
|
|
290
285
|
<div class="user-name" style="display: block; padding-top: 5px">
|
|
291
286
|
<div style="display: flex">
|
|
@@ -294,8 +289,8 @@
|
|
|
294
289
|
</div>
|
|
295
290
|
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
296
291
|
</div>
|
|
297
|
-
</div>
|
|
298
|
-
<div v-
|
|
292
|
+
</div> -->
|
|
293
|
+
<div v-for="(info, i) in col.list" :key="i" class="tab-conten">
|
|
299
294
|
<img :src="info.maintainEmpUrl" />
|
|
300
295
|
<div class="user-name" style="display: block; padding-top: 5px">
|
|
301
296
|
<div style="display: flex">
|
|
@@ -305,10 +300,10 @@
|
|
|
305
300
|
<div class="text">{{ info.mobileNo }}</div>
|
|
306
301
|
</div>
|
|
307
302
|
</div>
|
|
308
|
-
<div v-if="col.list.length>1" class="open-mero" @click="allIn = !allIn">
|
|
303
|
+
<!-- <div v-if="col.list.length>1" class="open-mero" @click="allIn = !allIn">
|
|
309
304
|
{{ allIn ? "收起全部" : "查看全部" }}
|
|
310
305
|
<i :class="allIn ? 'more-colose' : 'mero-open'"></i>
|
|
311
|
-
</div>
|
|
306
|
+
</div> -->
|
|
312
307
|
</div>
|
|
313
308
|
</div>
|
|
314
309
|
<div v-else-if="col.appID === 'duty'" class="el-tabs__content" :key="model.tags2Key">
|
|
@@ -323,6 +318,10 @@
|
|
|
323
318
|
<div class="text">{{ info.mobileNo }}</div>
|
|
324
319
|
</div>
|
|
325
320
|
</div>
|
|
321
|
+
<div v-if="model.dutyHistoryApiRouter" class="open-mero cursor" style="color: #5175A6;"
|
|
322
|
+
@click="fieldClickHandler(model.dutyHistoryApiRouter, $event)">
|
|
323
|
+
{{model.dutyHistoryApiRouter.label}}
|
|
324
|
+
</div>
|
|
326
325
|
</div>
|
|
327
326
|
</div>
|
|
328
327
|
<div v-else class="el-tabs__content"></div>
|
|
@@ -729,6 +728,11 @@ export default {
|
|
|
729
728
|
router = this.model.routerForQRCode;
|
|
730
729
|
}
|
|
731
730
|
}
|
|
731
|
+
if (router == undefined && this.model.dutyHistoryApiRouter) {
|
|
732
|
+
if (field.id === this.model.dutyHistoryApiRouter.id) {
|
|
733
|
+
router = this.model.dutyHistoryApiRouter;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
732
736
|
|
|
733
737
|
if (router) {
|
|
734
738
|
if (field.isSubmitDataFromSelf) {
|
|
@@ -274,8 +274,8 @@
|
|
|
274
274
|
<el-tabs :value="model.activeIndex2" @tab-click="handleClick">
|
|
275
275
|
<el-tab-pane v-for="(col, index) in model.tags2" :key="col.appID" :index="index.toString()" :name="index.toString()" :label="col.appName">
|
|
276
276
|
<div v-if="col.appID === 'maintain'" class="el-tabs__content">
|
|
277
|
-
<div
|
|
278
|
-
<div class="tab-conten">
|
|
277
|
+
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
278
|
+
<!-- <div class="tab-conten">
|
|
279
279
|
<img :src="col.list[0].maintainEmpUrl" alt="" class="location"/>
|
|
280
280
|
<div class="user-name" style="display: block; padding-top: 5px">
|
|
281
281
|
<div style="display: flex">
|
|
@@ -284,8 +284,8 @@
|
|
|
284
284
|
</div>
|
|
285
285
|
<div class="text">{{ col.list[0].mobileNo }}</div>
|
|
286
286
|
</div>
|
|
287
|
-
</div>
|
|
288
|
-
<div v-
|
|
287
|
+
</div> -->
|
|
288
|
+
<div v-for="(info, i) in col.list" :key="i" class="tab-conten">
|
|
289
289
|
<img :src="info.maintainEmpUrl" />
|
|
290
290
|
<div class="user-name" style="display: block; padding-top: 5px">
|
|
291
291
|
<div style="display: flex">
|
|
@@ -294,11 +294,11 @@
|
|
|
294
294
|
</div>
|
|
295
295
|
<div class="text">{{ info.mobileNo }}</div>
|
|
296
296
|
</div>
|
|
297
|
-
</div>
|
|
298
|
-
<div v-if="col.list.length>1" class="open-mero" @click="allIn = !allIn">
|
|
297
|
+
</div>
|
|
298
|
+
<!-- <div v-if="col.list.length>1" class="open-mero" @click="allIn = !allIn">
|
|
299
299
|
{{ allIn ? "收起全部" : "查看全部" }}
|
|
300
300
|
<i :class="allIn ? 'more-colose' : 'mero-open'"></i>
|
|
301
|
-
</div>
|
|
301
|
+
</div> -->
|
|
302
302
|
</div>
|
|
303
303
|
</div>
|
|
304
304
|
<div v-else-if="col.appID === 'duty'" class="el-tabs__content" :key="model.tags2Key">
|
|
@@ -313,6 +313,10 @@
|
|
|
313
313
|
<div class="text">{{ info.mobileNo }}</div>
|
|
314
314
|
</div>
|
|
315
315
|
</div>
|
|
316
|
+
<div v-if="model.dutyHistoryApiRouter" class="open-mero cursor" style="color: #5175A6;"
|
|
317
|
+
@click="fieldClickHandler(model.dutyHistoryApiRouter, $event)">
|
|
318
|
+
{{model.dutyHistoryApiRouter.label}}
|
|
319
|
+
</div>
|
|
316
320
|
</div>
|
|
317
321
|
</div>
|
|
318
322
|
<div v-else class="el-tabs__content"></div>
|
|
@@ -733,6 +737,11 @@ export default {
|
|
|
733
737
|
router = this.model.routerForQRCode;
|
|
734
738
|
}
|
|
735
739
|
}
|
|
740
|
+
if (router == undefined && this.model.dutyHistoryApiRouter) {
|
|
741
|
+
if (field.id === this.model.dutyHistoryApiRouter.id) {
|
|
742
|
+
router = this.model.dutyHistoryApiRouter;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
736
745
|
|
|
737
746
|
if (router) {
|
|
738
747
|
if (field.isSubmitDataFromSelf) {
|
|
@@ -22,6 +22,7 @@ const Detail = function (source, para, callBack) {
|
|
|
22
22
|
_actionRouterFavorite: null,//收藏动作行为
|
|
23
23
|
_matchCustomerApiRouter: null,//匹配客户
|
|
24
24
|
_routerForQRCode: null,//二维码
|
|
25
|
+
_dutyHistoryApiRouter: null,//查看楼主历史
|
|
25
26
|
QRCode:"",
|
|
26
27
|
detailHeight: 750,
|
|
27
28
|
midlWidth: 1200,
|
|
@@ -343,6 +344,20 @@ const Detail = function (source, para, callBack) {
|
|
|
343
344
|
return rtn._actionRoutersSimple;
|
|
344
345
|
}
|
|
345
346
|
},
|
|
347
|
+
get dutyHistoryApiRouter() {
|
|
348
|
+
if (rtn._dutyHistoryApiRouter !== null) {
|
|
349
|
+
return rtn._dutyHistoryApiRouter;
|
|
350
|
+
}
|
|
351
|
+
else {
|
|
352
|
+
if (data.dutyHistoryApiRouter) {
|
|
353
|
+
var router = Router(data.dutyHistoryApiRouter);
|
|
354
|
+
router.is = "ct-btn";
|
|
355
|
+
router.attrs = { size: "mini" }
|
|
356
|
+
rtn._dutyHistoryApiRouter = router;
|
|
357
|
+
}
|
|
358
|
+
return rtn._dutyHistoryApiRouter;
|
|
359
|
+
}
|
|
360
|
+
},
|
|
346
361
|
get tags1() {
|
|
347
362
|
return data.tags1;
|
|
348
363
|
},
|
package/src/main.js
CHANGED
|
@@ -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.eNrEjjsOwjAQBe-ydVbyZ72204ETGg4R2ZYthQqRRAIh7g6IpEvPFFNM894TpiVBC3YFd7Qx-BXc0cYgJXkruceDtwGJSaOTwWEgDnTqeh2OHTRQ7ldoJVsjNbPRDYxx_gVhhPqGZSq3c3n849xlHj-zVCg6WxMWoRRSsQJ9TB5rzqrqXEk4Da83AAAA__8.cb-yxMKDgBK9Hmytc12QtOZf2gNm-2TfF44YGlgp0pM',
|
|
48
48
|
|
|
49
49
|
originalRequestURL: 'http://10.88.22.67:8080',
|
|
50
50
|
EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',
|