From bc04553e17adb00ab8205dfa9bfed58d0e0a2963 Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期三, 24 十一月 2021 09:04:33 +0800
Subject: [PATCH] 车辆
---
src/views/your/suggest-manage/suggestManage.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/views/your/suggest-manage/suggestManage.vue b/src/views/your/suggest-manage/suggestManage.vue
index bc975a7..8994f67 100644
--- a/src/views/your/suggest-manage/suggestManage.vue
+++ b/src/views/your/suggest-manage/suggestManage.vue
@@ -7,16 +7,15 @@
<div class="search">
<Card>
<Row class="operation">
- <Button @click="addOil" type="primary" icon="md-add">娣诲姞鍔犳补璁板綍</Button>
<Button @click="init" icon="md-refresh">鍒锋柊</Button>
<Button type="dashed" @click="openTip = !openTip">{{
openTip ? "鍏抽棴鎻愮ず" : "寮�鍚彁绀�"
}}</Button>
<Input
- v-model="searchForm.carNo"
+ v-model="searchForm.content"
suffix="ios-search"
@on-change="getDataList"
- placeholder="杈撳叆杞︾墝鍙锋悳绱�"
+ placeholder="杈撳叆鍙嶉鍐呭鎼滅储"
clearable
style="width: 250px"
/>
@@ -199,6 +198,8 @@
getCarList,
editCar,
deleteCar,
+ getSuggest,
+ deleteSuggest,
} from "@/api/open";
import util from "@/libs/util.js";
export default {
@@ -256,7 +257,7 @@
},
{
title: "鎰忚鍒嗙被",
- key: "dictDataId",
+ key: "title",
width: 150,
},
{
@@ -267,19 +268,18 @@
{
title: "鍙嶉鏃堕棿",
key: "createTime",
- width: 180,
+ width: 240,
sortable: true,
},
{
title: "鍙嶉鍟嗘埛",
- key: "customerId",
+ key: "name",
width: 150,
},
{
title: "鎿嶄綔",
key: "action",
align: "center",
- width: 195,
render: (h, params) => {
return h("div", [
h(
@@ -383,7 +383,7 @@
},
getDataList() {
this.loading = true;
- getAddOilList(this.searchForm).then((res) => {
+ getSuggest(this.searchForm).then((res) => {
this.loading = false;
if (res.success) {
this.data = res.result.records;
@@ -520,7 +520,7 @@
content: "鎮ㄧ‘璁よ鍒犻櫎鍚� ",
loading: true,
onOk: () => {
- deleteAddOil({ ids: v.id }).then((res) => {
+ deleteSuggest({ ids: v.id }).then((res) => {
this.$Modal.remove();
if (res.success) {
this.clearSelectAll();
--
Gitblit v1.9.1