{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\app\\order.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\app\\order.vue","mtime":1667327529934},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nexport default {\n components: {},\n data: function data() {\n return {\n form: {\n meetingType: '',\n // 会议类型\n users_: '',\n // 参会人数据\n startTime: '',\n startTime_: new Date(),\n endTime: '',\n endTime_: new Date(),\n isOpen: 0,\n // 是否允许成员在主持人进会前加入\n showremutePopup: '',\n // 成员入会时静音\n room: '' // 会议室\n\n },\n usersResult: [],\n // 选择参会人数据\n placesResult: [],\n // 选择会议室\n dialogShow: false,\n //控制弹框显示\n dialogShowPlace: false,\n minDate: new Date(),\n activeName: '',\n // 控制更多设置展开与否\n meetingType: {\n columns: [],\n showPicker: false\n },\n startTime: {\n showPicker: false\n },\n hour: {\n showPicker: false,\n columns: [{\n val: 0,\n text: '半小时'\n }, {\n val: 1,\n text: '1小时'\n }, {\n val: 2,\n text: '2小时'\n }, {\n val: 3,\n text: '3小时'\n }, {\n val: 4,\n text: '自定义时间'\n }]\n },\n endTime: {\n showPicker: false\n },\n room: {\n showPicker: false,\n columns: []\n },\n remindTime: {\n showPicker: false,\n columns: [{\n value: 0,\n text: '无'\n }, {\n value: 1,\n text: '会议开始时'\n }, {\n value: 2,\n text: '5分钟前'\n }, {\n value: 3,\n text: '15分钟前'\n }, {\n value: 4,\n text: '1小时前'\n }, {\n value: 5,\n text: '1天前'\n }]\n },\n host: {\n columns: [],\n showPicker: false\n },\n switchCheckedPassword: false,\n showremutePopup: {\n show: false,\n actions: [{\n name: '关闭',\n val: 0\n }, {\n name: '开启',\n val: 1\n }, {\n name: '超过6人后自动开启',\n val: 2\n }]\n },\n showreLimitUserPopup: {\n show: false,\n actions: [{\n name: '所有成员可入会',\n val: 0\n }, {\n name: '仅企业内部成员可入会',\n val: 1\n }]\n }\n };\n },\n created: function created() {\n this.form.startTime = this.formatDateTime(new Date());\n this.meetingType.columns = this.getDictData('hylx');\n this.loadHost();\n this.loadDataRoom();\n },\n methods: {\n onSubmit: function onSubmit() {\n var _this = this;\n\n this.$http.post(\"\".concat(window.context.xqhk, \"/meeting/v1/saveMeeting\"), this.form).then(function (res) {\n _this.$router.push({\n path: '/unfinished'\n });\n });\n },\n loadDataRoom: function loadDataRoom() {\n var _this2 = this;\n\n var url = \"\".concat(window.context.xqhk, \"/bizMeetingPlaceName/v1/getJson\");\n this.$http.post(url, {\n groupRelation: 'AND',\n pageBean: {\n page: 1,\n pageSize: -1,\n showTotal: true\n }\n }).then(function (res) {\n var data = res && res.data && res.data.value || [];\n data.forEach(function (item) {\n _this2.room.columns.push({\n id: item.id,\n text: item.name\n });\n });\n });\n },\n loadHost: function loadHost() {\n var _this3 = this;\n\n var deptUrl = \"\".concat(window.context.xqhk, \"/api/org/v1/org/getOrgListByDemId?demId=1258608622670319616\");\n this.$http.get(deptUrl).then(function (res) {\n if (res.status == 200) {\n var totalDeptList = res.data;\n var url = \"\".concat(window.context.xqhk, \"/api/user/v1/users/getOrgUserQuery\");\n\n _this3.$http.post(url, {\n groupRelation: 'AND',\n pageBean: {\n page: 1,\n pageSize: -1\n },\n querys: [{\n property: 'ORG_ID_',\n value: totalDeptList[0].id,\n group: 'orgTree',\n relation: 'AND',\n operation: 'IN'\n }]\n }).then(function (res) {\n var list = res && res.data && res.data.rows || [];\n list.forEach(function (item) {\n _this3.host.columns.push({\n id: item.id,\n text: item.fullname,\n name: item.fullname\n });\n });\n });\n }\n });\n },\n // 会议类型选择时间\n onConfirmMeetingType: function onConfirmMeetingType(data) {\n this.form.meetingTypeName = data.text;\n this.form.meetingType = data.value;\n this.form.room = '';\n this.form.places = [];\n this.meetingType.showPicker = false;\n },\n // 参会人选择时间\n onFocusUser: function onFocusUser() {\n this.dialogShow = true;\n },\n // 会议室地点\n onFocusPlace: function onFocusPlace() {\n this.dialogShowPlace = true;\n },\n format: function format(date) {\n return date >= 10 ? date : '0' + date;\n },\n formatDateTime: function formatDateTime(date) {\n return date.getFullYear() + '-' + this.format(date.getMonth() + 1) + '-' + this.format(date.getDate()) + ' ' + this.format(date.getHours()) + ':' + this.format(date.getMinutes()) + ':' + this.format(date.getSeconds());\n },\n formatter: function formatter(type, val) {\n if (type === 'year') {\n return val + '年';\n }\n\n if (type === 'month') {\n return val + '月';\n }\n\n if (type === 'day') {\n return val + '日';\n }\n\n if (type === 'hour') {\n return val + '时';\n }\n\n if (type === 'minute') {\n return val + '分';\n }\n\n return val;\n },\n // 开始时间事件\n onConfirmStartTime: function onConfirmStartTime(date) {\n this.form.startTime = this.formatDateTime(date);\n this.form.startTime_ = date;\n this.startTime.showPicker = false;\n },\n // 选择时长事件\n onConfirmHour: function onConfirmHour(hour) {\n this.form.hour = hour.text;\n this.form.hour_ = hour.val;\n if (!this.form.startTime) return this.$toast('请选择开始时间!');\n var date = new Date(this.form.startTime_);\n\n if (hour.val === 0) {\n date.setMinutes(date.getMinutes() + 30);\n } else {\n date.setHours(date.getHours() + hour.val);\n }\n\n this.form.endTime = this.formatDateTime(date);\n this.form.endTime_ = date;\n this.hour.showPicker = false;\n },\n // 结束时间事件\n onConfirmEndTime: function onConfirmEndTime(date) {\n if (new Date(date) - new Date(this.form.startTime_) < 0) return this.$toast('结束时间应该在开始时间之后!');\n this.form.endTime = this.formatDateTime(date);\n this.form.endTime_ = date;\n this.endTime.showPicker = false;\n },\n // 选择会议室事件\n onConfirmRoom: function onConfirmRoom(room) {\n this.form.room = room.text;\n this.form.places = [{\n placeId: room.id\n }];\n this.room.showPicker = false;\n },\n // 更多设置--选择提醒事假\n onConfirmRemindTime: function onConfirmRemindTime(remindTime) {\n this.form.remindTime_ = remindTime.text;\n var date = new Date(this.form.startTime_);\n if (remindTime.value === 0) return;\n if (remindTime.value === 1) this.form.remindTime = this.form.startTime;\n\n if (remindTime.value === 2) {\n date.setMinutes(date.getMinutes() - 5);\n this.form.remindTime = this.formatDateTime(date);\n }\n\n if (remindTime.value === 3) {\n date.setMinutes(date.getMinutes() - 15);\n this.form.remindTime = this.formatDateTime(date);\n }\n\n if (remindTime.value === 4) {\n date.setHours(date.getHours() - 1);\n this.form.remindTime = this.formatDateTime(date);\n }\n\n if (remindTime.value === 5) {\n date.setDate(date.getDate() - 1);\n this.form.remindTime = this.formatDateTime(date);\n }\n\n this.remindTime.showPicker = false;\n },\n // 更多设置--选择指定主持人事件\n onConfirmHost: function onConfirmHost(host) {\n this.form.host_ = host.text;\n this.form.host = host.id;\n this.host.showPicker = false;\n },\n // 成员入会时静音\n onSelectShowremutePopup: function onSelectShowremutePopup(item) {\n this.showremutePopup.show = false;\n this.form.showremutePopup = item.name;\n },\n // 入会成员限制\n onSelectShowreLimitUserPopup: function onSelectShowreLimitUserPopup(item) {\n this.showreLimitUserPopup.show = false;\n this.form.showreLimitUserPopup = item.name;\n },\n // 选择参会人弹框点击确认按钮\n onDialogConfirm: function onDialogConfirm() {\n var _this4 = this;\n\n var arr_ = [];\n this.usersResult.forEach(function (item) {\n arr_.push({\n userId: item\n });\n });\n this.form.users = arr_;\n var arr = [];\n this.host.columns.forEach(function (item) {\n _this4.usersResult.forEach(function (item_) {\n if (item.id === item_) {\n arr.push(item.name);\n }\n });\n });\n this.form.users_ = arr.join(',');\n },\n // 会议室\n onDialogConfirmPlace: function onDialogConfirmPlace() {\n var _this5 = this;\n\n var arr_ = [];\n this.placesResult.forEach(function (item) {\n arr_.push({\n placeId: item\n });\n });\n this.form.places = arr_;\n var arr = [];\n this.room.columns.forEach(function (item) {\n _this5.placesResult.forEach(function (item_) {\n if (item.id === item_) {\n arr.push(item.text);\n }\n });\n });\n this.form.room = arr.join(',');\n }\n }\n};",null]}