Commit 6901c6c9 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 54160015 c1f81674
...@@ -903,7 +903,6 @@ export const refundExamine_status = [ ...@@ -903,7 +903,6 @@ export const refundExamine_status = [
{ confId: 3, confValue: "财务结算" }, { confId: 3, confValue: "财务结算" },
{ confId: 4, confValue: "已完成" }, { confId: 4, confValue: "已完成" },
{ confId: 5, confValue: "驳回" }, { confId: 5, confValue: "驳回" },
{ confId: 6, confValue: "驻店发起" },
{ confId: 7, confValue: "区域运营审核" }, { confId: 7, confValue: "区域运营审核" },
{ confId: 8, confValue: "运营补充" } { confId: 8, confValue: "运营补充" }
] ]
......
...@@ -532,6 +532,14 @@ export default { ...@@ -532,6 +532,14 @@ export default {
width: '100px', width: '100px',
formatter: (cellValue) => { formatter: (cellValue) => {
return this.baseData.oaApproveStatusList.find(item => item.confId === cellValue.oaApproveStatus)?.confValue || '--' return this.baseData.oaApproveStatusList.find(item => item.confId === cellValue.oaApproveStatus)?.confValue || '--'
},
className: (cellValue) => {
return {
1: 'blueSpot',
2: 'greenSpot',
3: 'redSpot',
4: 'ashSpot'
}[cellValue.oaApproveStatus]
} }
}, },
{ {
......
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
}, },
searchFormSearch: {}, searchFormSearch: {},
showFormData: [{ showFormData: [{
label: '蓝字发票号码', label: '数电票号码',
name: 'electronicInvoiceNo', name: 'electronicInvoiceNo',
type: 'input', type: 'input',
maxlength: '50', maxlength: '50',
......
...@@ -572,18 +572,26 @@ export default { ...@@ -572,18 +572,26 @@ export default {
item.optStautsShow = "驳回" item.optStautsShow = "驳回"
item.optRemarkShow = "驳回原因" item.optRemarkShow = "驳回原因"
} }
} else if (item.beforeStatus == 6) { } else if (item.beforeStatus == 7) {
item.optShow = "区域运营审核" item.optShow = "区域运营审核"
item.optStautsShow = "通过" item.optStautsShow = "通过"
item.optPerShow = "审核人" item.optPerShow = "审核人"
item.optTimeShow = "审核时间" item.optTimeShow = "审核时间"
item.optRemarkShow = "备注" item.optRemarkShow = "备注"
} else if (item.beforeStatus == 7) { if (item.afterStatus == 5) {
item.optStautsShow = "驳回"
item.optRemarkShow = "驳回原因"
}
} else if (item.beforeStatus == 8) {
item.optShow = "运营补充" item.optShow = "运营补充"
item.optStautsShow = "通过" item.optStautsShow = "通过"
item.optPerShow = "操作人" item.optPerShow = "操作人"
item.optTimeShow = "操作时间" item.optTimeShow = "操作时间"
item.optRemarkShow = "备注" item.optRemarkShow = "备注"
if (item.afterStatus == 5) {
item.optStautsShow = "驳回"
item.optRemarkShow = "驳回原因"
}
} else { } else {
item.isShow = item.beforeStatus == item.afterStatus item.isShow = item.beforeStatus == item.afterStatus
if (item.beforeStatus == item.afterStatus) { if (item.beforeStatus == item.afterStatus) {
......
...@@ -108,6 +108,12 @@ ...@@ -108,6 +108,12 @@
</template> </template>
</glsx-combi-form> </glsx-combi-form>
</div> </div>
<el-image-viewer
v-if="imgViewerVisible"
:on-close="closeImgViewer"
:url-list="imageFileArr"
:initial-index="initialIndex"
/>
</baseDialog> </baseDialog>
</template> </template>
...@@ -129,6 +135,9 @@ import { baseConfig } from "@/main" ...@@ -129,6 +135,9 @@ import { baseConfig } from "@/main"
import GlOssApi from "glsk-oss-jssdk" import GlOssApi from "glsk-oss-jssdk"
export default { export default {
name: "NewSignRefundDialog", name: "NewSignRefundDialog",
components: {
'el-image-viewer': () => import('element-ui/packages/image/src/image-viewer'),
},
data() { data() {
var checkAmount = (rule, value, callback) => { var checkAmount = (rule, value, callback) => {
if (!value) { if (!value) {
...@@ -144,6 +153,8 @@ export default { ...@@ -144,6 +153,8 @@ export default {
userInfo: this.$store.state.d2admin.user.info, userInfo: this.$store.state.d2admin.user.info,
loading: false, loading: false,
refundOldData: [], refundOldData: [],
imageFileArr: [],
imgViewerVisible: false,
// 标记apiList是否都正确返回数据 // 标记apiList是否都正确返回数据
baseApiIdx: 0, baseApiIdx: 0,
okParams: {}, okParams: {},
...@@ -617,6 +628,9 @@ export default { ...@@ -617,6 +628,9 @@ export default {
this.uploadFileList = newVal.filter( this.uploadFileList = newVal.filter(
(v) => !this.filterEmpty(v.uploadProgress) || v.fileUrl (v) => !this.filterEmpty(v.uploadProgress) || v.fileUrl
) // 文件列表 ) // 文件列表
const imageFileArr = newVal.filter(v => v.fileUrl && (v.fileUrl.includes('.png') || v.fileUrl.includes('jpg')))
this.imageFileArr = imageFileArr.map(item => { return item.fileUrl })
console.log(this.imageFileArr, 'this.imageFileArr')
} }
}, },
deep: true deep: true
...@@ -1052,15 +1066,16 @@ export default { ...@@ -1052,15 +1066,16 @@ export default {
}, },
// 预览文件 // 预览文件
handleFileView(item) { handleFileView(item) {
// if (!item.fileUrl) return console.log(item, 'item--')
// if (item?.fileUrl.includes('.pdf')) { // pdf文件直接打开新窗口预览 if (!item.fileUrl) return
// window.open(item.fileUrl) if (item?.fileUrl.includes('.pdf')) { // pdf文件直接打开新窗口预览
// } else { window.open(item.fileUrl)
// this.imgViewerVisible = true } else if (item.fileUrl.includes('.png') || item.fileUrl.includes('jpg')) {
// this.imageFileArr.forEach((val, index) => { this.imgViewerVisible = true
// if (val == item.fileUrl) this.initialIndex = index this.imageFileArr.forEach((val, index) => {
// }) if (val == item.fileUrl) this.initialIndex = index
// } })
}
}, },
closeImgViewer() { closeImgViewer() {
this.imgViewerVisible = false this.imgViewerVisible = false
......
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
_refundSubOrderCode.push(item.subOrderCode) _refundSubOrderCode.push(item.subOrderCode)
this.$set(selection[idx], 'refundAmount', item.totalPrice) this.$set(selection[idx], 'refundAmount', item.totalPrice)
}) })
this.total = _total this.total = parseFloat(_total.toFixed(2))
this.refundSubOrderCode = _refundSubOrderCode.join("/") this.refundSubOrderCode = _refundSubOrderCode.join("/")
this.refundApplyDetailList = selection this.refundApplyDetailList = selection
console.log(this.refundSubOrderCode) console.log(this.refundSubOrderCode)
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</span> </span>
<!-- 下载 --> <!-- 下载 -->
<span style="margin-right: 10px;" <span style="margin-right: 10px;"
v-if="scope.scope.approveType == 1"> v-if="scope.scope.approveType == 1 && ![7, 8].includes(scope.scope.status)">
<auth-button :data="scope.scope" <auth-button :data="scope.scope"
:show-btn-ids="['9040808']" /> :show-btn-ids="['9040808']" />
<span v-if="scope.scope.downCount != 0" <span v-if="scope.scope.downCount != 0"
......
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
_total += item.totalPrice _total += item.totalPrice
_refundSubOrderCode.push(item.subOrderCode) _refundSubOrderCode.push(item.subOrderCode)
}) })
this.total = _total this.total = parseFloat(_total.toFixed(2))
this.refundSubOrderCode = _refundSubOrderCode.join('/') this.refundSubOrderCode = _refundSubOrderCode.join('/')
this.refundApplyDetailList = selection this.refundApplyDetailList = selection
console.log(this.refundSubOrderCode) console.log(this.refundSubOrderCode)
......
...@@ -347,7 +347,7 @@ export default { ...@@ -347,7 +347,7 @@ export default {
}, },
{ {
label: "品牌", label: "品牌",
name: "carBrandId", name: "carBrandIds",
type: "select", type: "select",
multiple: true, multiple: true,
isClear: true, isClear: true,
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
</div> </div>
<div class="d2-container-content"> <div class="d2-container-content">
<d2-table-header title="标签录音管理列表"> <d2-table-header title="录音标签管理列表">
<el-button size="small" type="primary" @click="exportTable"> <el-button size="small" type="primary" @click="exportTable">
导出 导出
</el-button> </el-button>
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
}, },
{ {
label: "品牌", label: "品牌",
prop: "oneCarBrand" prop: "carBrand"
}, },
{ {
label: "录音链接", label: "录音链接",
...@@ -104,6 +104,10 @@ export default { ...@@ -104,6 +104,10 @@ export default {
} }
}, },
{ {
label: "质检得分",
prop: "score"
},
{
label: "身份介绍", label: "身份介绍",
prop: "sfjs" prop: "sfjs"
}, },
...@@ -192,7 +196,7 @@ export default { ...@@ -192,7 +196,7 @@ export default {
label: "质检时间", label: "质检时间",
name: "checkStart", name: "checkStart",
type: "datePicker", type: "datePicker",
isClear: false, isClear: true,
pickerOptions: "rangePickerOptions_30day2" pickerOptions: "rangePickerOptions_30day2"
}, },
{ {
...@@ -215,7 +219,7 @@ export default { ...@@ -215,7 +219,7 @@ export default {
}, },
{ {
confId: 1, confId: 1,
confValue: "未成交" confValue: "战败"
} }
], ],
brandList: [], brandList: [],
......
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
watch: { watch: {
yData: { yData: {
handler() { handler() {
this.chart.setOption(this.getChartSetOption()) this.chart.setOption(this.getChartSetOption(), { notMerge: true })
}, },
deep: true deep: true
} }
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
mounted() { mounted() {
this.client = this.$refs[this.id] this.client = this.$refs[this.id]
this.chart = echarts.init(this.client) this.chart = echarts.init(this.client)
this.chart.setOption(this.getChartSetOption()) this.chart.setOption(this.getChartSetOption(), { notMerge: true })
window.addEventListener("resize", this.resizeHandler) window.addEventListener("resize", this.resizeHandler)
}, },
methods: { methods: {
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
if (this.chart) { if (this.chart) {
this.chart.clear() this.chart.clear()
setTimeout(() => { setTimeout(() => {
this.chart.setOption(this.getChartSetOption()) this.chart.setOption(this.getChartSetOption(), { notMerge: true })
this.chart.resize() this.chart.resize()
}, 1000) }, 1000)
} }
...@@ -89,6 +89,7 @@ export default { ...@@ -89,6 +89,7 @@ export default {
fontSize: 14 fontSize: 14
}, },
formatter: (params) => { formatter: (params) => {
console.log(params)
let rate = String(this.dataRate[params[0].dataIndex][this.rate]) let rate = String(this.dataRate[params[0].dataIndex][this.rate])
return ` return `
<div style="font-weight:bold;color:rgba(0, 0, 0, 0.65); line-height: 20px;">${ <div style="font-weight:bold;color:rgba(0, 0, 0, 0.65); line-height: 20px;">${
...@@ -133,13 +134,14 @@ ${this.title}:${params[0].value} ...@@ -133,13 +134,14 @@ ${this.title}:${params[0].value}
}, },
yAxis: { yAxis: {
type: "value", type: "value",
splitLine: {
lineStyle: {
color: "#E7EBEF"
}
},
axisLabel: { axisLabel: {
show: false show: false,
color: "transparent"
},
axisLine: { show: false, color: "transparent" },
axisTick: { show: false, color: "transparent" },
splitLine: {
show: true // 根据截图隐藏网格线
} }
// splitNumber: 4 // splitNumber: 4
}, },
...@@ -155,6 +157,9 @@ ${this.title}:${params[0].value} ...@@ -155,6 +157,9 @@ ${this.title}:${params[0].value}
show: true, show: true,
color: "#999999" color: "#999999"
}, },
itemStyle: {
color: "#2A58AD"
},
barWidth: "35%", barWidth: "35%",
data: this.yData data: this.yData
} }
......
...@@ -143,14 +143,18 @@ export default { ...@@ -143,14 +143,18 @@ export default {
this.baseData.taskStatusOpt.find( this.baseData.taskStatusOpt.find(
(item) => item.confId === cellValue.taskStatus (item) => item.confId === cellValue.taskStatus
)?.confValue + )?.confValue +
(cellValue.taskStatus == 1 ? `(${cellValue.progress}%)` : "") (cellValue.taskStatus == 1
? `(${
cellValue.progress ? cellValue.progress.toFixed(2) : "0"
}%)`
: "")
) )
}, },
className: (cellValue) => { className: (cellValue) => {
return { return {
0: "ashSpot", 2: "ashSpot",
1: "orgenSpot", 1: "orgenSpot",
2: "greenSpot" 0: "greenSpot"
}[cellValue.taskStatus] }[cellValue.taskStatus]
} }
}, },
......
...@@ -106,7 +106,11 @@ ...@@ -106,7 +106,11 @@
></div> ></div>
<div>{{ ["进行中", "已结束"][scope.scope.taskStatus - 1] }}</div> <div>{{ ["进行中", "已结束"][scope.scope.taskStatus - 1] }}</div>
<div v-if="scope.scope.taskStatus == 1"> <div v-if="scope.scope.taskStatus == 1">
({{ scope.scope.progress * 100 }}%) ({{
scope.scope.progress
? (scope.scope.progress * 100).toFixed(2)
: "0"
}}%)
</div> </div>
</div> </div>
<div slot="penalty" slot-scope="scope"> <div slot="penalty" slot-scope="scope">
......
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
默认为当前月份到昨日数据,可自定义周期 默认为当前月份到昨日数据,可自定义周期
<el-button type="text" <el-button type="text"
class="scBtn" class="scBtn"
@click="handleRefresh">刷新</el-button> @click="handleRefresh">刷新
</el-button>
(注:下载按钮无法点击时请刷新)
</div> </div>
<el-form label-width="100px" <el-form label-width="100px"
:inline="true" :inline="true"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!