vue2-client 1.2.17 → 1.2.20
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -132,7 +132,6 @@
|
|
|
132
132
|
<!-- 问题描述 -->
|
|
133
133
|
<a-tab-pane :key="1" tab="问题详细描述">
|
|
134
134
|
<a-card style="width: 100%" :loading="descriptionLoading">
|
|
135
|
-
<div style="margin-bottom: 10px;height: 1px;background: -webkit-linear-gradient(left, #fff -4%,#6b6c72 50%,#fff 100%);"></div>
|
|
136
135
|
<div v-if="addOnDescription.length > 0" v-for="(item,index) in addOnDescription" :key="index">
|
|
137
136
|
<span style="font-size: 2em;margin-right: 20px;margin-top: 20px">{{ details.uploader }}</span>
|
|
138
137
|
<span>{{ format(item.time,'yyyy年MM月dd日 hh:mm:ss') }}</span>
|
|
@@ -145,18 +144,18 @@
|
|
|
145
144
|
:class="changePhotoClassForSmall(pic.id)"
|
|
146
145
|
>
|
|
147
146
|
<div style="height: 1px;background: -webkit-linear-gradient(left, #fff -4%,#6b6c72 50%,#fff 100%);"></div>
|
|
148
|
-
<span style="font-size: 2em;margin-right: 20px">{{ details.uploader }}</span>
|
|
149
|
-
<span>{{ format(details.created_time,'yyyy年MM月dd日 hh:mm:ss') }}</span>
|
|
150
|
-
<p style="text-indent: 2em;font-size: 20px;margin: 10px">{{ details.description }}</p>
|
|
151
|
-
<img
|
|
152
|
-
v-for="(originalPic,n) in originalImages"
|
|
153
|
-
:src="'data:image/png;base64,' + originalPic.url"
|
|
154
|
-
@click="changePhotoClass(originalPic.id)"
|
|
155
|
-
:key="'os' + n"
|
|
156
|
-
:class="changePhotoClassForSmall(originalPic.id)"
|
|
157
|
-
style="margin-bottom: 10px"
|
|
158
|
-
>
|
|
159
147
|
</div>
|
|
148
|
+
<span style="font-size: 2em;margin-right: 20px">{{ details.uploader }}</span>
|
|
149
|
+
<span>{{ format(details.created_time,'yyyy年MM月dd日 hh:mm:ss') }}</span>
|
|
150
|
+
<p style="text-indent: 2em;font-size: 20px;margin: 10px">{{ details.description }}</p>
|
|
151
|
+
<img
|
|
152
|
+
v-for="(originalPic,n) in originalImages"
|
|
153
|
+
:src="'data:image/png;base64,' + originalPic.url"
|
|
154
|
+
@click="changePhotoClass(originalPic.id)"
|
|
155
|
+
:key="'os' + n"
|
|
156
|
+
:class="changePhotoClassForSmall(originalPic.id)"
|
|
157
|
+
style="margin-bottom: 10px"
|
|
158
|
+
>
|
|
160
159
|
</a-card>
|
|
161
160
|
</a-tab-pane>
|
|
162
161
|
<!-- 工单流转历史 -->
|
|
@@ -664,7 +663,8 @@
|
|
|
664
663
|
},
|
|
665
664
|
// 控制关闭工单按钮可用状态
|
|
666
665
|
closeBtnDisable () {
|
|
667
|
-
|
|
666
|
+
// TODO 改变对比方式,改为用名称对比
|
|
667
|
+
return this.step === 0 || this.disableCloseBtn || this.details.name != this.currUser.ename
|
|
668
668
|
},
|
|
669
669
|
// 优先级文字显示
|
|
670
670
|
showPriority () {
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
form: {
|
|
253
253
|
name: '',
|
|
254
254
|
category: undefined,
|
|
255
|
-
desc:
|
|
255
|
+
desc: undefined
|
|
256
256
|
},
|
|
257
257
|
// 获取序列号使用
|
|
258
258
|
data: {
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
})
|
|
364
364
|
.then(res => {
|
|
365
365
|
const serialNumber = res
|
|
366
|
-
if (
|
|
366
|
+
if (this.form.desc === undefined) {
|
|
367
367
|
this.form.desc = '该用户没有填写描述信息'
|
|
368
368
|
}
|
|
369
369
|
// 拿到序列号,将数据保存到数据库中
|