lkk
2024-12-05 81f0a7c8b364fe7b8d566b27bfc9c8ef11d2be7f
src/views/system/tijian/index.vue
@@ -1619,10 +1619,11 @@
        pacName: null,
        pacRemark: null,
      },
      valueUrl: "ws://127.0.0.1:18890",
      // valueUrl: "ws://127.0.0.1:18890",
      valueUrl: "ws://127.0.0.1:6789/websocket",
      valueUrls: "ws://127.0.0.1:6789/websocket",
      // valueUrls: "ws://"+getIp() +":6789/websocket",
      WebSocket: null,
      webSocket: null,
      // 身份证需要
      // socket: null,
      // value: 1,
@@ -1652,12 +1653,13 @@
      // 表单参数
      // 表单参数
      obj: {},
      form: {
        cusIdcard: "",
        tjType: "3",
        cusSex: 1,
        cusNational: "1",
        cusMarryStatus: "1",
        cusMarryStatus: "5",
        idType: "1",
        ageUnit: "0",
      },
@@ -1689,6 +1691,10 @@
    this.startTimer();
    this.getList1();
    // this.getData();
  },
  mounted(){
    console.log(this.dict.type.dict_user_marry,555);
  },
  methods: {
@@ -2279,6 +2285,7 @@
      } else {
        let configKey = "getInfoFromSqlData";
        getconfigKey(configKey).then((res) => {
          console.log(res);
          if (res.code == 200) {
            if (res.msg == "N") {
              var websocket = null;
@@ -2305,16 +2312,17 @@
                this.websocket = websocket;
                // 连接设备
                var jsonObj = {
                  name: "connect",
                  // name: "connect",
                  type: "1",
                };
                var jStr = JSON.stringify(jsonObj);
                this.websocket.send(jStr);
                alert("请放身份证再点确认");
                var jsonObj = {
                  name: "readCert",
                  // name: "readCert",
                };
                var jStr = JSON.stringify(jsonObj);
                this.websocket.send(jStr);
                // var jStr = JSON.stringify(jsonObj);
                // this.websocket.send(jStr);
                this.dialogVisible = false;
              };
@@ -2322,6 +2330,7 @@
              websocket.onmessage = function (event) {
                var resultObj = eval("(" + event.data + ")");
                //resultFlag为0代表读卡成功
                if (
                  resultObj.name == "readCard" ||
                  resultObj.name == "readCert" ||
@@ -2967,10 +2976,10 @@
            let proId = this.packagedataList[i].proId;
            this.checkedListkey1.push(proId);
            // this.DataLists.push(this.packagedataList[i]);
              getProSonDxList(proId).then((res) => {
            getProSonDxList(proId).then((res) => {
              this.TreedataList = res.data.list;
              console.log(this.TreedataList,888);
              console.log(this.TreedataList, 888);
              this.TreedataList.forEach((item) => {
                // this.checkedListkey1.push(item.proId);
@@ -2980,7 +2989,7 @@
                  this.marryalls = 0;
                  this.DataLists.forEach((item1) => {
                    this.marryalls += item1.proPrice;
                    this.packagedataList.forEach((item3) => {
                      if (item1.proParentId == item3.proId) {
                        item1.propinName = item3.proName;