(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{ /***/ "./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js?!./src/views/components/flowRecord.vue?vue&type=style&index=0&id=2a1c9be4&lang=less&scoped=true&": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--10-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/components/flowRecord.vue?vue&type=style&index=0&id=2a1c9be4&lang=less&scoped=true& ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".flowRecord .mr-4[data-v-2a1c9be4] {\\n margin-right: 0.05333rem;\\n}\\n.flowRecord ul[data-v-2a1c9be4] {\\n padding: 0.36rem 0.4rem;\\n}\\n.flowRecord li[data-v-2a1c9be4] {\\n display: flex;\\n position: relative;\\n}\\n.flowRecord .flow_icon[data-v-2a1c9be4] {\\n margin-right: 0.21333rem;\\n padding-top: 0.10667rem;\\n}\\n.flowRecord .flow_icon .line[data-v-2a1c9be4] {\\n height: 100%;\\n width: 0.02667rem;\\n background: rgba(0, 0, 0, 0.15);\\n margin: 0 auto;\\n}\\n.flowRecord .flow_icon .svg-icon[data-v-2a1c9be4] {\\n font-size: 0.37333rem;\\n}\\n.flowRecord .node[data-v-2a1c9be4] {\\n margin-bottom: 0.26667rem;\\n}\\n.flowRecord .node .iconDIv[data-v-2a1c9be4] {\\n display: flex;\\n align-items: center;\\n}\\n.flowRecord .node .userIcon[data-v-2a1c9be4] {\\n font-size: 0.66667rem;\\n margin-right: 0.13333rem;\\n}\\n.flowRecord .node .tit[data-v-2a1c9be4] {\\n font-weight: 600;\\n}\\n.flowRecord .node .user[data-v-2a1c9be4] {\\n margin-left: 0.8rem;\\n}\\n.flowRecord .node .time[data-v-2a1c9be4] {\\n color: #999999;\\n}\\n.flowRecord .node .auditInfo[data-v-2a1c9be4] {\\n background: rgba(0, 0, 0, 0.05);\\n padding: 0.21333rem;\\n color: #999999;\\n margin-bottom: 0.10667rem;\\n}\\n.flowRecord .node .auditInfo .users[data-v-2a1c9be4] {\\n display: flex;\\n justify-content: space-between;\\n margin-bottom: 0.10667rem;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/views/components/flowRecord.vue?./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--10-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options"); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js?!./src/views/components/flowRecord.vue?vue&type=script&lang=js&": /*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/components/flowRecord.vue?vue&type=script&lang=js& ***! \*******************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"./node_modules/core-js/modules/es.array.for-each.js\");\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"./node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ \"./node_modules/core-js/modules/es.array.slice.js\");\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"./node_modules/core-js/modules/web.dom-collections.for-each.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'flowRecord',\n props: ['detailData', 'flowData'],\n data: function data() {\n return {};\n },\n created: function created() {},\n computed: {},\n mounted: function mounted() {},\n methods: {\n getResultIcon: function getResultIcon(item) {\n if (item.children && item.children.length) {\n return this.getResultChildIcon(item.children.slice(-1)[0]);\n } else {\n if (item.withdrawFlag === 'cancel-end') {\n return 'icontimelineIcon4';\n } else if (!item.result) {\n return 'icontimelineIcon2';\n } else if (item.result === 'process-end' || item.nodeType === 'ROOT' || item.result === 'PASS') {\n return 'icontimelineIcon1';\n } else {\n return 'icontimelineIcon3';\n }\n }\n },\n getResultChildIcon: function getResultChildIcon(data) {\n var _this = this;\n\n if (data.approvalMode === 'OR') {\n var icons = [];\n data.list.forEach(function (i) {\n icons.push(_this.getResultIcon(i));\n });\n return icons.includes('icontimelineIcon1') ? 'icontimelineIcon1' : icons.includes('icontimelineIcon3') ? 'icontimelineIcon3' : icons.includes('icontimelineIcon4') ? 'icontimelineIcon4' : 'icontimelineIcon2';\n } else if (data.approvalMode === 'AND') {\n var _icons = [];\n data.list.forEach(function (i) {\n _icons.push(_this.getResultIcon(i));\n });\n return _icons.includes('icontimelineIcon3') ? 'icontimelineIcon3' : _icons.includes('icontimelineIcon2') ? 'icontimelineIcon2' : _icons.includes('icontimelineIcon4') ? 'icontimelineIcon4' : 'icontimelineIcon1';\n } else {\n return 'icontimelineIcon1';\n }\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/components/flowRecord.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options"); /***/ }), /***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"f3ffc7fa-vue-loader-template\"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js?!./src/views/components/flowRecord.vue?vue&type=template&id=2a1c9be4&scoped=true&": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f3ffc7fa-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/components/flowRecord.vue?vue&type=template&id=2a1c9be4&scoped=true& ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"flowRecord\" }, [\n _c(\n \"ul\",\n _vm._l(_vm.flowData, function(item, index) {\n return _c(\"li\", { key: index }, [\n _c(\n \"div\",\n { staticClass: \"flow_icon\" },\n [\n item.nodeType === \"CC\"\n ? _c(\"iconSvg\", { attrs: { iconClass: \"icontimelineIcon1\" } })\n : _c(\"iconSvg\", {\n attrs: { iconClass: _vm.getResultIcon(item) }\n }),\n index != _vm.flowData.length - 1\n ? _c(\"p\", { staticClass: \"line\" })\n : _vm._e()\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"node\" },\n [\n item.nodeType === \"ROOT\" || item.nodeType === \"CC\"\n ? [\n _c(\n \"div\",\n { staticClass: \"iconDIv\" },\n [\n _c(\"iconSvg\", {\n staticClass: \"userIcon\",\n attrs: { iconClass: \"iconportraitIcon\" }\n }),\n _c(\"p\", { staticClass: \"tit\" }, [\n _vm._v(\n _vm._s(item.nodeType === \"ROOT\" ? \"发起\" : \"抄送\")\n )\n ])\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"user\" }, [\n _c(\"p\", { staticClass: \"mb-8\" }, [\n _vm._v(\n _vm._s(item.user.userName || \"-\") +\n \"(\" +\n _vm._s(item.user.orgName || \"-\") +\n \")\"\n )\n ]),\n _c(\"p\", { staticClass: \"time\" }, [\n _vm._v(_vm._s(item && item.finishTime))\n ])\n ])\n ]\n : [\n _c(\"p\", { staticClass: \"tit mr-8\" }, [\n _vm._v(\n _vm._s(\n item.parallelChildren && item.parallelChildren.length\n ? \"并行分支\"\n : item.name\n )\n ),\n item.withdrawFlag === \"cancel-end\"\n ? _c(\"span\", [_vm._v(\"被撤回\")])\n : _vm._e()\n ]),\n item.children && item.children.length\n ? _c(\n \"ul\",\n _vm._l(item.children, function(child, key) {\n return _c(\"li\", { key: key }, [\n _c(\n \"div\",\n { staticClass: \"flow_icon\" },\n [\n child.nodeType === \"CC\"\n ? _c(\"iconSvg\", {\n attrs: {\n iconClass: \"icontimelineIcon1\"\n }\n })\n : _c(\"iconSvg\", {\n attrs: {\n iconClass: _vm.getResultChildIcon(\n child\n )\n }\n }),\n key != item.children.length - 1\n ? _c(\"p\", { staticClass: \"line\" })\n : _vm._e()\n ],\n 1\n ),\n _c(\"div\", { staticClass: \"node\" }, [\n _c(\n \"div\",\n { staticClass: \"iconDIv\" },\n [\n _c(\"iconSvg\", {\n staticClass: \"userIcon\",\n attrs: { iconClass: \"iconportraitIcon\" }\n }),\n _c(\"p\", { staticClass: \"tit\" }, [\n _vm._v(\" \" + _vm._s(child.name) + \" \"),\n child.withdrawFlag === \"cancel-end\"\n ? _c(\n \"span\",\n { staticClass: \"text-info\" },\n [_vm._v(\"(被撤回)\")]\n )\n : _vm._e(),\n child.list.length > 1\n ? _c(\n \"span\",\n { staticClass: \"text-info\" },\n [\n _vm._v(\n _vm._s(\n child.approvalMode === \"OR\"\n ? \"(或签)\"\n : child.approvalMode ===\n \"AND\"\n ? \"(会签)\"\n : \"\"\n )\n )\n ]\n )\n : _vm._e()\n ])\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"user\" },\n [\n _c(\n \"div\",\n { staticStyle: { display: \"flex\" } },\n _vm._l(child.list, function(list, k) {\n return _c(\n \"p\",\n { key: k },\n [\n list.nodeType !== \"CC\"\n ? _c(\"iconSvg\", {\n staticClass: \"mr-4\",\n attrs: {\n iconClass: _vm.getResultIcon(\n list\n )\n }\n })\n : _vm._e(),\n _c(\"span\", [\n _vm._v(\n _vm._s(list.user.userName || \"\")\n )\n ]),\n _c(\n \"span\",\n { staticClass: \"text-info\" },\n [\n _vm._v(\n \"(\" +\n _vm._s(\n list.user.orgName || \"\"\n ) +\n \")\"\n )\n ]\n )\n ],\n 1\n )\n }),\n 0\n ),\n _vm._l(child.list, function(list, k) {\n return _c(\"div\", { key: k }, [\n list.auditInfo\n ? _c(\n \"div\",\n { staticClass: \"auditInfo\" },\n [\n _c(\n \"div\",\n { staticClass: \"users\" },\n [\n _c(\"p\", [\n _vm._v(\n _vm._s(\n list.user.userName ||\n \"\"\n )\n )\n ]),\n _c(\n \"p\",\n { staticClass: \"time\" },\n [\n _vm._v(\n _vm._s(\n list.finishTime\n )\n )\n ]\n )\n ]\n ),\n list.auditInfo\n ? _c(\n \"p\",\n {\n staticClass:\n \"text-info\",\n staticStyle: {\n \"word-break\":\n \"break-all\"\n }\n },\n [\n _vm._v(\"意见:\"),\n _c(\"span\", [\n _vm._v(\n _vm._s(\n list.auditInfo\n .text\n )\n )\n ])\n ]\n )\n : _vm._e(),\n list.auditInfo &&\n list.auditInfo.attachments &&\n list.auditInfo.attachments\n .length\n ? _c(\n \"div\",\n {\n staticStyle: {\n display: \"flex\"\n }\n },\n [\n _c(\"span\", [\n _vm._v(\"附件:\")\n ]),\n _c(\n \"div\",\n _vm._l(\n list.auditInfo\n .attachments,\n function(\n file,\n fileIndex\n ) {\n return _c(\n \"p\",\n {\n key: fileIndex,\n staticClass:\n \"mb-4\"\n },\n [\n _c(\n \"router-link\",\n {\n attrs: {\n target:\n \"_blank\",\n to: {\n name:\n \"viewPdf\",\n query: {\n fileId:\n file.fileId\n }\n }\n }\n },\n [\n _c(\n \"a\",\n {\n staticStyle: {\n \"margin-right\":\n \"10px\"\n }\n },\n [\n _vm._v(\n \" \" +\n _vm._s(\n file.fileName\n ) +\n \" \"\n )\n ]\n )\n ]\n )\n ],\n 1\n )\n }\n ),\n 0\n )\n ]\n )\n : _vm._e()\n ]\n )\n : _vm._e()\n ])\n })\n ],\n 2\n )\n ])\n ])\n }),\n 0\n )\n : _vm._e()\n ]\n ],\n 2\n )\n ])\n }),\n 0\n )\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/components/flowRecord.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22f3ffc7fa-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options"); /***/ }), /***/ "./node_modules/core-js/modules/es.array.includes.js": /*!***********************************************************!*\ !*** ./node_modules/core-js/modules/es.array.includes.js ***! \***********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar $includes = __webpack_require__(/*! ../internals/array-includes */ \"./node_modules/core-js/internals/array-includes.js\").includes;\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ \"./node_modules/core-js/internals/add-to-unscopables.js\");\nvar arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ \"./node_modules/core-js/internals/array-method-uses-to-length.js\");\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });\n\n// `Array.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es.array.includes.js?"); /***/ }), /***/ "./node_modules/vue-style-loader/index.js?!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/less-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js?!./src/views/components/flowRecord.vue?vue&type=style&index=0&id=2a1c9be4&lang=less&scoped=true&": /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-style-loader??ref--10-oneOf-1-0!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--10-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/components/flowRecord.vue?vue&type=style&index=0&id=2a1c9be4&lang=less&scoped=true& ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { eval("// style-loader: Adds some css to the DOM by adding a