From 67d3b57765b0ba66ae25a9da84a16e44a4ef2937 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期三, 25 三月 2026 09:13:59 +0800
Subject: [PATCH] 调整
---
src/views/dataAnalysis/CarInfoList.vue | 29 ++++++++++++++++++++++++++---
1 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/src/views/dataAnalysis/CarInfoList.vue b/src/views/dataAnalysis/CarInfoList.vue
index 67cc7c5..bfd9e60 100644
--- a/src/views/dataAnalysis/CarInfoList.vue
+++ b/src/views/dataAnalysis/CarInfoList.vue
@@ -44,12 +44,17 @@
/>
</a-form-item>
<a-form-item label="瀹㈡埛绫诲瀷">
- <j-dict-select-tag
+ <a-select
style="width: 180px"
v-model="queryParam.clientType"
placeholder="璇烽�夋嫨"
- dictCode="client_type"
- />
+ allowClear
+ >
+ <a-select-option v-for="item in clientTypeOptions" :key="item.id" :value="item.id">
+ {{ item.clientName }}
+ </a-select-option>
+ </a-select>
+ </a-form-item>
<!-- <a-select style="width: 180px" allowClear v-model="queryParam.clientType" placeholder="璇烽�夋嫨瀹㈡埛绫诲瀷">
<a-select-option :value="1"> 鏅�氬鎴� </a-select-option>
<a-select-option :value="2"> 娼滃湪瀹㈡埛 </a-select-option>
@@ -158,6 +163,7 @@
description: 'CarInfo鍒楄〃',
queryParam: {},
tagList: [], //鎵�鏈夋爣绛鹃泦鍚�
+ clientTypeOptions: [], //瀹㈡埛绫诲瀷鍒楄〃
// 琛ㄥご
columns: [
{
@@ -244,6 +250,14 @@
},
methods: {
+ // 鑾峰彇瀹㈡埛绫诲瀷鍒楄〃
+ getClientTypeOptions() {
+ getAction('/jyz/client/listClientType').then((res) => {
+ if (res.code === 200) {
+ this.clientTypeOptions = res.result
+ }
+ })
+ },
delSlectTag(item) {
console.log(item)
let index = this.selectTagList.findIndex((el) => el == item)
@@ -321,10 +335,19 @@
this.queryParam.orgCode = node.node.dataRef.orgCode
this.loadData()
},
+ // 鑾峰彇瀹㈡埛绫诲瀷鍒楄〃
+ getClientTypeOptions() {
+ getAction('/jyz/client/listClientType').then((res) => {
+ if (res.code === 200) {
+ this.clientTypeOptions = res.result
+ }
+ })
+ },
},
created() {
this.getTagInfo(true)
+ this.getClientTypeOptions()
},
}
</script>
--
Gitblit v1.8.0