1 line
3.8 KiB
JSON
1 line
3.8 KiB
JSON
{"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\\property\\cardBind\\popup\\ticketpop.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\property\\cardBind\\popup\\ticketpop.vue","mtime":1737610069442},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":1740463332584},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1740463332762},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":1740463340941}],"contextDependencies":[],"result":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _utils = require(\"@/utils\");\nvar _getdata = require(\"@/api/getdata\");\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 props: [\"width\", \"row\", \"title\"],\n data: function data() {\n return {\n dataList: [],\n lDialog: this.width > 500 ? \"w700\" : \"w500\",\n dialogVisible: true,\n rules: {},\n menuList: []\n };\n },\n mounted: function mounted() {\n this.getCardsByUser();\n },\n methods: {\n getCardsByUser: function getCardsByUser() {\n var _this = this;\n console.log(this.row);\n var aa = {\n userId: this.row.id,\n userName: this.row.real_name\n };\n (0, _getdata.getCardsByUser)(aa).then(function (res) {\n if (res.returnCode == '1') {\n // this.$message({\n // message:res.returnMsg,\n // type: \"success\"\n // });\n console.log(res.returnData);\n var bandList = res.returnData.bandList.map(function (item) {\n item.isBind = 0;\n return item;\n });\n var unBandList = res.returnData.unBandList.map(function (item) {\n item.isBind = 1;\n return item;\n });\n ;\n // \n _this.dataList = bandList.concat(unBandList);\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 // selectable(row) {\n // console.log(row)\n // if (row.isBind == 0) {\n // return true\n // } else {\n // return false\n // }\n // },\n // 多选框选中数据\n handleSelectionChange: function handleSelectionChange(selection) {\n // this.ids = selection.map((item) => item.dictId)\n },\n /*关闭弹窗 */handleClose: function handleClose() {\n var _this2 = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this2.dialogVisible = true;\n });\n },\n /**确认弹窗 */sureBtnClick: function sureBtnClick() {\n var _this3 = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this3.dialogVisible = true;\n });\n },\n /**验证 */submitForm: function submitForm(formName) {\n // let data = {\n // id:this.row.id,\n // roleId:this.row.role_id,\n // isc_id:this.row.isc_id,\n // realName:this.row.real_name,\n // mobile:this.row.mobile\n\n // }\n this.$emit('submit', data);\n }\n }\n};",null]} |