田源
2025-03-05 d6f94d02fd033c1c0a68fe2d4e987eb233d2afb1
Source/UBCS-WEB/src/views/docking/task.vue
@@ -20,7 +20,8 @@
                     size="small"
                     plain
                     icon="el-icon-refresh-right"
                     @click="handleSend">手动推送
                       v-if="permissionList.sendPush"
                     @click="handleSend" >手动推送
          </el-button>
        <div style="float: right;margin-left: 10px">
          <vci-docking-search :formInline="formInline" :SearchObject="SearchObject" :page="page" :status="status" @getList="dockingGetList"></vci-docking-search>
@@ -31,7 +32,7 @@
</template>
<script>
import {getList,sendData} from "@/api/docking/task";
import {getTaskList,sendData} from "@/api/docking/task";
import {validatenull} from "@/util/validate";
import {mapGetters} from "vuex";
import {remove} from "@/api/code/codeSynonym";
@@ -120,9 +121,12 @@
      option: {
        height:'auto',
        calcHeight: 0,
        columnBtn:false,
        tip: false,
        addBtn:false,
        searchShow: false,
        searchMenuSpan: 6,
        searchShowBtn:false,
        // searchMenuSpan: 6,
        border: true,
        index: true,
        viewBtn: true,
@@ -227,10 +231,7 @@
    ...mapGetters([ "permission"]),
    permissionList() {
      return {
        addBtn: false,
        viewBtn: false,
        delBtn: false,
        editBtn: false
        sendPush: this.vaildData(this.permission.task.task_sendPush, false),
      };
    },
    oids() {
@@ -243,7 +244,10 @@
  },
  methods: {
    dockingGetList(val){
      this.data=val;
      this.data=val.records;
      this.page.pageSize=val.size;
      this.page.currentPage=val.current;
      this.page.total=val.total;
    },
    async cellDbClick(row, column, cell, event) {
      for (const key in row) {
@@ -292,7 +296,7 @@
          query['conditionMap["' + key + '"]'] = this.query[key];
        }
      }
      getList(page.currentPage, page.pageSize, Object.assign(params, this.params, query, this.query)).then(res => {
      getTaskList(page.currentPage, page.pageSize, Object.assign(params, this.params, query, this.query)).then(res => {
        const data = res.data.data;
        this.page.total = data.total;
        this.data = data.records;