{"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\\Manage\\base\\CmgtBasePositionManage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\base\\CmgtBasePositionManage.vue","mtime":1692168359236},{"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 _defineProperty from \"D:/jenkins/workspace/bzzgj-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 { TableMixin } from '@/mixins/tableMixin';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport dictContracts from '@/components/dict/DictSelectUtils.js';\nimport CommonApi from '@/views/Manage/CommonApi.js';\nimport CmgtBasePositionApi from '@/views/Manage/base/api/CmgtBasePositionApi';\nimport CmgtBasePositionFormDialog from '@/views/Manage/base/components/CmgtBasePositionFormDialog';\nimport equipmentManage from '@/api/device/equipmentManage.js';\nimport teamMemberManage from '@/api/manager/duty/teamMemberManage.js';\nexport default {\n name: 'CmgtBasePositionManage',\n components: {\n CmgtBasePositionFormDialog: CmgtBasePositionFormDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return _defineProperty({\n url: {\n delete: '/manager/cmgtBasePosition/delete'\n },\n dtypeSelectOptions: [],\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'name_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'dtype_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'BETWEEN',\n parentGroup: '',\n property: 'receive_time_',\n relation: 'AND',\n value: ''\n }],\n StshowFormDias: false,\n fuelTypes: [],\n equipmentList: [],\n // 关联区域列表\n userList: []\n }, \"dtypeSelectOptions\", []);\n },\n created: function created() {\n var _this = this;\n\n this.getEquipmentList();\n this.getUserList();\n CommonApi.loadSelectOptions({\n name: 'cmgtBasePositionManagerImpl.getAllPositionType'\n }, function (res) {\n _this.dtypeSelectOptions = res;\n });\n },\n mounted: function mounted() {},\n methods: {\n // 获取关联区域列表\n getEquipmentList: function getEquipmentList() {\n var _this2 = this;\n\n equipmentManage.loadAreaTree({\n id: '0'\n }, function (res) {\n _this2.equipmentList = res.value;\n });\n },\n // 获取关联人员列表\n getUserList: function getUserList() {\n var _this3 = this;\n\n teamMemberManage.pageQuery({\n pageBean: {\n pageSize: -1,\n page: 1\n },\n params: {},\n querys: []\n }).then(function (res) {\n _this3.userList = res.data.rows;\n });\n },\n // 重置\n clearQuerys: function clearQuerys() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n this.querys[2].value = '';\n },\n // 获取list\n loadData: function loadData(page) {\n var _this4 = this;\n\n if (page) {\n this.queryParam.pageBean.page = page;\n }\n\n this.loading = true;\n this.tableData = [];\n this.queryParam.sorter = [{\n direction: 'DESC',\n property: 'create_time_'\n }];\n this.queryParam.querys = [];\n\n if (this.querys[0].value) {\n this.queryParam.querys.push(this.querys[0]);\n }\n\n if (this.querys[1].value) {\n this.queryParam.querys.push(this.querys[1]);\n }\n\n if (this.querys[2].value) {\n this.queryParam.querys.push(this.querys[2]);\n }\n\n CmgtBasePositionApi.loadCmgtBasePosition(this.queryParam, function (res) {\n //console.log(res, 'res')\n _this4.total = res.total;\n _this4.tableData = res.rows;\n\n _this4.$set(_this4.tableData);\n\n _this4.loading = false;\n });\n },\n // 修改\n handleUpdate: function handleUpdate(row) {\n console.log(row.id);\n this.$refs.formModal.Update(row);\n },\n // 关联设备\n // handleClick(item) {\n // console.log(item.id)\n // this.StshowFormDias = true\n // },\n closeStshowForm: function closeStshowForm() {\n this.StshowFormDias = false;\n }\n }\n};",null]}