WXL
3 天以前 30e7ca11b36177cdaea2839aa5146c180ce53197
src/views/followvisit/tasklist/index.vue
@@ -688,8 +688,6 @@
    /** 查询任务列表 */
    getList() {
      this.loading = true;
      console.log(this.topqueryParams.type);
      this.topqueryParams.serviceType = Number(this.tasktopic);
      if (
        this.tasktopic == 2 ||
@@ -783,6 +781,11 @@
    /** 搜索按钮操作 */
    handleQuerytask() {
      this.topqueryParams.pageNum = 1;
      if (this.tasktopic == 4) {
        this.topqueryParams.type = 3;
      }else{
        this.topqueryParams.type = 2;
      }
      // this.topqueryParams.type = '';
      this.getList();
    },
@@ -940,17 +943,19 @@
        this.TaskOperation.taskType = this.topqueryParams.type;
        this.TaskOperation.sendState = 2;
        this.TaskOperation.sendType = 2;
        this.$modal.confirm({
        title: '确认操作',
        text: '你确定要执行这个操作吗?',
        showCancelButton: true,
        confirmButtonText: '确定',
        cancelButtonText: '取消'
      }).then((result) => {
        if (result.value) {
          console.log('用户点击了确定按钮');
        }
      });
        this.$modal
          .confirm({
            title: "确认操作",
            text: "你确定要执行这个操作吗?",
            showCancelButton: true,
            confirmButtonText: "确定",
            cancelButtonText: "取消",
          })
          .then((result) => {
            if (result.value) {
              console.log("用户点击了确定按钮");
            }
          });
        this.$modal
          .confirm(
            '当前选中任务名称为"' +