zuozhengqing
2023-11-18 e0efd928e914e1a768635fb6b9fe303f3e329f01
src/views/overview/OverviewListView.vue
@@ -1,8 +1,8 @@
<template>
  <div class="rightContent">
    <div class="label-fixed-element">
    <!-- <div class="label-fixed-element">
      <span>{{ params.name }}</span>
    </div>
    </div> -->
    <div class="top">
      <SearchCommonView
        :add-title="'新建'"
@@ -22,7 +22,7 @@
              <template slot-scope="scope">
                <el-button @click="tableRowClick(scope.row, '查看')" type="text" size="small">查看</el-button>
                <el-button
                  v-if="scope.row.status !== 4"
                  v-if="scope.row.status !== 4&&scope.row.status !== 5"
                  @click="tableRowClick(scope.row, '编辑')"
                  type="text"
                  size="small"
@@ -67,7 +67,8 @@
      searchOptions: [],
      commonDetail: {
        visible: false,
        title: "新建",
        title: "新建"
        ,
        infomation: {}
      },
      editConfig: {
@@ -272,7 +273,6 @@
    addBtnClick() {
      this.editConfig.title = "新建"
      this.addName = this.params.name
      console.log(this.params, "ss刷新")
      this.editConfig.operationTypeId = this.params.id
      this.editConfig.code = this.params.code
      this.editConfig.infomation = {}
@@ -280,7 +280,7 @@
    },
    // 状态
    getStatus(val) {
      return val === 1 ? "草稿" : val === 3 ? "就绪" : val === 4 ? "完成" : ""
      return val === 1 ? "草稿" : val === 3 ? "就绪" : val === 4 ? "完成" :val === 5 ? "取消" : ""
    },
    // 删除搜索状态
    delSelectClick() {