{"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\\MobileTeamMember.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Mobile\\Manage\\MobileTeamMember.vue","mtime":1686877673010},{"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.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 CommonApi from '@/views/Manage/CommonApi.js';\nimport DingDutyApi from '@/views/Manage/DingDutyApi.js';\nimport TeamMemberManage from '@/api/manager/duty/teamMemberManage.js';\nexport default {\n name: 'MobileTeamMember',\n data: function data() {\n return {\n tableData: [],\n option1: [],\n option2: [],\n pageNo: 0,\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'status_',\n //org_id_\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'team_id_',\n relation: 'AND',\n value: ''\n }],\n title: '勤务人员',\n currentUser: {},\n loading: false,\n finished: false,\n finishedText: '',\n refreshing: false\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n CommonApi.loadDutyStatusList(function (res) {\n console.log(res);\n _this.option1 = res;\n\n _this.option1.unshift({\n value: null,\n text: '全部'\n });\n\n _this.querys[0].value = 'NORMAL';\n });\n this.orgChange(null); // CommonApi.loadZGJOrgs(res => {\n // this.option1 = res\n // this.option1.unshift({ value: null, text: '全部' })\n // this.querys[0].value = res[0].value\n // if (this.$route.query && this.$route.query.orgId) {\n // this.querys[0].value = this.$route.query.orgId\n // this.querys[1].value = this.$route.query.teamId\n // }\n // this.orgChange(this.querys[0].value)\n // })\n\n this.currentUser = JSON.parse(sessionStorage.getItem('currentUser'));\n },\n methods: {\n loadData: function loadData() {\n var _this2 = this;\n\n var queryParam = {\n pageBean: {\n pageSize: 8,\n page: this.pageNo\n },\n params: {},\n querys: [],\n sorter: [{\n direction: 'DESC',\n property: 'receive_time_'\n }]\n };\n queryParam.querys = [];\n\n if (this.querys[0].value) {\n queryParam.querys.push(this.querys[0]);\n }\n\n if (this.querys[1].value) {\n queryParam.querys.push(this.querys[1]);\n }\n\n TeamMemberManage.pageQuery(queryParam, function (res) {\n if (res.rows.length !== 0) {\n res.rows.forEach(function (e) {\n _this2.tableData.push(e);\n });\n _this2.finished = false;\n } else {\n _this2.finished = true;\n _this2.finishedText = '(' + res.total + '条)没有更多了';\n }\n\n _this2.loading = false;\n _this2.refreshing = false;\n });\n },\n onLoad: function onLoad() {\n this.pageNo++;\n this.loading = true;\n this.loadData();\n },\n onRefresh: function onRefresh() {\n this.pageNo = 1;\n this.refreshing = true;\n this.loadData();\n },\n teamChange: function teamChange(v) {\n this.pageNo = 1;\n this.tableData = [];\n this.loadData();\n },\n orgChange: function orgChange(v) {\n var _this3 = this;\n\n this.value2 = null;\n DingDutyApi.findTeams({\n orgId: v\n }, function (res) {\n _this3.option2 = res.map(function (r) {\n return {\n value: r.id,\n text: r.name + ' 【' + r.orgName + '】'\n };\n });\n\n _this3.option2.unshift({\n value: null,\n text: '全部勤务小组'\n });\n\n _this3.querys[1].value = null;\n });\n\n if (!this.loading) {\n this.pageNo = 1;\n this.tableData = [];\n this.loadData();\n }\n },\n // 跳转设备详情\n handleDetail: function handleDetail(item) {\n this.$router.push({\n name: 'MobileTeamMemberCalendar',\n query: {\n id: item.id,\n name: item.name,\n teamId: this.value2,\n orgId: this.value1\n }\n });\n }\n }\n};",null]}