EMS2.0-Documents/7.部署文档/Linux安装/项目前端文件/IEMS/js/chunk-3cfe116c.e1986892.js.map

1 line
62 KiB
Plaintext

{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.string.split.js","webpack:///./src/utils/validate.js","webpack:///./src/views/operation/patrol/tableData.vue?1ad7","webpack:///./src/utils/changeTime.js","webpack:///src/views/operation/patrol/tableData.vue","webpack:///./src/views/operation/patrol/tableData.vue?d094","webpack:///./src/views/operation/patrol/tableData.vue","webpack:///./src/api/work.js","webpack:///./src/utils/time.js","webpack:///./node_modules/core-js/modules/es.json.stringify.js"],"names":["apply","call","uncurryThis","fixRegExpWellKnownSymbolLogic","isRegExp","anObject","requireObjectCoercible","speciesConstructor","advanceStringIndex","toLength","toString","getMethod","arraySlice","callRegExpExec","regexpExec","stickyHelpers","fails","UNSUPPORTED_Y","MAX_UINT32","min","Math","$push","push","exec","stringSlice","slice","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","re","originalExec","this","arguments","result","split","length","SPLIT","nativeSplit","maybeCallNative","internalSplit","separator","limit","string","lim","undefined","match","lastIndex","lastLength","output","flags","ignoreCase","multiline","unicode","sticky","lastLastIndex","separatorCopy","RegExp","source","index","O","splitter","rx","S","res","done","value","C","unicodeMatching","p","q","A","e","z","i","validatePhone","rule","callback","Error","test","filterNull","val","valReplace","replace","switchTimeFormat","time","dateTime","Date","year","getFullYear","month","getMonth","date","getDate","hour","getHours","minute","getMinutes","second","getSeconds","addZero","v","render","_vm","_h","$createElement","_c","_self","attrs","textMap","$store","state","partol","dialogStatus","addDialog","handleClose","on","$event","$set","staticStyle","active","ref","rules","form","$t","model","$$v","expression","_l","item","key","userName","deptList","checkStrictly","emitPath","pickerOptions0","_e","directives","name","rawName","deviceList","seletedList","staticClass","slot","next","_v","_s","createData","updateData","staticRenderFns","padZero","num","localDateFormats","YYYY","MM","DD","hh","mm","ss","data","validateTime","update","create","createStatus","subTaskList","groupedArray","disabledDate","getTime","now","telephone","required","validator","trigger","taskName","message","cycle","orderType","startTime","checkName","receiveName","deptId","computed","arrayTime","activeName","watch","deadline","setTimeout","methods","handleCreate","$children","forEach","workBree","handleDelete","console","taskCount","confirmButtonText","cancelButtonText","type","then","batchDeleteTask","taskIdStr","title","duration","$refs","validate","valid","label","alarmId","deviceId","deviceType","deviceName","latitude","longitude","areaId","getDeviceList","getGroup","filter","insertInspectionTask","catch","taskType","updateInspectionTask","$confirm","getAllDate","Number","startLog","deadlineLog","dTime","sTime","Telephone","remark","component","request","url","method","params","insertOrderTask","dataForm","JSON","stringify","headers","updateOrderTask","releaseTask","getTask","getTaskList","getNeedAcceptanceDeviceList","releaseTaskBySubId","qs","stopTaskBySubId","applyAcceptanceTask","acceptanceTask","deleteTask","getTrajectoryList","insertTrajectoryTask","deleteFileByUrl","dismantleList","dismantleInfo","format","ymd","mouth","day","start","end","dateArr","startArr","endArr","db","setUTCFullYear","de","stamp","unixDb","unixDe","oneDay","parseInt","group","array","subGroupLength","newArray","log","workStatus","endTime","timestamp","status","startTimes","endTimes","timestamps","$","global","getBuiltIn","Array","$stringify","charAt","charCodeAt","numberToString","tester","low","hi","fix","offset","prev","FORCED","target","stat","forced","it","replacer","space","l","args"],"mappings":"gHACA,IAAIA,EAAQ,EAAQ,QAChBC,EAAO,EAAQ,QACfC,EAAc,EAAQ,QACtBC,EAAgC,EAAQ,QACxCC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAyB,EAAQ,QACjCC,EAAqB,EAAQ,QAC7BC,EAAqB,EAAQ,QAC7BC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAY,EAAQ,QACpBC,EAAa,EAAQ,QACrBC,EAAiB,EAAQ,QACzBC,EAAa,EAAQ,QACrBC,EAAgB,EAAQ,QACxBC,EAAQ,EAAQ,QAEhBC,EAAgBF,EAAcE,cAC9BC,EAAa,WACbC,EAAMC,KAAKD,IACXE,EAAQ,GAAGC,KACXC,EAAOrB,EAAY,IAAIqB,MACvBD,EAAOpB,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G8E,SACzBiN,EAAiB/R,EAAY,GAAIQ,UAEjCwR,EAAS,mBACTC,EAAM,oBACNC,EAAK,oBAELC,EAAM,SAAU1P,EAAO2P,EAAQ9P,GACjC,IAAI+P,EAAOR,EAAOvP,EAAQ8P,EAAS,GAC/BzJ,EAAOkJ,EAAOvP,EAAQ8P,EAAS,GACnC,OAAK/Q,EAAK4Q,EAAKxP,KAAWpB,EAAK6Q,EAAIvJ,IAAWtH,EAAK6Q,EAAIzP,KAAWpB,EAAK4Q,EAAKI,GACnE,MAAQN,EAAeD,EAAWrP,EAAO,GAAI,IAC7CA,GAGP6P,EAASxR,GAAM,WACjB,MAAsC,qBAA/B8Q,EAAW,iBACY,cAAzBA,EAAW,aAGdA,GAIFJ,EAAE,CAAEe,OAAQ,OAAQC,MAAM,EAAMC,OAAQH,GAAU,CAEhD7D,UAAW,SAAmBiE,EAAIC,EAAUC,GAC1C,IAAK,IAAIvO,EAAI,EAAGwO,EAAIjR,UAAUG,OAAQ+Q,EAAOnB,EAAMkB,GAAIxO,EAAIwO,EAAGxO,IAAKyO,EAAKzO,GAAKzC,UAAUyC,GACvF,IAAIxC,EAAS/B,EAAM8R,EAAY,KAAMkB,GACrC,MAAwB,iBAAVjR,EAAqBiD,EAAQjD,EAAQmQ,EAAQG,GAAOtQ","file":"js/chunk-3cfe116c.e1986892.js","sourcesContent":["'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);\n return splitter\n ? call(splitter, separator, O, limit)\n : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","/**\r\n * Created by jiachenpan on 16/11/18.\r\n */\r\n\r\n/**\r\n * @param {string} path\r\n * @returns {Boolean}\r\n */\r\nexport function isExternal(path) {\r\n return /^(https?:|mailto:|tel:)/.test(path)\r\n}\r\n/* 小写字母*/\r\nexport function validLowerCase(str) {\r\n const reg = /^[a-z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/* 大写字母*/\r\nexport function validUpperCase(str) {\r\n const reg = /^[A-Z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/* 大小写字母*/\r\nexport function validAlphabets(str) {\r\n const reg = /^[A-Za-z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/*8位16进制*/\r\nexport function validHexadecimal(rule, value, callback) {\r\n if (/^[0-9A-F]{8}$/.test(value)) {\r\n callback()\r\n } else {\r\n callback(new Error(\"请输入8位16进制数\"))\r\n }\r\n}\r\n\r\nexport function validateNumber(rule, value, callback) {\r\n console.log(!/^\\d+$|^\\d*\\.\\d+$/g.test(value), value)\r\n if (value === \"\") {\r\n callback(new Error(\"不能为空\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只能输入数字\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validatePhone(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"请输入手机号码\"))\r\n } else if (!/^[0-9-]+$/.test(value)) {\r\n\r\n\r\n callback(new Error(\"手机号码格式不对\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validateLong(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"经度不能为空\"))\r\n } else if (Number(value) > 180) {\r\n callback(new Error(\"经度不能大于180\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只允许输入数字\"))\r\n } else if (Number(value) < 0) {\r\n callback(new Error(\"数值不能小于0\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validateLat(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"纬度不能为空\"))\r\n } else if (Number(value) > 90) {\r\n callback(new Error(\"纬度不能大于90\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只允许输入数字\"))\r\n } else if (Number(value) < 0) {\r\n callback(new Error(\"数值不能小于0\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function temperature(rule, value, callback) {\r\n if (value > 100) {\r\n callback(new Error(\"温度不能超过100\"))\r\n } else if (value < 0) {\r\n callback(new Error(\"温度不能小于0\"))\r\n } else if (value == \"\") {\r\n callback(new Error(\"数据必填\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function humity(rule, value, callback) {\r\n if (value > 99) {\r\n callback(new Error(\"湿度不能超过99\"))\r\n } else if (value < 20) {\r\n callback(new Error(\"湿度不能小于20\"))\r\n } else if (value == \"\") {\r\n callback(new Error(\"数据必填\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\n// 验证是否为空\r\nexport function filterNull(val) {\r\n if (val || val === 0) {\r\n if (val.length > 0) {\r\n var valReplace = val.replace(/(^\\s*)|(\\s*$)/g, \"\") // 去除字符串左右两端的空格\r\n if (valReplace) {\r\n return valReplace\r\n } else {\r\n return \"--\"\r\n }\r\n } else {\r\n return val\r\n }\r\n } else {\r\n return \"--\"\r\n }\r\n}\r\n\r\n// 验证是否为空,为空则为0\r\nexport function filterNull0(val) {\r\n if (val || val === 0) {\r\n if (val.length > 0) {\r\n var valReplace = val.replace(/(^\\s*)|(\\s*$)/g, \"\") // 去除字符串左右两端的空格\r\n if (valReplace) {\r\n return valReplace\r\n } else {\r\n return 0\r\n }\r\n } else {\r\n return val\r\n }\r\n } else {\r\n return 0\r\n }\r\n}\r\n\r\n// 验证开关状态\r\nexport function filterOpenCloseStatus(val) {\r\n if (parseInt(val) === 0) {\r\n return \"关\"\r\n } else if (parseInt(val) === 1) {\r\n return \"开\"\r\n } else {\r\n return \"--\"\r\n }\r\n}\r\n\r\n// UTC:世界标准时间转换为正常格式 \"yyyy-MM-dd' 'HH:mm:ss'\r\nexport function switchTimeFormat(time) {\r\n if (!time) {\r\n return \"\"\r\n }\r\n const dateTime = new Date(time)\r\n const year = dateTime.getFullYear()\r\n const month = dateTime.getMonth() + 1\r\n const date = dateTime.getDate()\r\n const hour = dateTime.getHours()\r\n const minute = dateTime.getMinutes()\r\n const second = dateTime.getSeconds()\r\n return (\r\n year +\r\n \"-\" +\r\n addZero(month) +\r\n \"-\" +\r\n addZero(date) +\r\n `\\n` +\r\n addZero(hour) +\r\n \":\" +\r\n addZero(minute) +\r\n \":\" +\r\n addZero(second)\r\n )\r\n}\r\n\r\nfunction addZero(v) {\r\n return v < 10 ? \"0\" + v : v\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"close-on-click-modal\":false,\"title\":_vm.textMap[_vm.$store.state.partol.dialogStatus],\"visible\":_vm.$store.state.partol.addDialog,\"before-close\":_vm.handleClose},on:{\"update:visible\":function($event){return _vm.$set(_vm.$store.state.partol, \"addDialog\", $event)}}},[_c('el-scrollbar',{staticStyle:{\"height\":\"100%\",\"padding-bottom\":\"8px\"},attrs:{\"vertical\":true}},[(_vm.active === 0)?_c('el-form',{ref:\"form\",attrs:{\"rules\":_vm.rules,\"status-icon\":\"\",\"model\":_vm.$store.state.partol.form,\"label-width\":\"125px\",\"inline\":\"\"}},[_c('el-form-item',{attrs:{\"label\":_vm.$t('work.taskName'),\"prop\":\"taskName\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('work.taskName'),\"maxlength\":\"50\"},model:{value:(_vm.form.taskName),callback:function ($$v) {_vm.$set(_vm.form, \"taskName\", $$v)},expression:\"form.taskName\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.Days'),\"prop\":\"cycle\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('work.Days')},model:{value:(_vm.form.cycle),callback:function ($$v) {_vm.$set(_vm.form, \"cycle\", $$v)},expression:\"form.cycle\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.recipient'),\"prop\":\"receiveName\"}},[_c('el-select',{model:{value:(_vm.form.receiveName),callback:function ($$v) {_vm.$set(_vm.form, \"receiveName\", $$v)},expression:\"form.receiveName\"}},_vm._l((_vm.$store.state.partol.getUserList),function(item,index){return _c('el-option',{key:index,attrs:{\"value\":item.userName}})}),1)],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('device.phone'),\"prop\":\"telephone\"}},[_c('el-input',{model:{value:(_vm.form.telephone),callback:function ($$v) {_vm.$set(_vm.form, \"telephone\", $$v)},expression:\"form.telephone\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('listQuery.deptId'),\"prop\":\"deptId\"}},[_c('el-cascader',{attrs:{\"show-all-levels\":false,\"options\":_vm.$store.state.partol.deptList,\"props\":{ checkStrictly: true, emitPath: false },\"clearable\":\"\"},model:{value:(_vm.form.deptId),callback:function ($$v) {_vm.$set(_vm.form, \"deptId\", $$v)},expression:\"form.deptId\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.accepted'),\"prop\":\"checkName\"}},[_c('el-select',{model:{value:(_vm.form.checkName),callback:function ($$v) {_vm.$set(_vm.form, \"checkName\", $$v)},expression:\"form.checkName\"}},_vm._l((_vm.$store.state.partol.getUserList),function(item,index){return _c('el-option',{key:index,attrs:{\"value\":item.userName}})}),1)],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.time'),\"prop\":\"startTime\"}},[_c('el-date-picker',{attrs:{\"type\":\"datetimerange\",\"start-placeholder\":_vm.$t('startTime'),\"end-placeholder\":_vm.$t('endTime'),\"picker-options\":_vm.pickerOptions0,\"value-format\":\"yyyy-MM-dd HH:mm:ss\",\"editable\":false},model:{value:(_vm.$store.state.partol.arrayTime),callback:function ($$v) {_vm.$set(_vm.$store.state.partol, \"arrayTime\", $$v)},expression:\"$store.state.partol.arrayTime\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.remark'),\"prop\":\"remark\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"maxlength\":\"100\"},model:{value:(_vm.form.remark),callback:function ($$v) {_vm.$set(_vm.form, \"remark\", $$v)},expression:\"form.remark\"}})],1)],1):_vm._e(),_c('el-form',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.active === 1),expression:\"active === 1\"}],attrs:{\"label-width\":\"125px\",\"inline\":\"\"}},[_c('el-transfer',{ref:\"transfers\",staticStyle:{\"width\":\"800px\",\"margin\":\"0px auto\"},attrs:{\"filterable\":\"\",\"filter-placeholder\":_vm.$t('pEnter') + _vm.$t('device.deviceName'),\"titles\":[_vm.$t('table.optional'), _vm.$t('table.selected')],\"data\":_vm.deviceList,\"target-order\":\"unshift\"},model:{value:(_vm.seletedList),callback:function ($$v) {_vm.seletedList=$$v},expression:\"seletedList\"}})],1)],1),(_vm.active === 0)?_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.next}},[_vm._v(_vm._s(_vm.$t('work.next'))+\" \")])],1):_vm._e(),(_vm.active === 1)?_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.active = 0}}},[_vm._v(\" \"+_vm._s(_vm.$t('work.previous')))]),_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.$store.state.partol.addDialog = false}}},[_vm._v(_vm._s(_vm.$t('btn.cancel')))]),_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.$store.state.partol.dialogStatus === 'create'\n ? _vm.createData()\n : _vm.updateData()}}},[_vm._v(_vm._s(_vm.$t('btn.save')))])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","function padZero(num) {\n return num > 9 ? num : `0${num}`;\n}\n\nexport function localDateFormats(date) {\n const YYYY = date.getFullYear();\n const MM = padZero(date.getMonth() + 1);\n const DD = padZero(date.getDate());\n const hh = padZero(date.getHours());\n const mm = padZero(date.getMinutes());\n const ss = padZero(date.getSeconds());\n return `${YYYY}-${MM}-${DD} ${hh}:${mm}:${ss}`;\n}\nexport function localDate(date) {\n const YYYY = date.getFullYear();\n const MM = padZero(date.getMonth() + 1);\n const DD = padZero(date.getDate());\n return `${YYYY}-${MM}-${DD}`;\n}","<template>\r\n <el-dialog\r\n :close-on-click-modal=\"false\"\r\n :title=\"textMap[$store.state.partol.dialogStatus]\"\r\n :visible.sync=\"$store.state.partol.addDialog\"\r\n :before-close=\"handleClose\"\r\n >\r\n <el-scrollbar style=\"height: 100%; padding-bottom: 8px\" :vertical=\"true\">\r\n <el-form\r\n v-if=\"active === 0\"\r\n ref=\"form\"\r\n :rules=\"rules\"\r\n status-icon\r\n :model=\"$store.state.partol.form\"\r\n label-width=\"125px\"\r\n inline\r\n >\r\n <el-form-item :label=\"$t('work.taskName')\" prop=\"taskName\">\r\n <el-input\r\n v-model=\"form.taskName\"\r\n :placeholder=\"$t('pEnter') + $t('work.taskName')\"\r\n maxlength=\"50\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('work.Days')\" prop=\"cycle\">\r\n <el-input\r\n v-model=\"form.cycle\"\r\n :placeholder=\"$t('pEnter') + $t('work.Days')\"\r\n />\r\n </el-form-item>\r\n <el-form-item :label=\"$t('work.recipient')\" prop=\"receiveName\">\r\n <el-select v-model=\"form.receiveName\">\r\n <el-option\r\n v-for=\"(item, index) in $store.state.partol.getUserList\"\r\n :key=\"index\"\r\n :value=\"item.userName\"\r\n />\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item :label=\"$t('device.phone')\" prop=\"telephone\">\r\n <el-input v-model=\"form.telephone\" />\r\n </el-form-item>\r\n\r\n <el-form-item :label=\"$t('listQuery.deptId')\" prop=\"deptId\">\r\n <el-cascader\r\n v-model=\"form.deptId\"\r\n :show-all-levels=\"false\"\r\n :options=\"$store.state.partol.deptList\"\r\n :props=\"{ checkStrictly: true, emitPath: false }\"\r\n clearable\r\n />\r\n </el-form-item>\r\n\r\n <el-form-item :label=\"$t('work.accepted')\" prop=\"checkName\">\r\n <el-select v-model=\"form.checkName\">\r\n <el-option\r\n v-for=\"(item, index) in $store.state.partol.getUserList\"\r\n :key=\"index\"\r\n :value=\"item.userName\"\r\n />\r\n </el-select>\r\n </el-form-item>\r\n\r\n <el-form-item :label=\"$t('work.time')\" prop=\"startTime\">\r\n <el-date-picker\r\n v-model=\"$store.state.partol.arrayTime\"\r\n type=\"datetimerange\"\r\n :start-placeholder=\"$t('startTime')\"\r\n :end-placeholder=\"$t('endTime')\"\r\n :picker-options=\"pickerOptions0\"\r\n value-format=\"yyyy-MM-dd HH:mm:ss\"\r\n :editable=\"false\"\r\n ></el-date-picker>\r\n </el-form-item>\r\n <el-form-item :label=\"$t('work.remark')\" prop=\"remark\">\r\n <el-input v-model=\"form.remark\" type=\"textarea\" maxlength=\"100\" />\r\n </el-form-item>\r\n </el-form>\r\n\r\n <el-form v-show=\"active === 1\" label-width=\"125px\" inline>\r\n <el-transfer\r\n filterable\r\n ref=\"transfers\"\r\n :filter-placeholder=\"$t('pEnter') + $t('device.deviceName')\"\r\n :titles=\"[$t('table.optional'), $t('table.selected')]\"\r\n v-model=\"seletedList\"\r\n :data=\"deviceList\"\r\n style=\"width: 800px; margin: 0px auto\"\r\n target-order=\"unshift\"\r\n />\r\n </el-form>\r\n </el-scrollbar>\r\n\r\n <span v-if=\"active === 0\" slot=\"footer\" class=\"dialog-footer\">\r\n <el-button @click=\"next\">{{ $t('work.next') }} </el-button>\r\n </span>\r\n <span v-if=\"active === 1\" slot=\"footer\" class=\"dialog-footer\">\r\n <el-button @click=\"active = 0\"> {{ $t('work.previous') }}</el-button>\r\n <span\r\n class=\"btn-item long\"\r\n @click=\"$store.state.partol.addDialog = false\"\r\n >{{ $t('btn.cancel') }}</span\r\n >\r\n <span\r\n class=\"btn-item long\"\r\n @click=\"\r\n $store.state.partol.dialogStatus === 'create'\r\n ? createData()\r\n : updateData()\r\n \"\r\n >{{ $t('btn.save') }}</span\r\n >\r\n </span>\r\n </el-dialog>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n insertInspectionTask,\r\n updateInspectionTask,\r\n batchDeleteTask,\r\n getDeviceList\r\n} from '@/api/work'\r\nimport { validatePhone } from '@/utils/validate'\r\nimport { getAllDate, group } from '@/utils/time'\r\nimport { localDateFormats } from '@/utils/changeTime'\r\nexport default {\r\n data() {\r\n var validateTime = (rule, value, callback) => {\r\n if (this.arrayTime.length <= 0) {\r\n callback(new Error(this.$t('pEnter') + this.$t('work.time')))\r\n } else {\r\n callback()\r\n }\r\n }\r\n return {\r\n textMap: {\r\n update: this.$t('table.update'),\r\n create: this.$t('table.create')\r\n },\r\n\r\n createStatus: false,\r\n active: 0,\r\n name: 'tableData',\r\n subTaskList: [],\r\n groupedArray: null,\r\n pickerOptions0: {\r\n disabledDate: (time) => {\r\n return time.getTime() < Date.now() - 8.64e7\r\n }\r\n },\r\n rules: {\r\n telephone: [\r\n { required: true, validator: validatePhone, trigger: 'blur' }\r\n ],\r\n taskName: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.taskName'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n cycle: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.Days'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n orderType: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.taskType'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n startTime: [\r\n {\r\n required: true,\r\n validator: validateTime,\r\n trigger: 'blur'\r\n }\r\n ],\r\n // deadline: [\r\n // { required: true, message: '请输入截止时间', trigger: 'blur' }\r\n // ],\r\n checkName: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.taskName'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n receiveName: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('work.recipient'),\r\n trigger: 'blur'\r\n }\r\n ],\r\n deptId: [\r\n {\r\n required: true,\r\n message: this.$t('pEnter') + this.$t('listQuery.deptId'),\r\n trigger: 'blur'\r\n }\r\n ]\r\n },\r\n seletedList: [],\r\n deviceList: []\r\n }\r\n },\r\n computed: {\r\n form() {\r\n return this.$store.state.partol.form\r\n },\r\n arrayTime() {\r\n return this.$store.state.partol.arrayTime\r\n },\r\n addDialog() {\r\n return this.$store.state.partol.addDialog\r\n },\r\n activeName() {\r\n return this.$store.state.partol.activeName\r\n }\r\n },\r\n watch: {\r\n arrayTime(val) {\r\n if (val) {\r\n this.form.startTime = val && val[0]\r\n this.form.deadline = val && val[1]\r\n }\r\n },\r\n addDialog(val) {\r\n if (val === false) {\r\n setTimeout(() => {\r\n this.active = 0\r\n this.$store.state.partol.arrayTime = []\r\n }, 0)\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n handleCreate() {\r\n this.$children.forEach((e) => {\r\n if (e.workBree) {\r\n e.handleCreate()\r\n }\r\n })\r\n },\r\n handleDelete() {\r\n this.$children.forEach((e) => {\r\n if (e.workBree) {\r\n console.log(e.taskCount)\r\n if (!e.taskCount) {\r\n return\r\n }\r\n this.$confirm(\r\n this.$t('title.delPointOutWork'),\r\n this.$t('title.pointOut'),\r\n {\r\n confirmButtonText: this.$t('title.delete'),\r\n cancelButtonText: this.$t('title.cancel'),\r\n type: 'warning'\r\n }\r\n ).then(() => {\r\n batchDeleteTask({ taskIdStr: e.taskCount }).then((res) => {\r\n console.log(res)\r\n e.workList()\r\n this.$notify({\r\n title: this.$t('title.success'),\r\n message: this.$t('title.deleteSuccess'),\r\n type: 'success',\r\n duration: 3000\r\n })\r\n })\r\n })\r\n }\r\n })\r\n },\r\n next() {\r\n //填选了必填项才能进入下一步\r\n let deviceList = []\r\n this.$refs.form.validate((valid) => {\r\n if (valid) {\r\n if (this.active++ > 2) {\r\n this.active = 0\r\n }\r\n this.seletedList = []\r\n this.deviceList = this.$store.state.work.deviceAllList.map((e) => {\r\n this.seletedList.push(e.alarmId ? e.alarmId - 0 : e.deviceCode)\r\n return {\r\n label: e.deviceName,\r\n key: e.alarmId ? e.alarmId - 0 : e.deviceCode,\r\n alarmId: e.alarmId,\r\n deviceId: e.deviceId,\r\n deviceType: e.deviceType,\r\n deviceName: e.deviceName,\r\n latitude: e.latitude,\r\n longitude: e.longitude,\r\n areaId: e.areaId\r\n }\r\n })\r\n getDeviceList().then((e) => {\r\n deviceList = e.data.list.map((e) => {\r\n return {\r\n label: e.deviceName,\r\n key: e.deviceCode,\r\n deviceId: e.deviceId,\r\n deviceType: e.deviceType,\r\n deviceName: e.deviceName,\r\n latitude: e.latitude,\r\n longitude: e.longitude,\r\n areaId: e.deptId\r\n }\r\n })\r\n deviceList = deviceList.filter((e) => {\r\n return !this.seletedList.includes(e.key)\r\n })\r\n this.deviceList = [...deviceList, ...this.deviceList]\r\n })\r\n }\r\n })\r\n },\r\n createData() {\r\n // 新增\r\n\r\n if (this.createStatus) {\r\n return\r\n }\r\n this.getGroup()\r\n this.form.deviceList = this.deviceList.filter((e) => {\r\n return this.seletedList.includes(e.key)\r\n })\r\n this.form.subTaskList = this.subTaskList\r\n if (this.form.deviceList.length > 0) {\r\n this.createStatus = true\r\n insertInspectionTask(this.form)\r\n .then((res) => {\r\n console.log(res)\r\n this.createStatus = false\r\n this.$store.state.partol.addDialog = false\r\n this.subTaskList = []\r\n this.active = 0\r\n this.$notify({\r\n title: this.$t('title.success'),\r\n message: this.$t('title.addSuccess'),\r\n type: 'success',\r\n duration: 3000\r\n })\r\n this.$parent.workList()\r\n //console.log(this.$parent)\r\n })\r\n .catch(() => {\r\n this.createStatus = false\r\n })\r\n }\r\n },\r\n updateData() {\r\n // 编辑\r\n this.form.deviceList = [...this.$store.state.partol.form.deviceList]\r\n this.getGroup()\r\n this.form.taskType = '巡检'\r\n this.form.subTaskList = this.subTaskList\r\n if (this.form.deviceList.length > 0) {\r\n updateInspectionTask(this.form).then((res) => {\r\n console.log(res)\r\n this.$store.state.partol.addDialog = false\r\n this.subTaskList = []\r\n this.active = 0\r\n this.$notify({\r\n title: this.$t('title.success'),\r\n message: this.$t('title.updateSuccess'),\r\n type: 'success',\r\n duration: 3000\r\n })\r\n this.$parent.workList()\r\n //console.log(this.$parent)\r\n })\r\n }\r\n },\r\n\r\n handleClose(done) {\r\n this.$confirm(this.$t('work.Confirm'))\r\n // eslint-disable-next-line no-unused-vars\r\n .then((_) => {\r\n done()\r\n this.active = 0\r\n this.$store.state.partol.arrayTime = []\r\n this.$refs['form'].clearValidate()\r\n })\r\n // eslint-disable-next-line no-unused-vars\r\n .catch((_) => {})\r\n },\r\n getGroup() {\r\n this.groupedArray = group(\r\n getAllDate(\r\n this.form.startTime.split(' ')[0],\r\n this.form.deadline.split(' ')[0]\r\n ),\r\n Number(this.form.cycle * 1 + 1),\r\n this.form.deadline.split(' ')[1]\r\n )\r\n this.subTaskList = []\r\n var startLog = 0\r\n var deadlineLog = this.groupedArray.length\r\n this.groupedArray.forEach((e) => {\r\n var dTime = ''\r\n if (deadlineLog === startLog + 1) {\r\n dTime = this.form.deadline.split(' ')[1]\r\n } else {\r\n dTime = '00:00:00'\r\n }\r\n\r\n var sTime = ''\r\n if (startLog === 0) {\r\n sTime = this.form.startTime.split(' ')[1]\r\n } else {\r\n sTime = '00:00:00'\r\n }\r\n var dateTime = new Date(e[e.length - 1] + ' ' + dTime)\r\n\r\n dateTime = dateTime.setDate(dateTime.getDate())\r\n dateTime = new Date(dateTime)\r\n\r\n this.subTaskList.push({\r\n startTime: e[0] + ' ' + sTime,\r\n deadline: localDateFormats(dateTime),\r\n taskName: this.form.taskName,\r\n receiveName: this.form.receiveName,\r\n Telephone: this.form.Telephone,\r\n deptId: this.form.deptId,\r\n remark: this.form.remark,\r\n checkName: this.form.checkName\r\n })\r\n startLog++\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style></style>\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!./tableData.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!./tableData.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./tableData.vue?vue&type=template&id=75b39527&\"\nimport script from \"./tableData.vue?vue&type=script&lang=js&\"\nexport * from \"./tableData.vue?vue&type=script&lang=js&\"\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 null,\n null\n \n)\n\nexport default component.exports","import request from \"@/utils/request\";\r\nimport qs from \"qs\";\r\n\r\n/*\r\n 系统管理-用户管理 权限操作api 运维中心\r\n*/\r\n\r\n// 根据条件查询平台所有的设备列表信息\r\nexport function getDeviceList(data) {\r\n return request({\r\n url: 'device-service/cabinet/getDeviceList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 工单新建(告警)\r\nexport function insertOrderTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/insertOrderTask\",\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n data,\r\n });\r\n}\r\n\r\n// 工单编辑\r\nexport function updateOrderTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/updateTask\",\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n data,\r\n });\r\n}\r\n\r\n// 发布或中止工单\r\nexport function releaseTask(data) {\r\n return request({\r\n url: \"trajectory-service/ttask/releaseTask\",\r\n method: \"post\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取历史轨迹\r\nexport function getTaskTrajectoryList(data) {\r\n return request({\r\n url: \"trajectory-service/trajectory/getTaskTrajectoryList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取单个任务\r\nexport function getTask(data) {\r\n return request({\r\n url: \"trajectory-service/ttask/getTask\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 查询工单列表\r\nexport function getTaskList(data) {\r\n return request({\r\n url: \"trajectory-service/ttask/getTaskList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取工单和子巡检任务要验收的设备列表\r\nexport function getNeedAcceptanceDeviceList(data) {\r\n return request({\r\n url: \"trajectory-service/acceptance/getNeedAcceptanceDeviceList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n//子巡检发布\r\nexport function releaseTaskBySubId(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/releaseTaskBySubId\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n//子巡检中止\r\nexport function stopTaskBySubId(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/stopTaskBySubId\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 申请验收任务\r\nexport function applyAcceptanceTask(data) {\r\n return request({\r\n url: \"trajectory-service/acceptance/applyAcceptanceTask\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 验收任务\r\nexport function acceptanceTask(data) {\r\n return request({\r\n url: \"trajectory-service/acceptance/acceptanceTask\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 删除单个任务\r\nexport function deleteTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/deleteTask\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 批量删除单个任务\r\nexport function batchDeleteTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/batchDeleteTask\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n//批量发布或者终止\r\nexport function batchReleaseTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/batchReleaseTask\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 查询历史记录列表\r\nexport function getTrajectoryList(data) {\r\n return request({\r\n url: \"trajectory-service/trajectory/getTrajectoryList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 新增历史记录\r\nexport function insertTrajectoryTask(dataForm) {\r\n const data = qs.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/trajectory/insertTrajectory\",\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 删除(工单)音频、视频\r\nexport function deleteFileByUrl(data) {\r\n return request({\r\n url: \"trajectory-service/file/deleteFileByUrl\",\r\n method: \"post\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取拆除记录\r\nexport function dismantleList(data) {\r\n return request({\r\n url: \"trajectory-service/dismantle/getDismantleList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 根据dismantleId获取拆除记录\r\nexport function dismantleInfo(data) {\r\n return request({\r\n url: \"trajectory-service/dismantle/getDismantleInfo\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 新增巡检任务\r\nexport function insertInspectionTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/insertInspectionTask\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n\r\n// 更新巡检任务\r\nexport function updateInspectionTask(dataForm) {\r\n const data = JSON.stringify(dataForm);\r\n return request({\r\n url: \"trajectory-service/ttask/updateInspectionTask\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n method: \"post\",\r\n data,\r\n });\r\n}\r\n","const format = time => {\n let ymd = \"\";\n const mouth =\n time.getMonth() + 1 >= 10\n ? time.getMonth() + 1\n : \"0\" + (time.getMonth() + 1);\n const day = time.getDate() >= 10 ? time.getDate() : \"0\" + time.getDate();\n ymd += time.getFullYear() + \"-\"; // 获取年份。\n ymd += mouth + \"-\"; // 获取月份。\n ymd += day; // 获取日。\n return ymd; // 返回日期。\n};\nexport const getAllDate = (start, end) => {\n const dateArr = [];\n const startArr = start.split(\"-\");\n const endArr = end.split(\"-\");\n const db = new Date();\n db.setUTCFullYear(startArr[0], startArr[1] - 1, startArr[2]);\n const de = new Date();\n de.setUTCFullYear(endArr[0], endArr[1] - 1, endArr[2]);\n const unixDb = db.getTime();\n const unixDe = de.getTime();\n let stamp;\n const oneDay = 24 * 60 * 60 * 1000;\n for (stamp = unixDb; stamp <= unixDe;) {\n dateArr.push(format(new Date(parseInt(stamp))));\n stamp = stamp + oneDay;\n }\n\n return dateArr;\n};\n\nexport function group(array, subGroupLength, time) {\n let index = 0;\n const newArray = [];\n console.log(time, \"---1--\");\n let length = array.length - 1;\n if (time !== \"00:00:00\") {\n length = array.length + 1;\n }\n if (subGroupLength <= 1) {\n subGroupLength = 2;\n }\n // subGroupLength = subGroupLength;\n while (index < length) {\n newArray.push(array.slice(index, index + subGroupLength));\n index = index + subGroupLength - 1;\n }\n return newArray;\n}\n\nexport function isStatus(startTime, endTime, timestamp, status) {\n let startTimes = startTime.replace(/-/g, \"/\");\n let endTimes = endTime.replace(/-/g, \"/\");\n let timestamps = timestamp.replace(/-/g, \"/\");\n startTimes = new Date(startTimes).getTime();\n endTimes = new Date(endTimes).getTime();\n timestamps = new Date(timestamps).getTime();\n if (status == 0) {\n return \"未审核\";\n } else if (startTimes > timestamps && status == 1) {\n return \"未生效\"; //未生效\n } else if (endTimes < timestamps) {\n return \"已过期\"; //过期\n } else if (startTimes < timestamps && endTimes > timestamps && status == 1) {\n return \"生效中\"; //生效中\n } else if (status == 1 && endTimes < timestamps) {\n return \"结束\"; //结束\n } else if (status == 3) {\n return \"结束授权\"; //解除授权\n } else if (status == 2) {\n return \"驳回授权\"; //驳回授权\n }\n}\n\nexport function timeStatus(startTime, endTime, timestamp, status) {\n let startTimes = startTime.replace(/-/g, \"/\");\n let endTimes = endTime.replace(/-/g, \"/\");\n let timestamps = timestamp.replace(/-/g, \"/\");\n startTimes = new Date(startTimes).getTime();\n endTimes = new Date(endTimes).getTime();\n timestamps = new Date(timestamps).getTime();\n if (status == 0) {\n return \"未审核\";\n } else if (endTimes < timestamps) {\n return \"已过期\"; //过期\n } else if (startTimes < timestamps && endTimes > timestamps && status == 1) {\n return \"通过审核\"; //生效中\n } else if (startTimes < timestamps && endTimes > timestamps && status == 2) {\n return \"驳回授权\"; //驳回授权\n }\n}\n\nexport function workStatus(startTime, endTime, timestamp, status) {\n let startTimes = startTime.replace(/-/g, \"/\");\n let endTimes = endTime.replace(/-/g, \"/\");\n let timestamps = timestamp.replace(/-/g, \"/\");\n startTimes = new Date(startTimes).getTime();\n endTimes = new Date(endTimes).getTime();\n timestamps = new Date(timestamps).getTime();\n console.log(startTimes);\n if (status == -1 && timestamps > endTimes) {\n return \"6\"; //已过期\n } else if (status == 0 && timestamps > endTimes) {\n return \"6\"; //已过期\n } else if (status == 1 && timestamps > endTimes) {\n return \"6\";\n } else if (status == 2 && timestamps > endTimes) {\n return \"6\";\n }\n}\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar Array = global.Array;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar fix = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nvar FORCED = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n // https://github.com/tc39/proposal-well-formed-stringify\n $({ target: 'JSON', stat: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n for (var i = 0, l = arguments.length, args = Array(l); i < l; i++) args[i] = arguments[i];\n var result = apply($stringify, null, args);\n return typeof result == 'string' ? replace(result, tester, fix) : result;\n }\n });\n}\n"],"sourceRoot":""}