{"version":3,"sources":["webpack:///./src/assets/img/emptyMem.png","webpack:///./src/userview/print/index.vue?e2aa","webpack:///src/userview/print/D:/Softwares/工作平台源码/对外版本地存储/网站前端/src/userview/print/index.vue","webpack:///./src/userview/print/index.vue?6bfe","webpack:///./src/userview/print/index.vue","webpack:///./src/userview/print/index.vue?d46d"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","on","handleTeamChange","model","value","callback","$$v","teamValue","expression","_l","item","key","Id","Name","staticStyle","selMem","isLocalStorage","getSelMember","slot","_e","dateType","$D","LIST","index","name","directives","rawName","firstDayOfWeek","selDate","pickOption","DateRange","handleGetData","tableData","length","attenceHeaderStyle","scopedSlots","_u","fn","scope","_s","UnitName","PrintName","PrintSize","Page","PrintTime","timeFormat","pageData","pageIndex","pageSize","totalNum","handleSizeChange","handleCurrentChange","staticRenderFns","mixins","MixinTeamOptions","MixinWebrtc","components","Header","selMember","data","functionName","NeedDataChannel","ds","de","loading","teamOptions","Date","getFullYear","getMonth","getDate","pickDate","methods","sendWebrtcRequestNoIdentity","request","identity","Identity","Call","b","SendRequest","$message","message","type","HangUpAll","queryData","day","getDay","dayNum","date","setDate","s","startTime","endTime","usIds","map","m","UsId","teamId","datetype","self","Request","Url","ContentType","token","$xStorage","getItem","Headers","Authorization","Body","JSON","stringify","OnError","error","OnResponse","response","result","Result","State","Data","TotalCount","Message","catch","$http","post","then","resp","res","finally","val","console","log","disabledDate","time","getTime","arr","color","beforeDestroy","component"],"mappings":"sHAAAA,EAAOC,QAAU,IAA0B,6B,kECA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,SAAS,CAACE,YAAY,aAAaC,MAAM,CAAC,MAAQ,OAAO,aAAe,sBAAsBH,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,M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284c9204.e239955f.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/emptyMem.6c691878.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"print\"},[_c('Header',{staticClass:\"baseHeader\",attrs:{\"title\":\"打印监控\",\"titleEnglish\":\"Print Monitoring\"}}),_c('div',{staticClass:\"print_content\"},[_c('div',{staticClass:\"select-conditions\"},[_c('div',{staticClass:\"sel_inline\"},[_c('div',{staticClass:\"sel\"},[_c('span',[_vm._v(\"团队\")]),_c('div',{staticClass:\"team\"},[_c('el-select',{attrs:{\"filterable\":\"\",\"placeholder\":\"请选择团队\"},on:{\"change\":_vm.handleTeamChange},model:{value:(_vm.teamValue),callback:function ($$v) {_vm.teamValue=$$v},expression:\"teamValue\"}},_vm._l((_vm.teamOptions),function(item){return _c('el-option',{key:item.Id,attrs:{\"label\":item.Name,\"value\":item.Id}})}),1)],1)]),(_vm.teamValue)?_c('div',{staticClass:\"sel\",staticStyle:{\"margin-left\":\"8px\"}},[_c('span',[_vm._v(\"员工\")]),_c('selMember',{attrs:{\"teamId\":_vm.teamValue,\"size\":\"small\",\"selRange\":1,\"arrays\":_vm.selMem,\"showLength\":5,\"isSelection\":!_vm.isLocalStorage},on:{\"Confirm\":_vm.getSelMember}},[_c('span',{staticClass:\"btn-custom\",attrs:{\"slot\":\"button\"},slot:\"button\"},[_c('i',{staticClass:\"el-icon-plus\"})])])],1):_vm._e(),_c('div',{staticClass:\"sel\"},[_c('span',[_vm._v(\"日期\")]),_c('div',{staticClass:\"sel-date\"},[_c('el-select',{model:{value:(_vm.dateType),callback:function ($$v) {_vm.dateType=$$v},expression:\"dateType\"}},_vm._l((_vm.$D.LIST('member_overview_date_type')),function(item,index){return _c('el-option',{key:index,attrs:{\"value\":item.value,\"label\":item.name}})}),1),_c('el-date-picker',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dateType == 1),expression:\"dateType == 1\"}],staticStyle:{\"width\":\"18rem\"},attrs:{\"type\":\"week\",\"format\":\"yyyy 第 WW 周\",\"placeholder\":\"选择周\",\"value-format\":\"yyyy-MM-dd\",\"clearable\":false,\"picker-options\":{ firstDayOfWeek: 1 }},model:{value:(_vm.selDate),callback:function ($$v) {_vm.selDate=$$v},expression:\"selDate\"}}),_c('el-date-picker',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dateType == 2),expression:\"dateType == 2\"}],staticStyle:{\"width\":\"18rem\"},attrs:{\"type\":\"month\",\"format\":\"yyyy 年 MM 月\",\"placeholder\":\"选择月\",\"value-format\":\"yyyy-MM-dd\",\"clearable\":false,\"picker-options\":_vm.pickOption},model:{value:(_vm.selDate),callback:function ($$v) {_vm.selDate=$$v},expression:\"selDate\"}}),_c('el-date-picker',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dateType == 3),expression:\"dateType == 3\"}],staticStyle:{\"width\":\"26rem\"},attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\"},model:{value:(_vm.DateRange),callback:function ($$v) {_vm.DateRange=$$v},expression:\"DateRange\"}})],1)])]),_c('el-button',{staticClass:\"search_btn\",attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.handleGetData}},[_vm._v(\"搜 索\")])],1),_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"print_list\"},[(_vm.tableData && _vm.tableData.length)?_c('div',{staticClass:\"print_table\"},[_c('el-table',{staticStyle:{\"width\":\"100%\",\"margin-bottom\":\"5px\"},attrs:{\"data\":_vm.tableData,\"border\":\"\",\"header-cell-style\":_vm.attenceHeaderStyle}},[_c('el-table-column',{attrs:{\"label\":\"设备名\",\"show-overflow-tooltip\":\"\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.UnitName)+\" \")]}}],null,false,388912824)}),_c('el-table-column',{attrs:{\"label\":\"打印作业名称\",\"show-overflow-tooltip\":\"\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.PrintName)+\" \")]}}],null,false,1800658191)}),_c('el-table-column',{attrs:{\"label\":\"打印作业大小\",\"show-overflow-tooltip\":\"\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.PrintSize)+\"M \")]}}],null,false,1618026784)}),_c('el-table-column',{attrs:{\"label\":\"打印页数\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.Page)+\"页 \")]}}],null,false,3788551551)}),_c('el-table-column',{attrs:{\"label\":\"打印时间\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.PrintTime.timeFormat(\"yyyy-MM-dd HH:mm\"))+\" \")]}}],null,false,239696958)})],1),(_vm.tableData.length)?_c('el-pagination',{attrs:{\"current-page\":_vm.pageData.pageIndex,\"page-sizes\":[20, 30, 40, 50],\"page-size\":_vm.pageData.pageSize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.pageData.totalNum},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}):_vm._e()],1):_c('div',{staticClass:\"empty-wrapper\"},[_c('img',{attrs:{\"src\":require(\"../../assets/img/emptyMem.png\"),\"alt\":\"\"}}),_c('p',{staticClass:\"empty-taskList\"},[_vm._v(\"暂无数据\")])])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport Vue from \"vue\";\r\nimport MixinTeamOptions from \"@/mixins/teamOptions\";\r\nimport MixinWebrtc from \"@/mixins/webrtcNew\";\r\nimport Request from \"@/webrtc/server/internal/Request\";\r\nexport default {\r\n mixins: [MixinTeamOptions, MixinWebrtc],\r\n components: {\r\n Header: () => import(\"@/components/Header\"),\r\n selMember: () => import(\"@/components/Selectors/MemberSelectCopy\"),\r\n },\r\n data() {\r\n return {\r\n functionName: \"打印监控\",\r\n NeedDataChannel: true,\r\n ds: null, //开始时间\r\n de: null, //结束时间\r\n tableData: [],\r\n pageData: {\r\n pageIndex: 1,\r\n pageSize: 20,\r\n totalNum: 0,\r\n }, //分页\r\n loading: false,\r\n teamOptions: [], //团队选择器\r\n teamValue: null, //选择的团队\r\n selMem: [], //选择的成员\r\n dateType: 1, //时间查询类型\r\n selDate: new Date(\r\n new Date().getFullYear(),\r\n new Date().getMonth(),\r\n new Date().getDate() + 1\r\n ),\r\n pickOption: this.pickDate(),\r\n DateRange: [\r\n new Date(\r\n new Date().getFullYear(),\r\n new Date().getMonth(),\r\n new Date().getDate() - 7\r\n ),\r\n new Date(),\r\n ],\r\n };\r\n },\r\n methods: {\r\n async sendWebrtcRequestNoIdentity(request) {\r\n if (this.isLocalStorage) {\r\n var identity = this.selMem[0].Identity;\r\n await this.Call(identity);\r\n var b = this.SendRequest(null, identity, request);\r\n if (!b) {\r\n throw \"发送请求失败\";\r\n }\r\n }\r\n },\r\n /**\r\n * 获取列表数据\r\n */\r\n async handleGetData() {\r\n if (!this.teamValue) {\r\n this.$message({\r\n message: \"请先选择团队\",\r\n type: \"warning\",\r\n });\r\n return;\r\n }\r\n if (this.isLocalStorage && this.selMem.length == 0) {\r\n this.$message({\r\n message: \"请先选择成员\",\r\n type: \"warning\",\r\n });\r\n return;\r\n }\r\n this.pageData.pageIndex = 1;\r\n this.tableData = [];\r\n this.loading = true;\r\n this.HangUpAll();\r\n if (this.isLocalStorage) {\r\n var identity = this.selMem[0].Identity;\r\n try {\r\n await this.Call(identity);\r\n } catch (error) {}\r\n }\r\n this.queryData();\r\n },\r\n /**\r\n * 获取报表\r\n */\r\n queryData() {\r\n this.loading = true;\r\n const day = new Date(this.selDate).getDay();\r\n const dayNum = day > 0 ? day - 1 : 6;\r\n const date = new Date(this.selDate);\r\n if (this.dateType == 1) {\r\n this.ds = new Date(date.setDate(date.getDate() - dayNum)).timeFormat(\r\n \"yyyy-MM-dd 00:00:01\"\r\n );\r\n const s = new Date(this.ds);\r\n this.de = new Date(s.setDate(s.getDate() + 6)).timeFormat(\r\n \"yyyy-MM-dd 23:59:59\"\r\n );\r\n } else if (this.dateType == 2) {\r\n this.ds = new Date(date.getFullYear(), date.getMonth(), 1).timeFormat(\r\n \"yyyy-MM-dd 00:00:01\"\r\n );\r\n this.de = new Date(\r\n date.getFullYear(),\r\n date.getMonth() + 1,\r\n 0\r\n ).timeFormat(\"yyyy-MM-dd 23:59:59\");\r\n } else {\r\n this.ds = this.DateRange[0].timeFormat(\"yyyy-MM-dd 00:00:01\");\r\n this.de = this.DateRange[1].timeFormat(\"yyyy-MM-dd 23:59:59\");\r\n }\r\n const data = {\r\n startTime: this.ds,\r\n endTime: this.de,\r\n usIds: this.selMem.map((m) => m.UsId),\r\n pageIndex: this.pageData.pageIndex,\r\n pageSize: this.pageData.pageSize,\r\n teamId: this.teamValue,\r\n datetype: this.dateType,\r\n };\r\n if (this.isLocalStorage) {\r\n var self = this;\r\n var request = new Request();\r\n request.Url = \"/Progress/Monitoring/GetPrintMonitoring\";\r\n request.ContentType = \"Json\";\r\n const token = this.$xStorage.getItem(\"token\");\r\n request.Headers.Authorization = token;\r\n request.Body = JSON.stringify(data);\r\n request.OnError = function (error) {\r\n self.$message({\r\n type: \"error\",\r\n message: error,\r\n });\r\n self.loading = false;\r\n };\r\n request.OnResponse = function (response) {\r\n let result = response.Result;\r\n if (!result.State) {\r\n self.$message({\r\n type: \"error\",\r\n message: result.Message,\r\n });\r\n } else {\r\n self.tableData = result.Data.Data;\r\n self.pageData.totalNum = result.Data.TotalCount;\r\n }\r\n self.loading = false;\r\n };\r\n this.sendWebrtcRequestNoIdentity(request).catch((error) => {\r\n this.$message({\r\n type: \"error\",\r\n message: error,\r\n });\r\n this.loading = false;\r\n });\r\n } else {\r\n this.$http\r\n .post(\"/Progress/Monitoring/GetPrintMonitoring.ashx\", data)\r\n .then((resp) => {\r\n if (resp.res == 0) {\r\n this.tableData = resp.data.Data;\r\n this.pageData.totalNum = resp.data.TotalCount;\r\n }\r\n })\r\n .finally(() => (this.loading = false));\r\n }\r\n },\r\n async handleSizeChange(val) {\r\n this.pageData.pageSize = val;\r\n if (!this.teamValue) {\r\n this.$message({\r\n message: \"请先选择团队\",\r\n type: \"warning\",\r\n });\r\n return;\r\n }\r\n if (this.isLocalStorage && this.selMem.length == 0) {\r\n this.$message({\r\n message: \"请先选择成员\",\r\n type: \"warning\",\r\n });\r\n return;\r\n }\r\n if (this.isLocalStorage) {\r\n var identity = this.selMem[0].Identity;\r\n try {\r\n await this.Call(identity);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n this.queryData();\r\n },\r\n async handleCurrentChange(val) {\r\n this.pageData.pageIndex = val;\r\n if (!this.teamValue) {\r\n this.$message({\r\n message: \"请先选择团队\",\r\n type: \"warning\",\r\n });\r\n return;\r\n }\r\n if (this.isLocalStorage && this.selMem.length == 0) {\r\n this.$message({\r\n message: \"请先选择成员\",\r\n type: \"warning\",\r\n });\r\n return;\r\n }\r\n if (this.isLocalStorage) {\r\n var identity = this.selMem[0].Identity;\r\n try {\r\n await this.Call(identity);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n this.queryData();\r\n },\r\n pickDate() {\r\n let _this = this;\r\n return {\r\n disabledDate(time) {\r\n return time.getTime() > new Date().getTime();\r\n },\r\n };\r\n },\r\n /**\r\n * 选择成员\r\n */\r\n getSelMember(arr) {\r\n this.selMem = arr;\r\n },\r\n /**\r\n * 团队切换\r\n */\r\n handleTeamChange() {\r\n this.selMem = [];\r\n },\r\n attenceHeaderStyle() {\r\n return {\r\n color: \"#909399\",\r\n };\r\n },\r\n },\r\n beforeDestroy() {\r\n this.HangUpAll();\r\n },\r\n};\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0d28731f&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=0d28731f&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d28731f\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0d28731f&lang=less&scoped=true&\""],"sourceRoot":""}