hejianhao
2025-05-08 89ea93ff37fd5adcb39c7caad1101970dc78e38c
laboratory/src/views/dataManagement/approvalPlan/list.vue
@@ -27,7 +27,7 @@
          </el-form-item>
          <el-form-item label="">
            <el-button type="default" @click="resetForm">重置</el-button>
            <el-button type="primary" @click="handleSearch">查询</el-button>
            <el-button type="primary" @click="handleSearch" style="margin-left: 20px;">查询</el-button>
          </el-form-item>
        </el-form>
      </template>
@@ -117,6 +117,7 @@
<script>
import ApprovalDialog from './components/approvalDialog.vue'
import { getProposalList } from './service'
export default {
  name: "ProjectList",
@@ -133,6 +134,8 @@
        createTime: [],
        approver: "",
        status: "",
        pageNum: 1,
        pageSize: 10,
      },
      tableData: [],
      total: 0,
@@ -208,6 +211,8 @@
        createTime: [],
        approver: "",
        status: "",
        pageNum: 1,
        pageSize: 10,
      };
    },
    handleSearch() {
@@ -282,6 +287,9 @@
    getTableData() {
      // 根据currentType请求不同的数据
      if (this.currentType === 'list') {
        getProposalList(this.form).then(res => {
          console.log(res,'1111111111111111111111111')
        })
        this.tableData = this.mockListData;
        this.total = this.mockListData.length;
      } else {