wang-hao-jie
2021-11-24 07d3ca1aef2fa1ffca559593b93a2696e2a70d0e
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();