Commit 86ff5702 by 前端

Merge branch 'SAAS+V4.55.0-0730' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.55.0-0730
2 parents 53a8f0a8 6901c6c9
......@@ -15,7 +15,7 @@
</el-form-item>
<el-form-item label="" class="imgItem">
<img class="img" v-for="(item, index) in infoForm.constructionImgList" @click="
handleEnlargeImg(infoForm.constructionImgList, 'customerPhoto')
handleEnlargeImg(infoForm.constructionImgList, 'customerPhoto', index)
" :key="index" :src="item" alt="">
</el-form-item>
</el-form>
......@@ -74,10 +74,11 @@ export default {
closeImgViewer() {
this.imgVisible = false
},
handleEnlargeImg(url, name) {
handleEnlargeImg(url, name, index) {
this.imgVisible = !this.imgVisible
// this.imgList = url
console.log("url", url)
this.initialIndex = index
this.imgList = url
this.imgUrlName = name
},
......
......@@ -89,7 +89,7 @@
<img class="icon" v-else src="./images/picIcon.png" alt="">
<span class="label">{{ detail.payOrder.zyVoucherUrl.split(',').length == 1 &&
detail.payOrder.zyVoucherUrl.split(',')[0].split('.').pop().toLowerCase() == 'pdf' ? '文件' : '图片.jpg'
}}</span>
}}</span>
<span class="handle" @click="handleEnlargeFile(detail.payOrder.zyVoucherUrl)">点击查看
<span
v-if="detail.payOrder.zyVoucherUrl.split(',').length && detail.payOrder.zyVoucherUrl.split(',')[0].split('.').pop().toLowerCase() != 'pdf'">({{
......@@ -212,7 +212,7 @@
<el-table-column prop="cardCode" align="center" label="质保条形码">
<span slot-scope="scope">{{
scope.row.cardCode ? scope.row.cardCode : "无"
}}</span>
}}</span>
</el-table-column>
<el-table-column prop="nums" align="center" label="数量(件)">
<template slot-scope="scope">
......@@ -265,24 +265,6 @@
</p>
</div>
<!-- <el-dialog :visible="imgVisible"
:before-close="handleEnlargeImg">
<el-carousel :autoplay="false"
arrow="always"
trigger="click"
height="695px"
:initial-index="index"
ref="carousel">
<el-carousel-item v-for="(item, index) in imgList"
:key="index"
class="carousel">
<img :src="item[imgUrlName]"
alt=""
class="carousel-img">
</el-carousel-item>
</el-carousel>
</el-dialog> -->
<el-image-viewer v-if="imgVisible" :on-close="closeImgViewer" :url-list="imgList" :initial-index="initialIndex" />
<!-- 标记退款 -->
......@@ -429,7 +411,8 @@ export default {
this.imgVisible = !this.imgVisible
// this.imgList = url
console.log("url", url)
this.imgList = url.map((item) => item[name])
// this.imgList = url.map((item) => item[name])
this.imgList = url
this.imgUrlName = name
},
handleEnlargeFile(url) {
......
......@@ -18,7 +18,7 @@
</div>
</div>
<div class="d2-container-content">
<d2-table-header title="标签录音管理列表">
<d2-table-header title="录音标签管理列表">
<el-button size="small" type="primary" @click="exportTable">
导出
</el-button>
......@@ -196,7 +196,7 @@ export default {
label: "质检时间",
name: "checkStart",
type: "datePicker",
isClear: false,
isClear: true,
pickerOptions: "rangePickerOptions_30day2"
},
{
......@@ -219,7 +219,7 @@ export default {
},
{
confId: 1,
confValue: "未成交"
confValue: "战败"
}
],
brandList: [],
......
......@@ -50,7 +50,7 @@ export default {
watch: {
yData: {
handler() {
this.chart.setOption(this.getChartSetOption())
this.chart.setOption(this.getChartSetOption(), { notMerge: true })
},
deep: true
}
......@@ -58,7 +58,7 @@ export default {
mounted() {
this.client = this.$refs[this.id]
this.chart = echarts.init(this.client)
this.chart.setOption(this.getChartSetOption())
this.chart.setOption(this.getChartSetOption(), { notMerge: true })
window.addEventListener("resize", this.resizeHandler)
},
methods: {
......@@ -66,7 +66,7 @@ export default {
if (this.chart) {
this.chart.clear()
setTimeout(() => {
this.chart.setOption(this.getChartSetOption())
this.chart.setOption(this.getChartSetOption(), { notMerge: true })
this.chart.resize()
}, 1000)
}
......@@ -134,20 +134,14 @@ ${this.title}:${params[0].value}
},
yAxis: {
type: "value",
splitLine: {
lineStyle: {
color: "#E7EBEF"
}
},
labelLine: {
show: true,
color: "#ffffff"
},
axisLabel: {
show: false,
lineStyle: {
color: "#fff"
}
color: "transparent"
},
axisLine: { show: false, color: "transparent" },
axisTick: { show: false, color: "transparent" },
splitLine: {
show: true // 根据截图隐藏网格线
}
// splitNumber: 4
},
......
......@@ -143,14 +143,18 @@ export default {
this.baseData.taskStatusOpt.find(
(item) => item.confId === cellValue.taskStatus
)?.confValue +
(cellValue.taskStatus == 1 ? `(${cellValue.progress}%)` : "")
(cellValue.taskStatus == 1
? `(${
cellValue.progress ? cellValue.progress.toFixed(2) : "0"
}%)`
: "")
)
},
className: (cellValue) => {
return {
0: "ashSpot",
2: "ashSpot",
1: "orgenSpot",
2: "greenSpot"
0: "greenSpot"
}[cellValue.taskStatus]
}
},
......
......@@ -106,7 +106,11 @@
></div>
<div>{{ ["进行中", "已结束"][scope.scope.taskStatus - 1] }}</div>
<div v-if="scope.scope.taskStatus == 1">
({{ scope.scope.progress * 100 }}%)
({{
scope.scope.progress
? (scope.scope.progress * 100).toFixed(2)
: "0"
}}%)
</div>
</div>
<div slot="penalty" slot-scope="scope">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!