From 9cc63402f01727bd94e1dc662f0c99cab3d40ec4 Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Mon, 6 May 2024 13:43:48 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=BB=B4=E4=BF=AE=E5=B7=A5?=
=?UTF-8?q?=E5=8D=95=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/operation/repairbill/repairbill.vue | 30 ++++++++-----------
.../operation/repairbill/repairbillAdd.vue | 4 +--
.../operation/repairbill/repairbillInfo.vue | 4 +--
3 files changed, 17 insertions(+), 21 deletions(-)
diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbill.vue b/yxt-as-ui/src/views/operation/repairbill/repairbill.vue
index fc39b04697..8225725b03 100644
--- a/yxt-as-ui/src/views/operation/repairbill/repairbill.vue
+++ b/yxt-as-ui/src/views/operation/repairbill/repairbill.vue
@@ -146,6 +146,7 @@ import ButtonBar from '@/components/ButtonBar'
import req from '@/api/operation/repairbill'
import repairbillAdd from './repairbillAdd'
import repairbillInfo from './repairbillInfo'
+import { typeValues } from '@/api/Common/dictcommons'
export default {
name: 'RepairBill',
@@ -195,20 +196,7 @@ export default {
tableKey: 0,
list: [],
sids: [], // 用于导出的时候保存已选择的SIDs
- billType_list: [
- {
- dictKey: '0',
- dictValue: '正常工单'
- },
- {
- dictKey: '1',
- dictValue: '保险理赔'
- },
- {
- dictKey: '2',
- dictValue: '协议单位'
- }
- ],
+ billType_list: [],
state_list: [
{
dictKey: '1',
@@ -216,7 +204,7 @@ export default {
},
{
dictKey: '0',
- dictValue: '是'
+ dictValue: '否'
}
],
FormLoading: false,
@@ -224,7 +212,7 @@ export default {
// 翻页
listQuery: {
current: 1,
- size: 10,
+ size: 5,
total: 0,
params: {
startTime: '',
@@ -258,12 +246,20 @@ export default {
},
created() {
// 初始化变量
+ this.init()
this.getList()
},
mounted() {
this.$refs['btnbar'].setButtonList(this.btnList)
},
methods: {
+ init() {
+ typeValues({ type: 'billType' }).then((res) => {
+ if (res.success) {
+ this.billType_list = res.data
+ }
+ })
+ },
// 搜索条件效果
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
@@ -333,7 +329,7 @@ export default {
handleReset() {
this.listQuery = {
current: 1,
- size: 10,
+ size: 5,
total: 0,
params: {
startTime: '',
diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
index 4ed5bdc725..4e70fda32a 100644
--- a/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
+++ b/yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue
@@ -108,7 +108,7 @@
{{ formobj.customerName }}
- 联系地那话
+ 联系电话
{{ formobj.vehMark }}
@@ -122,7 +122,7 @@
{{ formobj.vehMark }}
- 车架号哦啊
+ 车架号
{{ formobj.vinNo }}
diff --git a/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue b/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue
index 85c31e525f..1f2abb6d60 100644
--- a/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue
+++ b/yxt-as-ui/src/views/operation/repairbill/repairbillInfo.vue
@@ -83,7 +83,7 @@
{{ formobj.customerName }}
- 联系地那话
+ 联系电话
{{ formobj.vehMark }}
@@ -97,7 +97,7 @@
{{ formobj.vehMark }}
- 车架号哦啊
+ 车架号
{{ formobj.vinNo }}