{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Mobile\\Manage\\MobileMaterialStock\\components\\treePopup\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Mobile\\Manage\\MobileMaterialStock\\components\\treePopup\\index.vue","mtime":1691463999696},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.array.find\";\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//\nimport myTree from '@/components/myTree/index.vue';\nimport classManage from '@/api/manager/material/materialInfoManage';\nexport default {\n name: 'treePopup',\n components: {\n myTree: myTree\n },\n // 排查单位查询-筛选弹层\n props: {\n // 是否展示弹层\n treePopup: {\n default: false,\n type: Boolean\n },\n value: {\n default: '',\n type: String\n }\n },\n data: function data() {\n return {\n tree: [],\n sonOptions: [{\n childrenkey: 'children',\n nameKey: 'name',\n idKey: 'id',\n height: '36px'\n }],\n cloneValue: '',\n row: {}\n };\n },\n computed: {\n isShowPopup: {\n get: function get() {\n return this.treePopup;\n },\n set: function set(val) {\n this.$emit('update:treePopup', val);\n }\n }\n },\n created: function created() {\n this.cloneValue = this.value;\n this.getTree();\n },\n methods: {\n // 取消\n cancel: function cancel() {\n this.isShowPopup = false;\n },\n // 确认\n confirm: function confirm() {\n this.$emit('input', this.cloneValue);\n this.$emit('confirm', this.row);\n this.isShowPopup = false;\n },\n // 分页查询物资信息\n getTree: function getTree() {\n var _this = this;\n\n classManage.loadAllClass({}, function (res) {\n _this.tree = [res.value.find(function (i) {\n return i.id === _this.value;\n })];\n _this.row = res.value.find(function (i) {\n return i.id === _this.value;\n });\n });\n },\n clickRadio: function clickRadio(row) {\n this.cloneValue = row.id;\n this.row = row;\n }\n }\n};",null]}