zhanghua
2025-07-16 7c20fd15b7fbc2bd5756b39d5ab655cc849ffcc3
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"
@@ -52,16 +46,11 @@
          tooltip-effect="dark"
          style="width: 100%"
          :header-cell-style="{
            background: '#06122c',
            'font-size': '12px',
            color: '#4b9bb7',
            'font-weight': '650',
            'line-height': '45px',
          }"
          :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 +75,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 +151,6 @@
      date: "",
      beginTime: "",
      endTime: "",
      // totalNum: 200,
      // pageSize: 10,
      // currentPage: 1,
    };
  },
  created() {
@@ -181,23 +160,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,19 +191,15 @@
        .catch((_) => {});
    },
    closeDialog({ flag, index }) {
      console.log(flag);
      index === 1 ? "" : "";
      this.dialogCreate = flag;
    },
    // 创建查看弹窗
    handleView(rowData) {
      console.log(rowData);
      this.userInfo = rowData;
      this.dialogUpdate = true;
    },
    // 删除第三方接口
    handleDelete({ id }) {
      console.log(id);
      this.$axios
        .delete("sccg/system/portal/thirdApp/delete", {
          params: {
@@ -263,7 +236,7 @@
      display: flex;
      line-height: 60px;
      color: #4b9bb7;
      background-color: #09152f;
      // background-color: #09152f;
      display: flex;
      .add,
      .search,
@@ -285,11 +258,11 @@
        height: 35px;
        margin-left: 10px;
        &::v-deep .el-input__inner {
          background-color: #09152f;
          border: 1px solid #17324c;
          font-size: 12px;
        }
        // &::v-deep .el-input__inner {
        //   background-color: #09152f;
        //   border: 1px solid #17324c;
        //   font-size: 12px;
        // }
      }
    }
@@ -297,7 +270,7 @@
      margin-top: 20px;
      .el-table {
        color: #4b9bb7;
        // color: #4b9bb7;
        &::v-deep .el-table__empty-block {
          background-color: #06122c;