马宇豪
2023-09-08 0b25ddd8815f90a3f16c7900c624823298c7c0b0
src/views/main/index.vue
@@ -98,13 +98,13 @@
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageIndex"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <form-dialog ref="formDialog"></form-dialog>
    <el-dialog title="新增信息" :visible.sync="addForm" width="75%" append-to-body>
      <form-fill ref="formFill"></form-fill>
      <form-fill ref="formFill" @closeDialog="closeAdd()"></form-fill>
    </el-dialog>
  </div>
</template>
@@ -128,7 +128,7 @@
      expertTypes: [],
      expertList: [],
      queryParams: {
        pageIndex: 1,
        pageNum: 1,
        pageSize: 10,
        bigClassify: null,
        smallClassify: null,
@@ -205,7 +205,7 @@
      return null;
    },
    handleQuery() {
      this.queryParams.pageIndex = 1
      this.queryParams.pageNum = 1
      if(this.classiFy.length>0){
        this.queryParams.bigClassify = this.classiFy[0]
        this.queryParams.smallClassify = this.classiFy[1]
@@ -247,6 +247,10 @@
        this.$refs.formFill.changeSource(2)
      },1000)
    },
    closeAdd(){
      this.addForm = false
      this.getList()
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      getInfo(row.expertId).then((res)=>{