qinxianzhangyao
2023-12-22 c619aad083ed22c4f591e7d84f6eb5cd0e227b40
src/views/system/tijian/index.vue
@@ -653,6 +653,7 @@
        <el-button type="primary" @click="copes">确 定</el-button>
      </span>
    </el-dialog>
    <Packages ref="aaa" @add="handleChanges" />
  </div>
</template>
@@ -677,9 +678,10 @@
  getTransitionList,
  getByTeamNo,
  getLoadFile,
  getIsRequired,
  getIsRequired, getconfigKey,
  getHistryTjOrderProByCusIdCard,
} from "@/api/system/tijian";
import Packages from "@/components/Packages";
import { MessageBox } from "element-ui";
import VTreeTransfer from "./TreeTransfer.vue";
import historyTj from "@/components/historyTj/index";
@@ -701,6 +703,7 @@
  components: {
    VTreeTransfer,
    historyTj,
    Packages
  },
  data() {
    return {
@@ -1439,6 +1442,10 @@
        //   this.$message.error("此用户不存在");
        // });
      } else {
        let configKey = "getInfoFromSqlData"
        getconfigKey(configKey).then(res => {
          if (res.code == 200) {
            if (res.msg == "N") {
        var websocket = null;
        var url = this.valueUrl;
        if ("WebSocket" in window) {
@@ -1534,7 +1541,22 @@
        websocket.onclose = function () {
          alert("读卡器连接关闭");
        };
            } else  if (res.msg == "Y"){
              this.$refs.aaa.open = true;
              this.$refs.aaa.getAllList();
              this.$refs.aaa.title = "证件字典";
      }
          }
        })
      }
    },
    handleChanges(param1) {
      this.form.cusIdcard = param1[0].pacCode;
      // this.form.cusName = param1[0].pacName;
      // this.form.cusPhone = param1[0].pacRemark;
    },
    // selected(row, index) {