{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\approve\\staff-card\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\approve\\staff-card\\index.vue","mtime":1737610069404},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\"use strict\";\n\nvar _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nrequire(\"core-js/modules/es6.function.name\");\nvar _paging = _interopRequireDefault(require(\"@/views/Public/paging.vue\"));\nvar _getdata = require(\"@/api/getdata\");\nvar _popup = _interopRequireDefault(require(\"@/views/estate/examine/dialog/popup.vue\"));\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//\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//\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//\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//\n//\n//\n//\n//\n//\n//\n//\nvar _default = exports.default = {\n components: {\n Paging: _paging.default,\n Popup: _popup.default\n },\n data: function data() {\n return {\n iscontinue: true,\n validation: false,\n completeTitle: \"\",\n btns: 3,\n nav: \"\",\n loading: false,\n //初始化loading\n loadingMsg: \"\",\n options: [] /**拜访部门 */,\n formInline: {\n part: \"\",\n name: \"\",\n idnumber: \"\",\n applyTime: \"\",\n state: \"\"\n },\n cardDesenShow: true,\n cardDesen: \"\",\n tableData: [],\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少条*/,\n total: 0 /**总数 */\n }\n };\n },\n created: function created() {},\n mounted: function mounted() {\n this.createLoad();\n this.getlist();\n this.getbmlist();\n },\n methods: {\n cardBlur: function cardBlur(captain) {\n //*脱敏\n this.cardDesen = captain ? this.regular.tmIdCard(captain) : \"\"; //脱敏\n this.cardDesenShow = true;\n },\n createLoad: function createLoad() {\n this.loading = true;\n this.loadingMsg = \"加载中...\";\n },\n clearLoad: function clearLoad() {\n this.loading = false;\n this.loadingMsg = \"\";\n },\n getbmlist: function getbmlist() {\n var _this = this;\n (0, _getdata.GetBmList)().then(function (res) {\n if (res.returnCode == \"1\") {\n // this.$message({\n // message: res.returnMsg,\n // type: \"success\"\n // });\n _this.options = res.returnData;\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n closeEnd: function closeEnd() {\n this.validation = false;\n },\n onSubmit: function onSubmit() {\n // formInline.name\n var chinese = /^[\\u4e00-\\u9fa5]+$/;\n var englist = /^[a-zA-Z]+$/;\n this.iscontinue = false;\n if (chinese.test(this.formInline.name) || englist.test(this.formInline.name) || this.formInline.name == \"\") {\n this.iscontinue = true;\n }\n if (!this.iscontinue) {\n this.validation = true;\n this.completeTitle = \"警告\";\n this.btns = 2;\n this.nav = \"姓名格式只支持输入全中或全英文!\";\n } else {\n this.page.limit = 1;\n this.createLoad();\n this.getlist();\n }\n },\n // 分页\n currentChanges: function currentChanges(val) {\n this.page.limit = val;\n this.createLoad();\n this.getlist();\n },\n getlist: function getlist() {\n var _this2 = this;\n var Content = {\n currentPage: this.page.limit,\n queryObj: {\n _status: this.formInline.state,\n applyTime: this.formInline.applyTime ? this.formInline.applyTime : \"\",\n deptId: this.formInline.part,\n idcardNo: this.formInline.idnumber,\n staffName: this.formInline.name\n }\n };\n // console.log(Content,234)\n (0, _getdata.YgcardList)(Content).then(function (res) {\n // console.log(res);\n if (res.returnCode == \"1\") {\n _this2.clearLoad();\n // console.log(res.returnData,888)\n _this2.tableData = res.returnData.data;\n _this2.page.total = res.returnData.total;\n _this2.page.limit = res.returnData.currentPage;\n if (_this2.page.total == 0) {\n _this2.$message({\n message: \"当前无数据\",\n type: \"success\"\n });\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n }\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n });\n }\n }\n};",null]}