askbot-dragon 0.7.52 → 0.7.55
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
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<div class="asset-details">
|
|
4
4
|
<section class="details-title">
|
|
5
5
|
<p>您正在咨询</p>
|
|
6
|
-
<span @click="rotateClick" :class="rotateFlag ? 'rotate' : ''">
|
|
6
|
+
<span v-if="!isThirdParty" @click="rotateClick" :class="rotateFlag ? 'rotate' : ''">
|
|
7
7
|
<i class="arsenal_icon arsenalangle-up-solid"></i>
|
|
8
8
|
</span>
|
|
9
9
|
</section>
|
|
10
|
-
<div class="details-content">
|
|
10
|
+
<div class="details-content" v-if="!isThirdParty">
|
|
11
11
|
<img
|
|
12
12
|
class="backgroundImg"
|
|
13
13
|
v-if="dataDetails.product.productImgPathes && dataDetails.product.productImgPathes.length != 0"
|
|
@@ -33,6 +33,46 @@
|
|
|
33
33
|
</section>
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
|
+
<div class="details-content" v-if="isThirdParty">
|
|
37
|
+
<img
|
|
38
|
+
class="backgroundImg"
|
|
39
|
+
v-if="dataDetails.product.productImgPathes && dataDetails.product.productImgPathes.length != 0"
|
|
40
|
+
:src="dataDetails.product.productImgPathes"
|
|
41
|
+
alt=""
|
|
42
|
+
/>
|
|
43
|
+
<div class="background-null" v-else>
|
|
44
|
+
{{ dataDetails.productName | filterName }}
|
|
45
|
+
</div>
|
|
46
|
+
<div class="content-text">
|
|
47
|
+
<p class="text-title">{{ dataDetails.name }}</p>
|
|
48
|
+
<section class="text-label">
|
|
49
|
+
<p class="text-type">
|
|
50
|
+
<i class="iconfont guoran-bumen"></i>
|
|
51
|
+
<span
|
|
52
|
+
v-if="
|
|
53
|
+
dataDetails.depts &&
|
|
54
|
+
dataDetails.depts.length != 0 &&
|
|
55
|
+
dataDetails.depts[0].wechatBotDTO &&
|
|
56
|
+
dataDetails.depts[0].wechatBotDTO.wechatType == 0 &&
|
|
57
|
+
dataDetails.depts[0].wechatBotDTO.bindType == 0
|
|
58
|
+
"
|
|
59
|
+
>
|
|
60
|
+
<ww-open-data
|
|
61
|
+
type="departmentName"
|
|
62
|
+
:openid="dataDetails.depts[0].name"
|
|
63
|
+
></ww-open-data>
|
|
64
|
+
</span>
|
|
65
|
+
<span v-else>
|
|
66
|
+
{{ (dataDetails.depts && dataDetails.depts[0]) ? dataDetails.depts[0].name : "--" }}
|
|
67
|
+
</span>
|
|
68
|
+
</p>
|
|
69
|
+
<p class="text-SN">
|
|
70
|
+
<i class="iconfont guoran-tongyichicun-mingcheng"></i>
|
|
71
|
+
<span>{{ dataDetails.thirdAssetsCode ? dataDetails.thirdAssetsCode : "--" }}</span>
|
|
72
|
+
</p>
|
|
73
|
+
</section>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
36
76
|
<div class="details-content-hide" v-if="rotateFlag">
|
|
37
77
|
<p>
|
|
38
78
|
<i class="iconfont guoran-miaoshu"></i>
|
|
@@ -167,6 +207,9 @@ export default {
|
|
|
167
207
|
}
|
|
168
208
|
return dataDetails;
|
|
169
209
|
},
|
|
210
|
+
isThirdParty() {
|
|
211
|
+
return this.data.assets.thirdAssetsCode
|
|
212
|
+
}
|
|
170
213
|
},
|
|
171
214
|
methods: {
|
|
172
215
|
rotateClick() {
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
:placeholder="item.formField.extInfo&&item.formField.extInfo.placeholder?item.formField.extInfo.placeholder:'请选择'"
|
|
117
117
|
style="width: 100%"
|
|
118
118
|
filterable
|
|
119
|
-
v-if="item.formField.extInfo.option"
|
|
119
|
+
v-if="item.formField.extInfo && item.formField.extInfo.option"
|
|
120
120
|
>
|
|
121
121
|
<el-option
|
|
122
122
|
v-for="(items,index) in item.formField.extInfo.option"
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
:placeholder="item.formField.extInfo&&item.formField.extInfo.placeholder?item.formField.extInfo.placeholder:'请选择'"
|
|
131
131
|
style="width: 100%"
|
|
132
132
|
filterable
|
|
133
|
-
v-else-if="item.formField.extInfo.options"
|
|
133
|
+
v-else-if="item.formField.extInfo && item.formField.extInfo.options"
|
|
134
134
|
>
|
|
135
135
|
<el-option
|
|
136
136
|
v-for="(items,index) in item.formField.extInfo.options"
|
|
@@ -1142,7 +1142,7 @@ export default {
|
|
|
1142
1142
|
this.formShow.form.formFieldRelation[i].value=value
|
|
1143
1143
|
}
|
|
1144
1144
|
|
|
1145
|
-
if(this.formShow.form.formFieldRelation[i].display===true && this.formShow.form.formFieldRelation[i].required === true&&this.formShow.form.formFieldRelation[i].fieldId!=='workorder_name'&& this.formShow.form.formFieldRelation[i].type !== 'EXPLANATION')
|
|
1145
|
+
if(this.formShow.form.formFieldRelation[i].display===true && this.formShow.form.formFieldRelation[i].required === true&&this.formShow.form.formFieldRelation[i].fieldId!=='workorder_name'&& this.formShow.form.formFieldRelation[i].formField.type !== 'EXPLANATION')
|
|
1146
1146
|
{
|
|
1147
1147
|
|
|
1148
1148
|
if(!this.formShow.form.formFieldRelation[i].value || (this.formShow.form.formFieldRelation[i].value&&this.formShow.form.formFieldRelation[i].value.length===0))
|