zhanghua
2022-12-08 1ec00a645693dbc08b7ea70855451bbd72c43a6a
src/views/operate/rectification/surveyList/index.vue
@@ -29,11 +29,6 @@
            >
            </el-date-picker>
          </div>
          <!-- <div class="mydate">
            <el-input placeholder="请输入开始时间"></el-input>
            <div class="line">——— ———</div>
            <el-input placeholder="请输入结束时间"></el-input>
          </div> -->
        </div>
        <div class="search">
          <el-input placeholder="请输入标题或者任务编号"></el-input>
@@ -44,7 +39,6 @@
        </div>
      </div>
      <div class="mainContent">
        <!-- @selection-change="handleSelectionChange" -->
        <!-- 数据渲染 -->
        <el-table
          ref="multipleTable"
@@ -60,8 +54,6 @@
          }"
          :row-class-name="tableRowClassName"
        >
          <!-- <el-table-column type="selection" width="55">
                    </el-table-column> -->
          <el-table-column label="任务编号" prop="num" min-width="10">
          </el-table-column>
          <el-table-column prop="type" label="问题类型" min-width="10">
@@ -86,13 +78,6 @@
            </template>
          </el-table-column>
        </el-table>
        <!-- 分页 -->
        <!-- <div class="pagination">
                    <el-pagination background :current-page="currentPage" layout="prev, pager, next" :total="totalNum"
                        :page-size="pageSize" @current-change="changeCurrentPage" @prev-click="handlePrev"
                        @next-click="handleNext">
                    </el-pagination>
                </div> -->
      </div>
    </main>
    <footer>
@@ -169,9 +154,6 @@
      date: "",
      beginTime: "",
      endTime: "",
      // totalNum: 200,
      // pageSize: 10,
      // currentPage: 1,
    };
  },
  created() {
@@ -181,23 +163,21 @@
    // 获取接口列表
    getUserList() {
      const that = this;
      // const { currentPage, pageSize, search } = this;
      this.dialogCreate = false;
      this.$axios.get("sccg/system/portal/thirdApp/search").then((res) => {
        const { code, data } = res;
        if (code == 200) {
        if (code === 200) {
          this.tableData = data;
        }
      });
    },
    // 设置表格斑马纹
    tableRowClassName({ row, rowIndex }) {
      if ((rowIndex + 1) % 2 == 0) {
      if ((rowIndex + 1) % 2 === 0) {
        return "warning-row";
      } else {
        return "success-row";
      }
      return "";
    },
    // 打开新增界面
    handleAdd() {
@@ -214,7 +194,6 @@
        .catch((_) => {});
    },
    closeDialog({ flag, index }) {
      index === 1 ? "" : "";
      this.dialogCreate = flag;
    },
    // 创建查看弹窗