1 line
12 KiB
JSON
1 line
12 KiB
JSON
|
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-send-face.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-send-face.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport {\n\tgetDictDataList\n} from \"@/utils\";\nexport default {\n\tprops: {\n\t\taeids: {\n\t\t\ttype: Array,\n\t\t\tdefault: []\n\t\t},\n\t\taccessType: {\n\t\t\ttype: String,\n\t\t\tdefault: \"\"\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tdialogVisible: false,\n\t\t\tdataForm: {\n\t\t\t\ttype: 1,\n\t\t\t\tname: '',\n\t\t\t\tscStuname: '', //学生姓名\n\t\t\t\tscWaname: '', //职工信息\n\t\t\t\tvrName: '', //访客姓名\n\t\t\t},\n\t\t\ttotal: 0,\n\t\t\tpageInfo: {\n\t\t\t\tpage: 1,\n\t\t\t\tlimit: 10\n\t\t\t},\n\t\t\tcheckedList: [],\n\t\t\tdataList: [],\n\t\t\tpersonTypeList: [{\n\t\t\t\t\tdictLabel: \"学生\",\n\t\t\t\t\tdictValue: 1\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdictLabel: \"职工\",\n\t\t\t\t\tdictValue: 2\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdictLabel: \"访客\",\n\t\t\t\t\tdictValue: 3\n\t\t\t\t}\n\t\t\t],\n\t\t};\n\t},\n\twatch: {\n\t\t'dataForm.name'(val) {\n\t\t\tthis.dataForm.scStuname = val; //学生姓名\n\t\t\tthis.dataForm.scWaname = val; //职工信息\n\t\t\tthis.dataForm.vrName = val; //访客姓名\n\t\t}\n\t},\n\tcomputed: {\n\t\thttpUrl() {\n\t\t\tconst urlList = [\"/system/scstudents/page\", \"/system/scworkersarchives/page\", \"/system/scvisitorrecord/page\"];\n\t\t\treturn urlList[this.dataForm.type - 1]\n\t\t},\n\t\tpreviewList() {\n\t\t\treturn this.dataList.map(item => {\n\t\t\t\treturn item.imgUrl\n\t\t\t})\n\t\t},\n\t\tuserids() {\n\t\t\treturn this.checkedList.map(item => item.id)\n\t\t}\n\t},\n\tmethods: {\n\t\tinit() {\n\t\t\tthis.dialogVisible = true;\n\t\t\tthis.dataForm.name = '';\n\t\t\tthis.pageInfo.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\tsearch() {\n\t\t\tthis.pageInfo.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\tquery() {\n\t\t\tthis.$http({\n\t\t\t\turl: this.httpUrl,\n\t\t\t\tmethod: \"get\",\n\t\t\t\tparams: {\n\t\t\t\t\t// scState:1,\n\t\t\t\t\t...this.dataForm,\n\t\t\t\t\t...this.pageInfo\n\t\t\t\t}\n\t\t\t}).then(({\n\t\t\t\tdata: res\n\t\t\t}) => {\n\t\t\t\tif (res.code != 0) {\n\t\t\t\t\treturn this.$messsage.error(res.msg)\n\t\t\t\t}\n\t\t\t\tthis.total = res.data.total;\n\t\t\t\tlet baseurl = this.$ImgServerUrl;\n\t\t\t\tthis.dataList = res.data.list.map(item => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tname: item.scStuname || item.scWaname || item.vrName,\n\t\t\t\t\t\timgUrl: baseurl + (item.scPhotoimg || item.vrPhoneimg),\n\t\t\t\t\t\tid: item.scStdid || item.scWaid || item.vrId\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t})\n\t\t},\n\t\tsendFace() {\n\n\t\t\t// console.log({\n\t\t\t// \tfiveDoors: this.aeids,\n\t\t\t// \tids: this.userids,\n\t\t\t// })\n\t\t\t// return\n\n\n\n\t\t\tif (this.checkedList.length == 0) {\n\t\t\t\treturn this.$message.warning(`请勾选需要变更密码的设备`)\n\t\t\t}\n\t\t\tthis.$http(this.accessType === \"eight\" ? {\n\t\t\t\turl: \"/system/scaidooreight/transfacelisttodoor\",\n\t\t\t\tmethod: \"post\",\n\t\t\t\ttimeout: 0,\n\t\t\t\tdata: {\n\t\t\t\t\taeids: this.aeids,\n\t\t\t\t\tuserids: this.use
|