su
su1124
2023-12-06 ae10aec8b64ee09160879429ddcfa57963e7cf05
su
2个文件已修改
23 ■■■■■ 已修改文件
src/views/system/tijianall/index.vue 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijianall/index.vue
@@ -748,6 +748,7 @@
    //   }
    // };
    return {
      proIdList: [],
      tableDatas: [],
      dialogVisiblese: false,
      lishi: false,
@@ -985,7 +986,6 @@
    cope() {
      let cusIdCard = this.form.cusIdcard;
      getHistryTjOrderProByCusIdCard(cusIdCard).then((res) => {
        console.log(res);
        this.copeList = res.data;
        if (res.data.length != 0) {
          this.dialogVisiblese = true;
@@ -1005,21 +1005,24 @@
        }
        let _this = this;
        console.log(this.tableDatas.length);
        if (this.tableDatas.length != 0) {
           this.tableDatas.forEach((item) => {
          _this.pacId = this.tableDatas.pacId;
          _this.proId = this.tableDatas.proId;
            if (item.pacId != null) {
              _this.pacId = item.pacId;
            } else {
              item.list.forEach((items) => {
                _this.proIdList.push(items.proId);
          console.log(_this.pacId, 888);
        });
            }
          });
        } else {
          _this.pacId = "";
        }
        let data = {
          cusId,
          pacId: _this.pacId,
          proIds:  _this.proId,
          proIds: _this.proIdList,
        };
        getaddtTransition(data).then((response) => {
          if (response.msg === "操作成功") {
@@ -1339,7 +1342,6 @@
    // 点击多选框获取选中数据
    handleSelectionChange(selection, row) {
      this.tableData = selection;
      console.log(this.tableData);
      if (selection.length > 1) {
        let del_row = selection.shift();
        this.$refs.tb.toggleRowSelection(del_row, false); //设置这一行取消选中
@@ -1452,15 +1454,11 @@
    // 最后提交按钮
    submitPrice() {
      let _this = this;
      console.log(_this.tableData1.length, 111);
      if (_this.tableData1.length > 0) {
        let userId = this.form.cusIdcard;
        console.log(userId, 222);
        let tjType = this.form.tjType == 2 ? "个人" : "团队";
        console.log(this.tableData[0], 444);
        if (this.tableData[0]) {
          var pacId = this.tableData[0].pacId;
          console.log(pacId, 333);
        }
        // let copeWith = this.TotalPrice1;
        // let paidIn = this.TotalPrice;
@@ -1474,7 +1472,6 @@
        // }
        let data;
        if (pacId) {
          console.log(pacId);
          data = {
            pacId,
            department: this.form.department,
vue.config.js
@@ -36,7 +36,7 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`,
        target: `http://192.168.0.111:5011`,
        target: `http://192.168.0.101:5011`,
        // // target: `http://192.168.0.99:8080/ltkj-admin`,
        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        changeOrigin: true,