{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\BasicData\\AreaManage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\BasicData\\AreaManage.vue","mtime":1697007204911},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.array.find-index\";\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// import pilotprojects from '@/api/pilotprojects'\nimport utils from '@/utils.js';\nexport default {\n name: 'AreaManage',\n components: {},\n data: function data() {\n return {\n rules: {\n name: [{\n required: true,\n message: '请输入父级行政区域名',\n trigger: 'blur'\n }],\n xb: [{\n required: true,\n message: '请输入行政区域名',\n trigger: 'blur'\n }],\n tel: [{\n required: true,\n message: '请输入邮政编码',\n trigger: 'blur'\n }]\n },\n formData: {},\n isShowButton: true,\n filterText: '',\n data: [{\n id: 1,\n label: '一级 1',\n children: [{\n id: 4,\n label: '二级 1-1',\n children: [{\n id: 9,\n label: '三级 1-1-1'\n }, {\n id: 10,\n label: '三级 1-1-2'\n }]\n }]\n }, {\n id: 2,\n label: '一级 2',\n children: [{\n id: 5,\n label: '二级 2-1'\n }, {\n id: 6,\n label: '二级 2-2'\n }]\n }, {\n id: 3,\n label: '一级 3',\n children: [{\n id: 7,\n label: '二级 3-1'\n }, {\n id: 8,\n label: '二级 3-2'\n }]\n }]\n };\n },\n watch: {\n filterText: function filterText(val) {\n this.$refs.tree.filter(val);\n }\n },\n methods: {\n handleCancel: function handleCancel() {\n this.isShowButton = false;\n },\n append: function append(data) {\n var newChild = {\n id: id++,\n label: 'testtest',\n children: []\n };\n\n if (!data.children) {\n this.$set(data, 'children', []);\n }\n\n data.children.push(newChild);\n },\n remove: function remove(node, data) {\n var parent = node.parent;\n var children = parent.data.children || parent.data;\n var index = children.findIndex(function (d) {\n return d.id === data.id;\n });\n children.splice(index, 1);\n },\n filterNode: function filterNode(value, data) {\n if (!value) return true;\n return data.label.indexOf(value) !== -1;\n }\n }\n};",null]}