gs-user-selector
Version:
sundun user selector 用户选择组件
3,676 lines • 146 kB
JavaScript
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("gxx-general-approve", [], factory);
else if(typeof exports === 'object')
exports["gxx-general-approve"] = factory();
else
root["gxx-general-approve"] = factory();
})(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/dist/";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 5);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
// css base code, injected by the css-loader
module.exports = function(useSourceMap) {
var list = [];
// return the list of modules as css string
list.toString = function toString() {
return this.map(function (item) {
var content = cssWithMappingToString(item, useSourceMap);
if(item[2]) {
return "@media " + item[2] + "{" + content + "}";
} else {
return content;
}
}).join("");
};
// import a list of modules into the list
list.i = function(modules, mediaQuery) {
if(typeof modules === "string")
modules = [[null, modules, ""]];
var alreadyImportedModules = {};
for(var i = 0; i < this.length; i++) {
var id = this[i][0];
if(typeof id === "number")
alreadyImportedModules[id] = true;
}
for(i = 0; i < modules.length; i++) {
var item = modules[i];
// skip already imported module
// this implementation is not 100% perfect for weird media query combinations
// when a module is imported multiple times with different media queries.
// I hope this will never occur (Hey this way we have smaller bundles)
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
if(mediaQuery && !item[2]) {
item[2] = mediaQuery;
} else if(mediaQuery) {
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
}
list.push(item);
}
}
};
return list;
};
function cssWithMappingToString(item, useSourceMap) {
var content = item[1] || '';
var cssMapping = item[3];
if (!cssMapping) {
return content;
}
if (useSourceMap && typeof btoa === 'function') {
var sourceMapping = toComment(cssMapping);
var sourceURLs = cssMapping.sources.map(function (source) {
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
});
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
}
return [content].join('\n');
}
// Adapted from convert-source-map (MIT)
function toComment(sourceMap) {
// eslint-disable-next-line no-undef
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
return '/*# ' + data + ' */';
}
/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
Modified by Evan You @yyx990803
*/
var hasDocument = typeof document !== 'undefined'
if (typeof DEBUG !== 'undefined' && DEBUG) {
if (!hasDocument) {
throw new Error(
'vue-style-loader cannot be used in a non-browser environment. ' +
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
) }
}
var listToStyles = __webpack_require__(9)
/*
type StyleObject = {
id: number;
parts: Array<StyleObjectPart>
}
type StyleObjectPart = {
css: string;
media: string;
sourceMap: ?string
}
*/
var stylesInDom = {/*
[id: number]: {
id: number,
refs: number,
parts: Array<(obj?: StyleObjectPart) => void>
}
*/}
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
var singletonElement = null
var singletonCounter = 0
var isProduction = false
var noop = function () {}
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
// tags it will allow on a page
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
module.exports = function (parentId, list, _isProduction) {
isProduction = _isProduction
var styles = listToStyles(parentId, list)
addStylesToDom(styles)
return function update (newList) {
var mayRemove = []
for (var i = 0; i < styles.length; i++) {
var item = styles[i]
var domStyle = stylesInDom[item.id]
domStyle.refs--
mayRemove.push(domStyle)
}
if (newList) {
styles = listToStyles(parentId, newList)
addStylesToDom(styles)
} else {
styles = []
}
for (var i = 0; i < mayRemove.length; i++) {
var domStyle = mayRemove[i]
if (domStyle.refs === 0) {
for (var j = 0; j < domStyle.parts.length; j++) {
domStyle.parts[j]()
}
delete stylesInDom[domStyle.id]
}
}
}
}
function addStylesToDom (styles /* Array<StyleObject> */) {
for (var i = 0; i < styles.length; i++) {
var item = styles[i]
var domStyle = stylesInDom[item.id]
if (domStyle) {
domStyle.refs++
for (var j = 0; j < domStyle.parts.length; j++) {
domStyle.parts[j](item.parts[j])
}
for (; j < item.parts.length; j++) {
domStyle.parts.push(addStyle(item.parts[j]))
}
if (domStyle.parts.length > item.parts.length) {
domStyle.parts.length = item.parts.length
}
} else {
var parts = []
for (var j = 0; j < item.parts.length; j++) {
parts.push(addStyle(item.parts[j]))
}
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
}
}
}
function createStyleElement () {
var styleElement = document.createElement('style')
styleElement.type = 'text/css'
head.appendChild(styleElement)
return styleElement
}
function addStyle (obj /* StyleObjectPart */) {
var update, remove
var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]')
if (styleElement) {
if (isProduction) {
// has SSR styles and in production mode.
// simply do nothing.
return noop
} else {
// has SSR styles but in dev mode.
// for some reason Chrome can't handle source map in server-rendered
// style tags - source maps in <style> only works if the style tag is
// created and inserted dynamically. So we remove the server rendered
// styles and inject new ones.
styleElement.parentNode.removeChild(styleElement)
}
}
if (isOldIE) {
// use singleton mode for IE9.
var styleIndex = singletonCounter++
styleElement = singletonElement || (singletonElement = createStyleElement())
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
} else {
// use multi-style-tag mode in all other cases
styleElement = createStyleElement()
update = applyToTag.bind(null, styleElement)
remove = function () {
styleElement.parentNode.removeChild(styleElement)
}
}
update(obj)
return function updateStyle (newObj /* StyleObjectPart */) {
if (newObj) {
if (newObj.css === obj.css &&
newObj.media === obj.media &&
newObj.sourceMap === obj.sourceMap) {
return
}
update(obj = newObj)
} else {
remove()
}
}
}
var replaceText = (function () {
var textStore = []
return function (index, replacement) {
textStore[index] = replacement
return textStore.filter(Boolean).join('\n')
}
})()
function applyToSingletonTag (styleElement, index, remove, obj) {
var css = remove ? '' : obj.css
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = replaceText(index, css)
} else {
var cssNode = document.createTextNode(css)
var childNodes = styleElement.childNodes
if (childNodes[index]) styleElement.removeChild(childNodes[index])
if (childNodes.length) {
styleElement.insertBefore(cssNode, childNodes[index])
} else {
styleElement.appendChild(cssNode)
}
}
}
function applyToTag (styleElement, obj) {
var css = obj.css
var media = obj.media
var sourceMap = obj.sourceMap
if (media) {
styleElement.setAttribute('media', media)
}
if (sourceMap) {
// https://developer.chrome.com/devtools/docs/javascript-debugging
// this makes source maps inside style tags work properly in Chrome
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
// http://stackoverflow.com/a/26603875
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
}
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = css
} else {
while (styleElement.firstChild) {
styleElement.removeChild(styleElement.firstChild)
}
styleElement.appendChild(document.createTextNode(css))
}
}
/***/ }),
/* 2 */
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file.
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
// ES6 modules interop
var type = typeof rawScriptExports.default
if (type === 'object' || type === 'function') {
esModule = rawScriptExports
scriptExports = rawScriptExports.default
}
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (compiledTemplate) {
options.render = compiledTemplate.render
options.staticRenderFns = compiledTemplate.staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
esModule: esModule,
exports: scriptExports,
options: options
}
}
/***/ }),
/* 3 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mixins_audit_methods__ = __webpack_require__(10);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__flow_general_history_components_flow_general_history_vue__ = __webpack_require__(13);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ __webpack_exports__["a"] = ({
components: {
sGeneralHistory: __WEBPACK_IMPORTED_MODULE_1__flow_general_history_components_flow_general_history_vue__["a" /* default */]
},
mixins: [__WEBPACK_IMPORTED_MODULE_0__mixins_audit_methods__["a" /* default */]],
data: function data() {
return {
tabValue: 'sp',
showSp: true,
timer: new Date().getTime()
};
},
watch: {
delegationState: function delegationState(val) {
if (val == "PENDING") {
this.delegationName = "【委派】";
} else {
this.delegationName = "";
}
},
isLastUserTask: function isLastUserTask(val) {
if (val) {
this.formValidate.approvalContent = "同意";
} else {
this.formValidate.approvalContent = "同意上报";
}
}
}
});
/***/ }),
/* 4 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user__ = __webpack_require__(16);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mixins_track_methods__ = __webpack_require__(17);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ __webpack_exports__["a"] = ({
components: {
modifyApproveUser: __WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user__["modifyApproveUser"]
},
mixins: [__WEBPACK_IMPORTED_MODULE_1__mixins_track_methods__["a" /* default */]],
props: {},
data: function data() {
return {};
},
filters: {
dateFormat: function dateFormat(dateStr) {
var date = new Date(dateStr);
var year = date.getFullYear();
/* 在日期格式中,月份是从0开始的,因此要加0使用三元表达式在小于10的前面加0,以达到格式统一 如 09:11:05 */
var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1;
var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();
var seconds = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
// 拼接
return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds;
}
},
mounted: function mounted() {
this.getApprovalTrack();
},
methods: {
callbackSuccess: function callbackSuccess(data) {
var _this = this;
if (this.modifyUserCallback) {
this.getApprovalTrack();
return this.modifyUserCallback(data);
} else {
// 重新获取审批历史
return new Promise(function (resolve, reject) {
var that = _this;
_this.getApprovalTrack();
setTimeout(function () {
that.$Modal.success({
title: '温馨提示',
content: '修改审批人成功'
});
resolve({ success: true });
}, 1000);
});
}
},
testErr: function testErr() {
var _this2 = this;
return new Promise(function (resolve, reject) {
var that = _this2;
setTimeout(function () {
that.$Modal.error({
title: '温馨提示',
content: '修改审批人失败,请稍后重试'
});
resolve({ success: false });
}, 1000);
});
}
}
});
/***/ }),
/* 5 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_flow_general_audit_vue__ = __webpack_require__(6);
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "GeneralApprove", function() { return __WEBPACK_IMPORTED_MODULE_0__components_flow_general_audit_vue__["a"]; });
var Plugin = {
install: function install(Vue) {
Vue.component('general-approve', __WEBPACK_IMPORTED_MODULE_0__components_flow_general_audit_vue__["a" /* default */]);
}
};
/* harmony default export */ __webpack_exports__["default"] = (Plugin);
/***/ }),
/* 6 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_audit_vue__ = __webpack_require__(3);
/* unused harmony namespace reexport */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3c1754b7_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_audit_vue__ = __webpack_require__(20);
function injectStyle (ssrContext) {
__webpack_require__(7)
}
var normalizeComponent = __webpack_require__(2)
/* script */
/* template */
/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = "data-v-3c1754b7"
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_audit_vue__["a" /* default */],
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_3c1754b7_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_audit_vue__["a" /* default */],
__vue_template_functional__,
__vue_styles__,
__vue_scopeId__,
__vue_module_identifier__
)
/* harmony default export */ __webpack_exports__["a"] = (Component.exports);
/***/ }),
/* 7 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
var content = __webpack_require__(8);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var update = __webpack_require__(1)("5e1dfc74", content, true);
/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
// imports
// module
exports.push([module.i, ".uni-ctnt[data-v-3c1754b7]{padding:5px 0 20px}.uni-sel[data-v-3c1754b7]{display:flex}.uni-sel>.sel[data-v-3c1754b7]{width:80%}.uni-sel>.check[data-v-3c1754b7]{width:20%;margin-left:20px}.uni-list[data-v-3c1754b7]{max-height:100px;overflow:auto;width:500px}[data-v-3c1754b7] .bsp-flow-modal .ivu-modal-header{padding:0}[data-v-3c1754b7] .bsp-flow-modal .ivu-icon-ios-close{font-size:32px}[data-v-3c1754b7] .bsp-flow-modal .ivu-tag-text{font-size:16px}[data-v-3c1754b7] .bsp-flow-modal .ivu-tag-dot{padding:0 8px}[data-v-3c1754b7] .bsp-flow-modal .ivu-tag-dot-inner{margin-right:2px}[data-v-3c1754b7] .bsp-flow-modal .ivu-tag .ivu-icon-ios-close{font-size:18px;top:1px;margin-left:4px!important}[data-v-3c1754b7] .ivu-form .ivu-form-item-label,[data-v-3c1754b7] textarea.ivu-input{font-size:16px}[data-v-3c1754b7] .bsp-flow-modal .bsp-sel-user .ivu-icon-md-add{font-size:18px}[data-v-3c1754b7] .bsp-flow-modal .bsp-sel-user>.ivu-icon+span,[data-v-3c1754b7] .bsp-flow-modal .bsp-sel-user>span+.ivu-icon{margin-left:0;font-size:16px}[data-v-3c1754b7] .ivu-select-input{font-size:16px}[data-v-3c1754b7] .ivu-select-item{font-size:16px!important}[data-v-3c1754b7] .ivu-checkbox-wrapper{font-size:16px}[data-v-3c1754b7] .ivu-form-item{margin-bottom:0;padding-bottom:10px}[data-v-3c1754b7] .ivu-modal-body{max-height:450px;overflow-y:auto;overflow-x:hidden}[data-v-3c1754b7] .ivu-modal-footer{height:50px;line-height:50px;padding:0 12px}.bsp-flow-modal .bsp-flow-modal-title[data-v-3c1754b7]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px;font-size:15px}.bsp-flow-people-ctnt>div[data-v-3c1754b7]{display:inline-block}.bsp-flow-modal [data-v-3c1754b7]::-webkit-scrollbar{width:5px;height:1px}.bsp-flow-modal [data-v-3c1754b7]::-webkit-scrollbar-thumb{border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#c9c9c9}.bsp-flow-modal [data-v-3c1754b7]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:4px;background:#ededed}.cancle-button[data-v-3c1754b7],.submit-button[data-v-3c1754b7]{min-width:60px;font-size:14px;border-radius:0}.cancle-button[data-v-3c1754b7]{border:1px solid #2b5fd9;color:#2b5fd9;background-color:#fff}.submit-button[data-v-3c1754b7]{border:1px solid #2b5fd9;color:#fff;background-color:#2b5fd9}.tip-container[data-v-3c1754b7]{margin-top:10px;background-color:#f2f6fc;padding:16px}.tip-container .tip-title[data-v-3c1754b7]{font-size:16px;font-weight:700;padding-right:10px}.tip-container .tip-warning[data-v-3c1754b7]{color:#e60012;font-weight:16px}.tip-container p[data-v-3c1754b7]{font-size:16px;margin:20px}.bsp-approve[data-v-3c1754b7]{background:#fafbff;border-radius:0 0 0 0;border:1px solid #cee0f0;padding:16px 16px 2px 0;margin-top:16px}.footer-approve[data-v-3c1754b7]{text-align:center;margin:0 16px 16px}.bsp-general-wrap[data-v-3c1754b7]{width:99%;font-family:\"Noto Sans TC, Microsoft YaHei, Segoe UI, Tahoma, Arial, Verdana, sans-serif\"}.bsp-general-wrap[data-v-3c1754b7] .ivu-tabs-tab{font-size:18px!important}.bsp-general-wrap[data-v-3c1754b7] .ivu-tabs-tab-active{font-weight:700!important}", ""]);
// exports
/***/ }),
/* 9 */
/***/ (function(module, exports) {
/**
* Translates the list format produced by css-loader into something
* easier to manipulate.
*/
module.exports = function listToStyles (parentId, list) {
var styles = []
var newStyles = {}
for (var i = 0; i < list.length; i++) {
var item = list[i]
var id = item[0]
var css = item[1]
var media = item[2]
var sourceMap = item[3]
var part = {
id: parentId + ':' + i,
css: css,
media: media,
sourceMap: sourceMap
}
if (!newStyles[id]) {
styles.push(newStyles[id] = { id: id, parts: [part] })
} else {
newStyles[id].parts.push(part)
}
}
return styles
}
/***/ }),
/* 10 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__data__ = __webpack_require__(11);
/* harmony default export */ __webpack_exports__["a"] = ({
mixins: [__WEBPACK_IMPORTED_MODULE_0__data__["a" /* default */]],
mounted: function mounted() {
this.getCurrentApprovalTrack();
},
methods: {
getFormField: function getFormField() {
var _this = this;
if (this.formId) {
this.$store.dispatch('postRequest', {
url: '/bsp-com/com/form/getFormFieldByFormId',
params: {
formId: this.formId
}
}).then(function (resp) {
if (resp.success) {
if (resp.data && resp.data.length > 0) {
resp.data.forEach(function (item) {
if (item.isMain == '1') {
_this.formArr = item.children;
var obj = {};
var keyName = '';
_this.formArr.forEach(function (ele) {
if (ele.isProcessVar && ele.isProcessVar == '1') {
keyName = ele.fieldName;
obj[keyName] = _this.formDataVarObj[ele.fieldName];
}
});
_this.ProcessVarObj = obj;
}
});
_this.getAduitApprovalUser();
} else {
_this.getAduitApprovalUser();
}
}
});
}
},
getForm: function getForm() {
var _this2 = this;
var params = {
operType: this.operType,
formId: this.formId,
businessId: this.businessId
};
this.$store.dispatch('postRequest', {
url: '/bsp-com/com/form/handle/getFormData',
params: params
}).then(function (resp) {
if (resp.success) {
// console.log(resp,resp.success,'resp.data')
_this2.formDataVarObj = resp.formData;
_this2.getFormField();
} else {
_this2.warnSwal('文书模版加载出错。原因:' + resp.msg);
}
});
},
initData: function initData() {
if (this.businessId === '') {
this.warnSwal('未设置业务编号[businessId]。');
return;
}
if (this.module === '') {
this.warnSwal('未设置模块名称[module]。');
}
},
// 获取当前审批节点
getCurrentApprovalTrack: function getCurrentApprovalTrack() {
var _this3 = this;
if (!this.actInstId) {
this.warnSwal('流程实例ID不能为空');
return;
}
this.$store.dispatch('postRequest', {
url: 'bsp-bpm/bpm/approveProcess/currentApprovalTrack',
params: {
actInstId: this.actInstId
}
}).then(function (resp) {
if (resp.success) {
_this3.hasApproveAuth = true;
_this3.showSp = true;
_this3.$nextTick(function () {
if (this.bindEvent && this.$slots.func) {
this.reference = this.$slots.func[0].elm;
if (this.reference) {
this.reference.addEventListener('click', this.openAudit);
}
}
});
_this3.currentNodeName = resp.currentNodeName;
_this3.isLastUserTask = resp.isLastUserTask;
_this3.formValidate.taskId = resp.taskId;
_this3.showTc = resp.firstNodeShowTc;
_this3.initBtn(resp.buttons);
_this3.formId ? _this3.getForm() : _this3.getAduitApprovalUser();
if (resp.isLastUserTask || resp.delegationState == 'PENDING') {
_this3.showApproveUser = false;
}
_this3.delegationState = resp.delegationState;
_this3.currentNodeId = resp.currentNodeId ? resp.currentNodeId : '';
_this3.getButtonByInstIdAndNodeId(_this3.actInstId, resp.currentNodeId);
_this3.rollbackNodeList = resp.rollbackNodeList;
if (_this3.rollbackNodeList && _this3.rollbackNodeList.length > 0) {
_this3.formValidate.backNodeId = _this3.rollbackNodeList[0]['id'];
}
// 组装当前任务节点信息
_this3.currTask.currentNodeName = resp.currentNodeName;
_this3.currTask.taskId = resp.taskId;
_this3.currTask.isLastUserTask = resp.isLastUserTask;
_this3.currTask.firstNodeShowTc = resp.firstNodeShowTc;
_this3.currTask.delegationState = resp.delegationState;
_this3.currTask.currentNodeId = resp.currentNodeId;
_this3.currTask.isFirstNode = resp.isFirstNode;
_this3.currTask.buttons = resp.buttons;
_this3.currTask.rollbackNodeList = resp.rollbackNodeList;
_this3.currTask.curentTaskApproveUser = resp.curentTaskApproveUser;
// 判断当前节点是否为法制审核节点
// this.justFzshCurNode()
} else {
_this3.hasApproveAuth = false;
_this3.showSp = false;
_this3.tabValue = 'flow';
}
_this3.$emit('init', _this3.hasApproveAuth);
});
},
// 判断当前节点是否为法制审核节点
justFzshCurNode: function justFzshCurNode() {
var _this4 = this;
this.postRequest({
url: 'bsp-bpm/bpm/nodeSetting/isFzsh',
params: {
actInstId: this.actInstId,
nodeId: this.currentNodeId
}
}).then(function (resp) {
if (resp.success) {
// 是否需要法制审核
_this4.curNodeSffzsh = resp.sffzsh;
}
});
},
// 判断所选择的节点是否需要法制审核
justFzshNextNode: function justFzshNextNode() {
var _this5 = this;
if (this.selectNode) {
this.postRequest({
url: 'bsp-bpm/bpm/nodeSetting/isFzsh',
params: {
actInstId: this.actInstId,
nodeId: this.selectNode
}
}).then(function (resp) {
if (resp.success) {
// 是否需要法制审核
_this5.selectNodeSffzsh = resp.sffzsh;
if (_this5.selectNodeSffzsh) {
// 审核结果修改
_this5.optionsBtnArr.forEach(function (item) {
if (item.code == 1) item.name = '流转法制';
});
} else {
_this5.optionsBtnArr.forEach(function (item) {
if (item.code == 1) item.name = _this5.curAgreeButtonName;
});
}
}
});
}
},
initBtn: function initBtn(data) {
var _this6 = this;
this.customBtnArr = [];
this.optionsBtnArr = [];
if (data && data.length < 1) return;
// 默认先初始化按钮
// this.formValidate.isApprove = data[0].code
// this.formValidate.isApproveStr = data[0].name
// this.formValidate.approvalContent = data[0].defaultOption
data.map(function (item) {
if (item.type == '1') {
_this6.customBtnArr.push(item);
} else {
_this6.optionsBtnArr.push(item);
}
});
this.isApproveChange(data[0].code);
this.optionsBtnArr.forEach(function (item) {
if (item.code == 1) _this6.curAgreeButtonName = item.name;
});
},
onSelectNode: function onSelectNode(nodeId) {
var _this7 = this;
this.nextNodeList.forEach(function (item) {
if (item.nodeId == nodeId) {
_this7.orgArr = item.orgUser;
}
});
// 清空单位值,清空复选框
/* this.orgUserList = []
this.selectOrgArr = [] */
// 默认选中第一项
if (this.orgArr && this.orgArr.length > 0) {
this.orgSelectEvent({
label: this.orgArr[0].orgName,
value: this.orgArr[0].orgId
});
this.selectOrgArr = [];
this.selectOrgArr.push(this.orgArr[0].orgId);
}
// 判断所选择的节点是否需要法制审核
// this.justFzshNextNode()
},
checkAllGroupChange: function checkAllGroupChange(data) {
var count = 0;
this.orgUserList.forEach(function (item) {
item.user.forEach(function (item) {
count++;
});
});
if (data.length === count) {
this.indeterminate = false;
this.checkAll = true;
} else if (data.length > 0) {
this.indeterminate = true;
this.checkAll = false;
} else {
this.indeterminate = false;
this.checkAll = false;
}
},
handleCheckAll: function handleCheckAll() {
var _this8 = this;
if (this.indeterminate) {
this.checkAll = false;
} else {
this.checkAll = !this.checkAll;
}
this.indeterminate = false;
if (this.checkAll) {
this.orgUserList.forEach(function (item) {
item.user.forEach(function (item) {
_this8.checkedUser.push(item.userIdCard + '_' + item.orgCode);
});
});
} else {
this.checkedUser = [];
}
},
getAduitApprovalUser: function getAduitApprovalUser() {
var _this9 = this;
var formProcessVar = '';
this.formId ? formProcessVar = JSON.stringify(this.ProcessVarObj) : '';
this.$store.dispatch('postRequest', {
url: 'bsp-bpm/bpm/approveProcess/getApproveUser',
params: {
actInstId: this.actInstId,
userId: this.assigneeUserId,
extraOrgId: this.extraOrgId,
extraRegId: this.extraRegId,
extraCityId: this.extraCityId,
formProcessVar: formProcessVar
}
}).then(function (resp) {
if (resp.success) {
var _data = resp.data;
var nodeData = _data && _data.length > 0 ? _data[0] : {};
// 如果下一节点是排它网关
if (nodeData && nodeData.nodeType && nodeData.nodeType == 'exclusiveGateway') {
_this9.nextNodeList = nodeData.orgUserList;
// 默认选中第一个节点
// this.selectNode = this.nextNodeList[0].nodeId
// this.orgArr = this.nextNodeList[0].orgUser
// 判断所选择的节点是否需要法制审核
// this.justFzshNextNode()
return;
}
// 当下一节点不是排它网关时
_this9.selectNode = nodeData.nodeId;
// 判断下一节点是否需要法制审核
// this.justFzshNextNode()
// 获取机构用户列表
var orgUserList = nodeData.orgUserList;
_this9.orgArr = orgUserList;
// 默认选中第一项
if (orgUserList && orgUserList.length > 0) {
var selectOrg = _this9.getSelectOrg(orgUserList, _this9.extraOrgId, _this9.extraRegId);
console.log(selectOrg, 'selectOrg');
_this9.orgSelectEvent({
label: selectOrg.orgName,
value: selectOrg.orgId
}, true);
_this9.selectOrgArr.push(selectOrg.orgId);
}
}
});
},
getSelectOrg: function getSelectOrg(orgUserList, extraOrgId, extraRegId) {
var extraOrgIdArr = extraOrgId ? extraOrgId.split(',') : [];
var extraRegionIdArr = extraRegId ? extraRegId.split(',') : [];
// 先根据机构id匹配
for (var i in extraOrgIdArr) {
var matchOrgIdVal = extraOrgIdArr[i];
for (var j in orgUserList) {
var item = orgUserList[j];
if (matchOrgIdVal === item['orgId']) {
return item;
}
}
}
// 根据机构id没有匹配到时再根据区域id匹配
for (var _i in extraRegionIdArr) {
var matchRegionId = extraRegionIdArr[_i];
for (var _j in orgUserList) {
var _item = orgUserList[_j];
if (matchRegionId === _item['regId']) {
return _item;
}
}
}
// 都没匹配到就默认第一个
return orgUserList[0];
},
orgSelectEvent: function orgSelectEvent(option, selectTag) {
var _this10 = this;
// 默认全选
this.indeterminate = false;
this.checkAll = true;
var index = this.orgArr.findIndex(function (item) {
return item.orgId == option.value;
});
this.orgUserList = [];
this.checkedUser = [];
this.orgUserList.push(this.orgArr[index]);
if (this.selectUsers && selectTag) {
var selectUsersArr = this.selectUsers.split(',');
this.orgArr[index].user.map(function (item) {
return selectUsersArr.forEach(function (ele) {
if (item.userIdCard == ele) {
_this10.checkedUser.push(item.userIdCard + '_' + item.orgCode);
}
});
});
// 如果默认人员不存在 设置全选
if (this.checkedUser && this.candidateUsers && this.candidateUsers.length == 0) {
this.orgArr[index].user.map(function (item) {
return _this10.checkedUser.push(item.userIdCard + '_' + item.orgCode);
});
}
if (this.checkedUser.length == this.orgArr[index].user.length) {
this.indeterminate = false;
this.checkAll = true;
} else {
this.indeterminate = true;
this.checkAll = false;
}
} else {
this.orgArr[index].user.map(function (item) {
return _this10.checkedUser.push(item.userIdCard + '_' + item.orgCode);
});
}
// // 判断当前项是选中还是取消选中
// let selectIndex = this.selectOrgArr.findIndex(
// (item) => option.value == item
// );
//
// // 获取当前选中的机构对应用户
// let index = this.orgArr.findIndex((item) => {
// return item.orgId == option.value;
// });
//
// if (selectIndex > -1) {
// // 取消选中
// this.orgArr[index].user.map((item) => {
// let userIndex = this.checkedUser.findIndex(
// (userIdCard) => userIdCard == item.userIdCard
// );
// if (userIndex > -1) this.checkedUser.splice(userIndex, 1);
// });
//
// // 获取当前选中的机构对应用户
// let orgUserIndex = this.orgUserList.findIndex((item) => {
// return item.orgId == option.value;
// });
//
// this.orgUserList.splice(orgUserIndex, 1);
// } else {
// // 选中
// this.orgUserList.push(this.orgArr[index]);
// this.orgArr[index].user.map((item) =>
// this.checkedUser.push(item.userIdCard)
// );
// }
},
handleSubmit: function handleSubmit(name) {
var _this11 = this;
if (this.formValidate.isApprove == 4) {
this.ruleValidate.delegateUserName[0].required = true;
} else if (this.formValidate.isApprove == 5) {
this.ruleValidate.approveCheckedUser[0].required = false;
this.ruleValidate.delegateUserName[0].required = false;
} else if (this.formValidate.isApprove == 1 && !this.isLastUserTask) {
if (this.checkedUser.length < 1) {
this.$Notice.error({
title: '错误提示',
desc: '请选择审批人'
});
return;
}
this.ruleValidate.delegateUserName[0].required = false;
} else {
this.ruleValidate.delegateUserName[0].required = false;
}
this.$refs[name].validate(function (valid) {
if (valid) {
if (!_this11.customizeValidate()) return;
_this11.custom_loading = true;
if (_this11.beforeAudit) {
_this11.beforeAudit({
'formData': _this11.formValidate,
'currTask': _this11.currTask
}).then(function (data) {
if (data) {
_this11.approval();
} else {
_this11.custom_loading = false;
}
}).catch(function (err) {
_this11.custom_loading = false;
_this11.$Notice.error({
title: '错误提示',
desc: err
});
});
} else {
_this11.approval();
}
} else {
_this11.$Notice.error({
title: '错误提示',
desc: '表单验证不通过'
});
}
});
},
approval: function approval() {
var _this12 = this;
this.custom_loading = true;
this.assembleData();
this.$store.dispatch('postRequest', {
url: 'bsp-bpm/bpm/approveProcess/approvalProcess',
params: {
processCmd: JSON.stringify(this.bootData)
}
}).then(function (resp) {
_this12.custom_loading = false;
if (resp.success) {
_this12.disabledSubmit = true;
if (_this12.auditComplete) {
_this12.auditComplete(resp);
} else {
// 隐藏审批按钮
_this12.hasApproveAuth = false;
_this12.$Modal.success({
title: '温馨提示',
content: '审批成功'
});
}
_this12.$emit('audit-close');
} else {
if (_this12.error) {
_this12.error(resp);
} else {
_this12.$Modal.error({
title: '温馨提示',
content: '审批失败,请重试'
});
}
}
});
},
// 组装请求参数
assembleData: function assembleData() {
this.bootData = {
actInstId: this.actInstId,
assigneeUserId: this.assigneeUserId,
assigneeUserName: this.assigneeUserName,
assigneeOrgId: this.assigneeOrgId,
assigneeOrgName: this.assigneeOrgName,
businessId: this.businessId,
fApp: this.module,
fXxpt: this.platform,
isTerminateTask: this.isTerminateTask,
variables: this.variables,
msgUrl: this.msgUrl,
msgTit: this.msgTit
};
this.formValidate.candidateUsers = this.convertCandidateUsers();
Object.assign(this.bootData, this.formValidate, {
csldbh: this.convertCsldbh()
}, {
delegateUser: this.convertDelegate()
});
this.bootData.variables.nextNodeId = this.selectNode;
},
convertDelegate: function convertDelegate() {
return {
idCard: this.delegateUser.idCard,
orgCode: this.delegateUser.orgCode
};
},
convertCsldbh: function convertCsldbh() {
return this.csldList.map(function (item) {
return {
idCard: item.idCard,
orgCode: item.orgCode
};
});
},
convertCandidateUsers: function convertCandidateUsers() {
return this.checkedUser.map(function (item) {
var array = item.split('_');
return {
idCard: array[0],
orgCode: array[1]
};
});
},
// 自定义验证
customizeValidate: function customizeValidate() {
var validate = true;
// 退查或不同意时不做验证
if (!this.showApproveUser) {
return validate;
}
if (!this.selectNode) {
this.$Modal.warning({
title: '错误提示',
content: '审核节点不能为空'
});
validate = false;
} else if (this.selectOrgArr.length <= 0) {
this.$Modal.warning({
title: '错误提示',
desc: '审核部门不能为空'
});
validate = false;
} else if (this.checkedUser.length <= 0) {
this.$Notice.error({
title: '错误提示',
desc: '审核人不能为空'
});
validate = false;
}
return validate;
},
dateFormat: function dateFormat(date) {
// var date = new Date(time)
var year = date.getFullYear();
/* 在日期格式中,月份是从0开始的,因此要加0使用三元表达式在小于10的前面加0,以达到格式统一 如 09:11:05 */
var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1;
var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();
var seconds = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
// 拼接
return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds;
},
// 重置表单
handleReset: function handleReset(name) {
this.$refs[name].resetFields();
// 重新生成时间
this.formValidate.approvalDate = this.dateFormat(new Date());
// 清空机构选择
this.selectOrgArr = [];
// 清空人员选择
this.checkedUser = [];
// 清空人员机构选择
this.orgUserList = [];
this.defaultEvent();
this.showApproveUser = true;
this.formValidate.isDelegateTask = false;
},
// 审批意见改变事件时
isApproveChange: function isApproveChange(value) {
this.formValidate.isApprove = value;
this.$emit('changeApproveVal', value);
var curBtnArr = this.optionsBtnArr.filter(function (item) {
return item.code == value;
});
this.formValidate.isApproveStr = curBtnArr[0].name;
this.formValidate.approvalContent = curBtnArr[0].defaultOption;
switch (value) {
case '1':
this.formValidate.isBack = false;
this.formValidate.isDelegateTask = false;
this.formValidate.isTerminateTask = false;
if (this.delegationState == 'PENDING' || this.isLastUserTask) {
this.showApproveUser = false;
} else {
this.showApproveUser = true;
}
this.defaultEvent();
break;
case '2':
this.formValidate.isBack = false;
this.formValidate.isDelegateTask = false;
this.formValidate.isTerminateTask = false;
this.showApproveUser = false;
this.defaultEvent();
break;
case '3':
this.formValidate.isBack = true;
this.formValidate.isDelegateTask = false;
this.formValidate.isTerminateTask = false;
this.showApproveUser = false;
this.defaultEvent();
break;
case '4':
this.formValidate.isBack = false;
this.formValidate.isDelegateTask = true;
this.formValidate.isTerminateTask = false;
this.showApproveUser = false;
this.delegateEvent();
break;
case '5':
// 同意并结束流程
this.formValidate.isBack = false;
this.formValidate.isDelegateTask = false;
this.formValidate.isTerminateTask = true;
if (this.delegationState == 'PENDING' || this.isLastUserTask) {
this.showApproveUser = false;
} else {
this.showApproveUser = false;
}
this.defaultEvent();
break;
case '6':
// 不同意并结束流程
this.formValidate.isBack = false;
this.formValidate.isDelegateTask = false;
this.formValidate.isTerminateTask = true;
this.showApproveUser = false;
this.defaultEvent();
break;
}
},
getButtonByInstIdAndNodeId: function getButtonByInstIdAndNodeId(actInstId, nodeId) {
var _this13 = this;
this.$store.dispatch('postRequest', {
url: 'bsp-bpm/bpm/nodeButton/getNodeButtonByParams',
params: {
actInstId: actInstId,
nodeId: nodeId
}
}).then(function (resp) {
if (resp.success) {
if (resp.data) {
resp.data.map(function (item) {
_this13.curNodeBtnMarkArr.push(item.mark);
});
}
}
});
},
// 委派事件
delegateEvent: function delegateEvent() {
this.formLabel.approvalContent = '指派意见';
this.formLabel.approvalDate = '指派时间';
},
defaultEvent: function defaultEvent() {
this.formLabel.approvalContent = '审批意见';
this.formLabel.approvalDate = '审批时间';
},
openUserSelect: function openUserSelect() {
this.showSelectModal = true;
this.component = 'userSelect';
},
selectCallBack: function selectCallBack(data) {
this.formValidate.delegateUserId = data[0].idCard;
this.formValidate.delegateUserName = data[0].name;
},
cancelCallBack: function cancelCallBack() {
this.showSelectModal = false;
this.component = null;
},
selectDelegate: function selectDelegate(data) {
this.delegateUser = data[0];
},
clearDelegate: function clearDelegate() {
this.delegateUser = {};
},
// 删除抄送人
csld_close: function csld_close(idx) {
this.csldList.splice(idx, 1);
},
// 选择抄送人回调
policeConfirm: function policeConfirm(policeList) {
var _this14 = this;
this.csldList = policeList;
this.formValidate.csldbh = '';
policeList.map(function (item, index) {
if (index != 0) {
_this14.formValidate.csldbh += ',';
}
_this14.formValidate.csldbh += item.idCard;
});
},
// 对话框取消事件
cancel: function cancel() {
this.$emit('cancel');
},
// 打开审核审批
openAudit: function openAudit() {
var _this15 = this;
if (this.beforeOpen) {
this.beforeOpen().then(function (data) {
if (data) {
_this15.initData();
_this15.isOpen = true;
}
});
} else {
this.initData();
this.isOpen = true;
}
},
warnSwal: function warnSwal(msg, callback) {
this.$Modal.warning({
title: '温馨提示',
content: msg
});
}
},
watch: {
hasApproveAuth: function hasApproveAuth(val) {
this.$emit('hasApproveAuth', val);
}
}
});
/***/ }),
/* 11 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_gs_user_selector__ = __webpack_require__(12);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_gs_user_selector___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_gs_user_selector__);
/* harmony default export */ __webpack_exports__["a"] = ({
props: {
// 流程实例ID
actInstId: {
type: String
},
showBack: {
type: Boolean,
default: false
},
operType: {
type: String,
default: '0' //新增 0 编辑 1
},
formId: {
type: String,
default: '' //1858415537667837952
},
defaultUsers: {
type: Array,
default: function _default() {
return [];
}
},
// 中间节点审批不同意,直接终止流程
isTerminateTask: {
type: Boolean,
default: false
},
// 审批用户ID(身份证号)
assigneeUserId: String,
// 审批用户姓名
assigneeUserName: String,
// 审批用户机构代码
assigneeOrgId: String,
// 审批用户机构名称
assigneeOrgName: String,
// 消息标题
msgTit: {
type: String,
default: ''
},
// 消息地址
msgUrl: {
type: String,
default: ''
},
businessId: {
type: String,
default: ''
},
// 来源应用
module: {
type: String,
default: ''
},
variables: {
type: Object,
default: function _default() {
return {};
}
},
// 来源消息平台
platform: {
type: String,
default: 'pc'
},
// 流程审核完成后事件
auditComplete: {
type: Function,
default: null
},
error: {
type: Function,
default: null
},
// 流程审核前事件
beforeAudit: {
type: Function,
default: null
},
customSlotName: {
type: String,
default: ''
},
tit: {
type: String,
default: '审批'
},
beforeOpen: { //打开审批组件前置事件
type: Function,
default: null
},
// 自定义卡槽内容是否绑定点击事件
bindEvent: {
type: Boolean,
default: true
},
showCustomSlot: {
type: Boolean,
default: false
},
/* showFileUpload: {
type: Boolean,
default: false
}, */
showcc: {
type: Boolean,
default: false
},
confirmBtnText: {
type: String,
default: "提 交"
},
cancelBtnText: {
type: String,
default: "取 消"
},
modalWidth: {
type: String,
default: "800"
},
modalHeight: {
type: String,
default: "500"
},
extraOrgId: {
type: String,
default: ''
},
extraRegId: {
type: String,
default: ''
},
selectUsers: {
type: String,
default: ''
},
extraCityId: {
type: String,
default: ''
}
},
components: {
userSelector: __WEBPACK_IMPORTED_MODULE_0_gs_user_selector__["userSelector"]
},
data: function data() {
return {
formArr: [],
formDataVarObj: {},
ProcessVarObj: {},
indeterminate: false,
checkAll: true,
bootData: {},
custom_loading: false,
hasApproveAuth: false,
activeTab: "track",
currentNodeName: "",
currentNodeId: "",
isLastUserTask: false,
showApproveUser: true,
showTc: true,
formValidate: {
taskId: "",
isApprove: "1",
isApproveStr: "同意上报",
approvalContent: "同意上报",
approvalDate: this.dateFormat(new Date()),
csldbh: "",
candidateUsers: [],
isBack: false,
isDelegateTask: false,
delegateUserId: "",
delegateUserName: ""
},
currTask: {},
component: null,
showSelectModal: false,
formLabel: {
approvalContent: "审核意见",
approvalDate: "审核时间",
approvalNode: "审核节点",
approvalOrg: "审核部门",
approvalUser: "审核人"
},
ruleValidate: {
isApprove: [{
required: true,
message: "审核结果不能为空",
trigger: "blur,change"
}],
approvalContent: [{
required: true,
message: "审核意见不能为空",
trigger: "blur,change"
}],
approvalDate: [{
required: true,
message: "审核时间不能为空",
trigger: "blur,change",
pattern: /.+/
}],
delegateUserName: [{
required: true,
message: "委派人不能为空",
trigger: "blur,change"
}],
approveCheckedUser: [{
required: true,
message: "审批人不能为空",
trigger: "blur,change"
}],
backNodeId: [{
required: true,
message: "退回节点不能为空",
trigger: "blur,change"
}]
},
orgArr: [],
selectOrgArr: [],
orgUserList: [],
checkedUser: [],
trackArr: [],
curNodeBtnMarkArr: [],
delegationState: "",
delegationName: "",
disabledSubmit: false,
// 审批意见型按钮数组
optionsBtnArr: [],
// 自定义类型按钮
customBtnArr: [],
isApprove: '1',
rollbackNodeList: [],
csldList: [], // 抄送领导
isOpen: false,
uploadList: [],
reference: null,
selectNode: '',
nextNodeList: [],
//所选择的节点是否需要法制审核
selectNodeSffzsh: false,
//当前节点是否是法制审核节点
curNodeSffzsh: false,
//当前同意按钮名称
curAgreeButtonName: '',
//委派人员
delegateUser: {}
};
}
});
/***/ }),
/* 12 */
/***/ (function(module, exports, __webpack_require__) {
(function webpackUniversalModuleDefinition(root, factory) {
if(true)
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("gs-user-selector", [], factory);
else if(typeof exports === 'object')
exports["gs-user-selector"] = factory();
else
root["gs-user-selector"] = factory();
})(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/dist/";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ __webpack_exports__["a"] = ({
name: 'user-selector',
props: {
// 选择框的值
value: {
type: String,
default: ''
},
text: {
type: String,
default: ''
},
tit: {
type: String,
default: '民警选择'
},
// 页面上放置返回内容的id(id或loginId或idCard)
idField: String,
// 返回字段,结合idField使用(id或loginId或idCard)
// 例如返回身份证展示在页面上:<input :id="test" value="" />,则idField为test,returnField为idCard
returnField: {
type: String,
default: 'idCard'
},
button: {
type: String,
default: '选 择'
},
// 数量表达式(对选择人数的限制,例如num>2,num3)
numExp: {
type: String,
default: ''
},
orgCode: {
type: String,
default: ''
},
bindEvent: {
type: Boolean,
default: true
},
// 不满足数量表达式时的提示信息
msg: String,
disabled: {
type: Boolean,
default: false
},
// 当传入显示文本为空时,默认是否查询显示文本内容
defaultSearchText: {
type: Boolean,
default: false
},
orgChange: {
type: Boolean,
default: true
},
// 是否默认全选单位
defaultSelectAll: {
type: Boolean,
default: false
},
// 岗位
post: {
type: String,
default: ''
},
// 是否可选择岗位
selectPost: {
type: Boolean,
default: false
},
// 岗位多选
multiPost: {
type: Boolean,
default: true
}
},
data: function data() {
return {
title: '用户选择',
modal: false,
showmModal: false,
// 单位编号(修改后id保存的其实就是code的值,后台只需维护一个字段,前端this.$store.state.common.orgCode依然保存的是单位编号)
orgId: '',
// 查询条件(姓名、登录名、身份证号等)
condition: '',
// 是否包含其他单位
hasOthers: false,
// 左侧已选民警身份证号数组
selectedIdCardArr: [],
// 右侧已选列表
selectedList: [],
// 左侧可选民警列表
policeList: [],
// 民警缓存,用于本地筛选
policeCache: [],
reference: null,
timer: null,
isSensitiveDataEncrypt: serverConfig.isSensitiveDataEncrypt,
sensitiveDataEncryptMethod: serverConfig.sensitiveDataEncryptMethod,
sensitiveDataProp: serverConfig.sensitiveDataProp,
checkAll: false,
postCode: this.post
};
},
watch: {
value: function value(_value) {
// 获取左侧民警数据
this.getPoliceData();
// 初始化已选择民警
this.getPoliceByFieldData(_value);
},
selectedList: {
handler: function handler(newvalue, oldvalue) {
if (newvalue.length == 0) {
this.checkAll = false;
} else if (newvalue.length > 0 && newvalue.length == this.policeList.length) {
this.checkAll = true;
} else {
this.checkAll = false;
}
},
deep: true,
immediate: true
}
},
mounted: function mounted() {
if (this.bindEvent && this.$slots.func) {
this.reference = this.$slots.func[0].elm;
this.reference.addEventListener('click', this.openDialog);
}
},
beforeDestroy: function beforeDestroy() {
if (this.reference) {
this.reference.removeEventListener('click', this.changeVisiable, false);
}
},
methods: {
orgAll: function orgAll(val) {
this.searchData();
},
openDialog: function openDialog() {
if (this.defaultSelectAll) this.hasOthers = true;
this.orgId = this.orgCode ? this.orgCode : this.$store.state.common.orgCode;
// 获取左侧民警数据
this.getPoliceData();
// 初始化已选择民警
this.getPoliceByFieldData(this.value);
this.showmModal = true;
this.modal = true;
},
clearData: function clearData() {
this.$emit('input', '');
this.$emit('update:text', '');
this.$emit('onClear');
},
// 民警数据解密
decrypt: function decrypt(userList) {
var userListUncode = userList;
// 加密的属性
var propList = this.sensitiveDataProp.split(',');
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
try {
for (var _iterator = userListUncode[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var user = _step.value;
var _iteratorNormalCompletion2 = true;
var _didIteratorError2 = false;
var _iteratorError2 = undefined;
try {
for (var _iterator2 = propList[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
var prop = _step2.value;
if (prop in user) {
// 加密方式判断
if (this.sensitiveDataEncryptMethod == "base64") {
user[prop] = decodeURIComponent(atob(user[prop]));
}
}
}
} catch (err) {
_didIteratorError2 = true;
_iteratorError2 = err;
} finally {
try {
if (!_iteratorNormalCompletion2 && _iterator2.return) {
_iterator2.return();
}
} finally {
if (_didIteratorError2) {
throw _iteratorError2;
}
}
}
}
} catch (err) {
_didIteratorError = true;
_iteratorError = err;
} finally {
try {
if (!_iteratorNormalCompletion && _iterator.return) {
_iterator.return();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
}
return userListUncode;
},
// 获取民警数据
getPoliceData: function getPoliceData() {
var _this2 = this;
var orgId = this.orgId;
// 查询全部
if (this.hasOthers) {
orgId = '';
}
this.policeList = [];
// 查询服务获取民警列表
this.$store.dispatch('postRequest', {
url: '/bsp-uac/uac/user/getOptionalPolice', params: { orgId: orgId, condition: this.condition, post: this.postCode }
}).then(function (d) {
if (d.success) {
if (_this2.isSensitiveDataEncrypt) {
d.data = _this2.decrypt(d.data);
}
d.data.forEach(function (item) {
item.keyId = '' + item.idCard + item.orgId;
});
_this2.policeList = d.data;
_this2.policeCache = d.data;
_this2.selectedIdCardArr = [];
if (_this2.selectedList.length > 0) {
var _iteratorNormalCompletion3 = true;
var _didIteratorError3 = false;
var _iteratorError3 = undefined;
try {
for (var _iterator3 = _this2.selectedList[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
var i = _step3.value;
if (_this2.isSensitiveDataEncrypt) {
_this2.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
} else {
var obj = '' + i.idCard + i.orgId;
_this2.selectedIdCardArr.push(obj);
}
}
// console.log(this.selectedIdCardArr,'this.selectedIdCardArr')
} catch (err) {
_didIteratorError3 = true;
_iteratorError3 = err;
} finally {
try {
if (!_iteratorNormalCompletion3 && _iterator3.return) {
_iterator3.return();
}
} finally {
if (_didIteratorError3) {
throw _iteratorError3;
}
}
}
}
} else {
console.log(d.msg);
}
});
},
// 根据字段初始值获取民警信息
getPoliceByFieldData: function getPoliceByFieldData(data) {
var _this3 = this;
var _this = this;
if (data == '') {
this.selectedIdCardArr = [];
this.selectedList = [];
return false;
}
this.$store.dispatch('postRequest', { url: '/bsp-uac/uac/user/getByFieldData', params: { field: this.returnField, value: data } }).then(function (d) {
if (d.success) {
// 渲染右侧列表
d.data.forEach(function (item, index) {
item.keyId = '' + item.idCard + _this3.orgCode;
});
_this.selectedList = d.data;
_this3.selectedIdCardArr = [];
if (_this3.policeList.length > 0) {
var _iteratorNormalCompletion4 = true;
var _didIteratorError4 = false;
var _iteratorError4 = undefined;
try {
for (var _iterator4 = _this3.selectedList[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
var i = _step4.value;
if (_this3.isSensitiveDataEncrypt) {
_this3.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
} else {
var obj = '' + i.idCard + i.orgId;
_this3.selectedIdCardArr.push(obj);
}
}
} catch (err) {
_didIteratorError4 = true;
_iteratorError4 = err;
} finally {
try {
if (!_iteratorNormalCompletion4 && _iterator4.return) {
_iterator4.return();
}
} finally {
if (_didIteratorError4) {
throw _iteratorError4;
}
}
}
}
// 渲染左侧选中状态
setTimeout(function () {}, 1000);
// 渲染左侧选中状态
// if (_this.selectedList != undefined && _this.selectedList != null) {
// this.selectedIdCardArr = []
// _this.selectedList.forEach((item, index) => {
// this.selectedIdCardArr.push(item.keyId)
// /* let idx = this.selectedIdCardArr.indexOf(item.idCard)
// if(idx === -1){
// this.selectedIdCardArr.push(item.idCard)
// } */
// if (!this.text && this.defaultSearchText) {
// let names = []
// let ids = []
// this.selectedList.forEach(item => {
// names.push(item.name)
// ids.push(item[this.returnField])
// })
// let textValue = names.join(',')
// this.$emit('update:text', textValue)
// }
// })
// }
} else {
_this3.$Modal.warning({
title: '温馨提示',
content: d.msg
});
}
});
},
// keyUp监听
onKeyUp: function onKeyUp() {
var _this = this;
var oldValue = _this.condition;
if (_this.timer) {
clearInterval(_this.timer);
}
_this.timer = setInterval(function () {
if (oldValue === _this.condition) {
_this.searchData();
clearInterval(_this.timer);
}
}, 500);
},
// 改变单位
changeOrg: function changeOrg() {
this.condition = '';
this.getPoliceData();
},
// 改变岗位
changePost: function changePost() {
this.condition = '';
this.getPoliceData();
},
// 搜索
searchData: function searchData() {
if (this.hasOthers) {
// 从服务器查询
this.getPoliceData();
} else {
// 从缓存中查询
this.policeList = [];
for (var i = 0; i < this.policeCache.length; i++) {
var condition = this.condition;
if (condition != '') {
if (this.policeCache[i].name.indexOf(condition) != -1 || this.policeCache[i].loginId.indexOf(condition) != -1 || this.policeCache[i].idCard.toUpperCase().indexOf(condition.toUpperCase()) != -1) {
this.policeList.push(this.policeCache[i]);
// break;
}
} else {
this.getPoliceData();
break;
}
}
}
},
// 左侧民警选择事件
selectPolice: function selectPolice(index, item) {
var idx = this.selectedIdCardArr.indexOf(item.keyId);
if (idx != -1) {
this.selectedIdCardArr.splice(idx, 1);
this.selectedList = this.selectedList.filter(function (obj) {
return obj.keyId !== item.keyId;
});
if (this.selectedList.length == 0) {
return false;
}
} else {
if (this.numExp === 'num==1') {
this.selectedIdCardArr = [];
this.selectedList = [];
}
this.selectedIdCardArr.push(item.keyId);
if (this.isSensitiveDataEncrypt) {
item.idCard = window.btoa(unescape(encodeURIComponent(item.idCard)));
}
// 添加到右侧已选列表
this.selectedList.push(item);
}
},
// 右侧删除事件
cancelSelected: function cancelSelected(item, index) {
// this.$set(item,'idCardOrgid',item.idCard+item.orgId)
var idx = this.selectedIdCardArr.indexOf(item.keyId);
if (idx != -1) {
this.selectedIdCardArr.splice(idx, 1);
this.selectedList.splice(index, 1);
} else {
var ids = this.selectedList.findIndex(function (ele) {
return item.keyId === ele.keyId;
});
this.selectedList.splice(ids, 1);
}
this.checkAll = false;
},
// 对话框确定事件
ok: function ok() {
var _this4 = this;
// 是否选择人员
// if (this.selectedList.length == 0) {
// this.$Modal.warning({
// title: '温馨提示',
// content: this.msg
// });
// return false
// }
// 人数条件判断
var num = this.selectedList.length;
if (this.selectedList.length == 0 || this.numExp && !eval(this.numExp)) {
this.$Modal.warning({
title: '温馨提示',
content: this.msg
});
return false;
}
var names = [];
var ids = [];
this.selectedList.forEach(function (item) {
names.push(item.name);
ids.push(item[_this4.returnField]);
});
this.$emit('input', ids.join(','));
var textValue = names.join(',');
this.$emit('update:text', textValue);
this.$emit('onSelect', this.selectedList);
this.cancel();
},
// 对话框取消事件
cancel: function cancel(bool) {
this.modal = false;
this.selectedIdCardArr = [];
this.selectedList = [];
if (bool) this.$emit('onCancel');
},
focus: function focus() {
this.$refs['input'].focus();
},
// 左侧民警选择事件(全选/反选)
selectPoliceAll: function selectPoliceAll(index, item, checkAll) {
var idx = this.selectedIdCardArr.indexOf(item.keyId);
if (idx != -1) {
if (!checkAll) {
this.selectedIdCardArr.splice(idx, 1);
this.selectedList = this.selectedList.filter(function (obj) {
return obj.keyId !== item.keyId;
});
if (this.selectedList.length == 0) {
return false;
}
}
} else {
if (this.numExp === 'num==1') {
this.selectedIdCardArr = [];
this.selectedList = [];
}
this.selectedIdCardArr.push(item.keyId);
if (this.isSensitiveDataEncrypt) {
item.idCard = window.btoa(unescape(encodeURIComponent(item.idCard)));
}
// 添加到右侧已选列表
this.selectedList.push(item);
}
},
handleAllChecked: function handleAllChecked() {
var _this5 = this;
this.checkAll = !this.checkAll;
this.policeList.forEach(function (item, index) {
_this5.selectPoliceAll(index, item, _this5.checkAll);
});
}
}
});
/***/ }),
/* 1 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__user_selector__ = __webpack_require__(2);
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "userSelector", function() { return __WEBPACK_IMPORTED_MODULE_0__user_selector__["a"]; });
var Plugin = {
install: function install(Vue) {
Vue.component('user-selector', __WEBPACK_IMPORTED_MODULE_0__user_selector__["a" /* default */]);
}
};
/* harmony default export */ __webpack_exports__["default"] = (Plugin);
/***/ }),
/* 2 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__ = __webpack_require__(0);
/* unused harmony namespace reexport */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c8dbda5c_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__ = __webpack_require__(9);
function injectStyle (ssrContext) {
__webpack_require__(3)
}
var normalizeComponent = __webpack_require__(8)
/* script */
/* template */
/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = "data-v-c8dbda5c"
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__["a" /* default */],
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c8dbda5c_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_user_selector_vue__["a" /* default */],
__vue_template_functional__,
__vue_styles__,
__vue_scopeId__,
__vue_module_identifier__
)
/* harmony default export */ __webpack_exports__["a"] = (Component.exports);
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
var content = __webpack_require__(4);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var update = __webpack_require__(6)("0ae7f6df", content, true);
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(5)(false);
// imports
// module
exports.push([module.i, "[data-v-c8dbda5c].ivu-input:hover{border:1px solid #cee0f0}[data-v-c8dbda5c].ivu-input:focus{border:1px solid #2b5fd9;box-shadow:none}[data-v-c8dbda5c].user-selector-modal .ivu-modal-header{padding:0!important}[data-v-c8dbda5c].user-selector-modal .ivu-modal-body{height:550px;padding:16px!important}[data-v-c8dbda5c].user-selector-modal .ivu-modal-footer{height:50px;line-height:50px;background:#f7faff;padding:0 18px}[data-v-c8dbda5c].user-selector-modal .ivu-modal-footer .ivu-btn>span{font-size:16px}[data-v-c8dbda5c].user-selector-modal .ivu-input{font-size:16px;height:32px;line-height:1.5}[data-v-c8dbda5c].user-selector-modal .ivu-checkbox-wrapper.ivu-checkbox-large{font-size:16px}[data-v-c8dbda5c].user-selector-input .ivu-input-icon{right:66px;font-size:20px}[data-v-c8dbda5c].user-selector-input .ivu-input{font-size:16px}[data-v-c8dbda5c].user-selector-modal .ivu-icon-ios-close{font-size:32px;line-height:40px}[data-v-c8dbda5c].user-selector-input .ivu-input-search{font-size:15px;padding:0!important;width:70px;max-width:70px}.user-selector-modal .bsp-warp[data-v-c8dbda5c]{width:100%;height:100%;color:#333}.user-selector-modal .bsp-user-search-box[data-v-c8dbda5c]{display:flex;box-sizing:border-box;padding-left:5px}.user-selector-modal .bsp-user-search-box>input[data-v-c8dbda5c]{margin-left:0;font-size:16px;width:38%;height:30px;border:1px solid #e1e1e1;padding-left:10px;border-radius:2px}div.v-selectpage div.sp-input-container div.sp-input[data-v-c8dbda5c]{font-size:16px}.user-selector-modal .bsp-user-search-box>label[data-v-c8dbda5c]{font-size:16px;line-height:30px;margin:0 10px}[data-v-c8dbda5c].user-selector-modal .ivu-input{height:30px;line-height:30px}.user-selector-modal .bsp-user-Chebox[data-v-c8dbda5c]{line-height:30px;padding:0 0 0 16px}.user-selector-modal .bsp-user-center-in[data-v-c8dbda5c]{margin:10px 0 0}.user-selector-modal .bsp-user-lt_center[data-v-c8dbda5c]{width:100%;border-radius:2px}.user-selector-modal .bsp-user-lt_center>ul[data-v-c8dbda5c]{list-style:none;height:433px;overflow:auto;border:1px solid #cee0f0;border-top:none}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c],.user-selector-modal .bsp-user-lt_center_center .cli[data-v-c8dbda5c]{display:flex;justify-content:space-between;align-items:center;height:36px;line-height:36px;box-sizing:border-box;background-size:16px;cursor:pointer;position:relative}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c]{padding:22px 40px 22px 10px}.user-selector-modal .bsp-user-lt_center_center .cli[data-v-c8dbda5c]{padding:22px 10px}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c]{background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAA4ElEQVQ4je3VsWrCYBTF8f/3WRJBTWJCXVpwEl2z1d36TNIHCH2m1r1O7qVLBzsaxUYIEZNyIwURh37NmvMAP85dzlXLzy3AAHgGJoCDWXbAHJiFffdDwCGwuOs2vaBt0dDKSDvmBesk42uTSrOHGyC695vebcc2LHaKFOg5NkrhreI00nKm37L+hZ1HrgOmAjqmZ16LVqXR1pWli9RgDdbgX8GdTFDV5EVpJALO4/2hMrhOSuNFBnYEvMkmBi0Lbbg8uQzsPmMVlwM7/n0BstoR8Ah0DMt9A6/AU9h3338A7TA+NnRfwIoAAAAASUVORK5CYII=\") no-repeat 96%;background-size:18px}.user-selector-modal .bsp-user-lt_center .cli.active[data-v-c8dbda5c]{background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeklEQVQ4ja3U3ytDcRjH8fc5+RXapoxFSrKIe60lSpILUpPQLswF90palJEa7l240FZSygUlN0YUpUm51OQfIIn9yOWmZ2abOrNs53P5/Z7n1fN8zzlfpXPqEcAKbAD9gIH/JQKcA27gqQRoA4KA6Z/QT6QBB9AH2FTAWwSWHTG8ampMvTKgFnBmf6Va1RFLpiDQNVjD7XYrC5Pm4sGpwRrmJ8xUVag4eoz5wfJShZaGMk3M2W9ifjzT1d7Ze37Q527i2NvM+qwFNWt3tNeI21mHoqSwwDtbh29/g/KwtfG7u2G7gdVpS3JtpNuAx1Wfxg4uw2zuv2pOIb9eInthyG7AO2NBTRUHHz7paq9Md3t0HWbZ90IiocVpjHxyE2HFnymwdWQw2fP4c2OaoOTwKsza7u/C07soizvPxOO5MUlJrg05J0VRmBur5eI+luwsH4bWGRYbNXWf6ZWYgHI56pWAgEvAhw6iGEsChuTrkJcLRAuApEZqbUDoC8xYY482/HjCAAAAAElFTkSuQmCC\") no-repeat 96%;background-size:18px}.user-selector-modal .bsp-user-lt_center_center .cli .btn-icon[data-v-c8dbda5c]{display:inline-block;width:25px;height:25px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAABiklEQVQ4jY2UP08CQRTEfxwgoUAKCxrBwgYsSTRqA1FptUGpNbHw01jaaWUswMLaBDUmRv0CUBgbaCwsUCPyx2DeZU/21r3IJJvszXsz2Z3d29Dh2QMWlIBtYB1IA32gBdwCVeDSlESM7yxwBBQNPqpqMvaBa+AAaHoNjtZcAB4tJjYUVW/BNMoBF0BiAhMPCaXJekYh4BhI6l1TkfAfpYUTzYl4OCrQZb1ayGeolBaIx8YRyly4Yn7ONBPthhhVdDYWDZNJJZlJximv5VwDGTIXLp2adnsM7MjxPwHzOq8LXztdl/Pm51dNPr8GptGzo+6JD93ekFq94QrF4B8TwaxjY4MwGo0Ca2LUNklza97KvMwsaIvRnRm2biJb1LcpNUvYdTE61Zne4JvWy9uvieSlZyY16TFQlVMLqVX57pJcvv7QL7BxgPz1K7IiSXAPeNOrFoGN6wC74uGdWgPYBN5tSQbgA9hSWt/ffwMsAfcTmEjPotK4MM9S3pdV9bCVAx62mnrYxpcK+AFqcJJFhDD72QAAAABJRU5ErkJggg==\") no-repeat 96%;background-size:20px}.user-selector-modal .bsp-user-lt_center .cli[data-v-c8dbda5c]:hover{background-color:#f0f5ff}.user-selector-modal .bsp-user-lt_center_center[data-v-c8dbda5c]{width:100%;background:#fafbff}.user-selector-modal .bsp-user-lt_center_center .bsp-user-lt_center_ul[data-v-c8dbda5c]{list-style:none;height:433px;overflow:auto;border:1px solid #cee0f0;border-top:none}.user-selector-modal .bsp-user-loginId[data-v-c8dbda5c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 10px;width:70px;font-size:16px}.user-selector-modal .bsp-user-name[data-v-c8dbda5c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:80px;font-size:16px}.user-selector-modal .bsp-user-orgId[data-v-c8dbda5c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:200px;font-size:16px}.user-selector-modal .bsp-user-btn[data-v-c8dbda5c]{text-align:right}.user-selector-modal .bsp-user-btn button[data-v-c8dbda5c]{padding:4px 30px;margin:0 5px;outline:none;border:none;background:#0ea7e0;color:#fff;cursor:pointer;border-radius:2px}.user-selector-modal .btn button.no[data-v-c8dbda5c]{background:none;border:1px solid #ddd;color:#666}.user-selector-modal .btn button[data-v-c8dbda5c]:hover{opacity:.9}.user-selector-modal .flow-modal-title[data-v-c8dbda5c]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}.cancle_btn[data-v-c8dbda5c]{min-width:60px;height:30px;background:#fff;border:1px solid #2b5fd9;color:#2b5fd9;border-radius:2px}.sure_btn[data-v-c8dbda5c]{min-width:60px;height:30px;background:#2b5fd9;border-radius:2px}.bsp-user-lt_center_ul[data-v-c8dbda5c]::-webkit-scrollbar,.bsp-user-lt_ul[data-v-c8dbda5c]::-webkit-scrollbar{width:10px;height:10px}.bsp-user-lt_center_ul[data-v-c8dbda5c]::-webkit-scrollbar-thumb,.bsp-user-lt_ul[data-v-c8dbda5c]::-webkit-scrollbar-thumb{border-radius:3px;background:#b7c7dd}.bsp-user-lt_center_ul[data-v-c8dbda5c]::-webkit-scrollbar-track,.bsp-user-lt_ul[data-v-c8dbda5c]::-webkit-scrollbar-track{border-radius:3px;background:#ededed}table[data-v-c8dbda5c]{border-collapse:collapse;border-spacing:0}td[data-v-c8dbda5c]{border:1px solid #cee0f0}.postName[data-v-c8dbda5c]{width:100px}.textOverflow[data-v-c8dbda5c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}", ""]);
// exports
/***/ }),
/* 5 */
/***/ (function(module, exports) {
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
// css base code, injected by the css-loader
module.exports = function(useSourceMap) {
var list = [];
// return the list of modules as css string
list.toString = function toString() {
return this.map(function (item) {
var content = cssWithMappingToString(item, useSourceMap);
if(item[2]) {
return "@media " + item[2] + "{" + content + "}";
} else {
return content;
}
}).join("");
};
// import a list of modules into the list
list.i = function(modules, mediaQuery) {
if(typeof modules === "string")
modules = [[null, modules, ""]];
var alreadyImportedModules = {};
for(var i = 0; i < this.length; i++) {
var id = this[i][0];
if(typeof id === "number")
alreadyImportedModules[id] = true;
}
for(i = 0; i < modules.length; i++) {
var item = modules[i];
// skip already imported module
// this implementation is not 100% perfect for weird media query combinations
// when a module is imported multiple times with different media queries.
// I hope this will never occur (Hey this way we have smaller bundles)
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
if(mediaQuery && !item[2]) {
item[2] = mediaQuery;
} else if(mediaQuery) {
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
}
list.push(item);
}
}
};
return list;
};
function cssWithMappingToString(item, useSourceMap) {
var content = item[1] || '';
var cssMapping = item[3];
if (!cssMapping) {
return content;
}
if (useSourceMap && typeof btoa === 'function') {
var sourceMapping = toComment(cssMapping);
var sourceURLs = cssMapping.sources.map(function (source) {
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
});
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
}
return [content].join('\n');
}
// Adapted from convert-source-map (MIT)
function toComment(sourceMap) {
// eslint-disable-next-line no-undef
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
return '/*# ' + data + ' */';
}
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
Modified by Evan You @yyx990803
*/
var hasDocument = typeof document !== 'undefined'
if (typeof DEBUG !== 'undefined' && DEBUG) {
if (!hasDocument) {
throw new Error(
'vue-style-loader cannot be used in a non-browser environment. ' +
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
) }
}
var listToStyles = __webpack_require__(7)
/*
type StyleObject = {
id: number;
parts: Array<StyleObjectPart>
}
type StyleObjectPart = {
css: string;
media: string;
sourceMap: ?string
}
*/
var stylesInDom = {/*
[id: number]: {
id: number,
refs: number,
parts: Array<(obj?: StyleObjectPart) => void>
}
*/}
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
var singletonElement = null
var singletonCounter = 0
var isProduction = false
var noop = function () {}
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
// tags it will allow on a page
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
module.exports = function (parentId, list, _isProduction) {
isProduction = _isProduction
var styles = listToStyles(parentId, list)
addStylesToDom(styles)
return function update (newList) {
var mayRemove = []
for (var i = 0; i < styles.length; i++) {
var item = styles[i]
var domStyle = stylesInDom[item.id]
domStyle.refs--
mayRemove.push(domStyle)
}
if (newList) {
styles = listToStyles(parentId, newList)
addStylesToDom(styles)
} else {
styles = []
}
for (var i = 0; i < mayRemove.length; i++) {
var domStyle = mayRemove[i]
if (domStyle.refs === 0) {
for (var j = 0; j < domStyle.parts.length; j++) {
domStyle.parts[j]()
}
delete stylesInDom[domStyle.id]
}
}
}
}
function addStylesToDom (styles /* Array<StyleObject> */) {
for (var i = 0; i < styles.length; i++) {
var item = styles[i]
var domStyle = stylesInDom[item.id]
if (domStyle) {
domStyle.refs++
for (var j = 0; j < domStyle.parts.length; j++) {
domStyle.parts[j](item.parts[j])
}
for (; j < item.parts.length; j++) {
domStyle.parts.push(addStyle(item.parts[j]))
}
if (domStyle.parts.length > item.parts.length) {
domStyle.parts.length = item.parts.length
}
} else {
var parts = []
for (var j = 0; j < item.parts.length; j++) {
parts.push(addStyle(item.parts[j]))
}
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
}
}
}
function createStyleElement () {
var styleElement = document.createElement('style')
styleElement.type = 'text/css'
head.appendChild(styleElement)
return styleElement
}
function addStyle (obj /* StyleObjectPart */) {
var update, remove
var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]')
if (styleElement) {
if (isProduction) {
// has SSR styles and in production mode.
// simply do nothing.
return noop
} else {
// has SSR styles but in dev mode.
// for some reason Chrome can't handle source map in server-rendered
// style tags - source maps in <style> only works if the style tag is
// created and inserted dynamically. So we remove the server rendered
// styles and inject new ones.
styleElement.parentNode.removeChild(styleElement)
}
}
if (isOldIE) {
// use singleton mode for IE9.
var styleIndex = singletonCounter++
styleElement = singletonElement || (singletonElement = createStyleElement())
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
} else {
// use multi-style-tag mode in all other cases
styleElement = createStyleElement()
update = applyToTag.bind(null, styleElement)
remove = function () {
styleElement.parentNode.removeChild(styleElement)
}
}
update(obj)
return function updateStyle (newObj /* StyleObjectPart */) {
if (newObj) {
if (newObj.css === obj.css &&
newObj.media === obj.media &&
newObj.sourceMap === obj.sourceMap) {
return
}
update(obj = newObj)
} else {
remove()
}
}
}
var replaceText = (function () {
var textStore = []
return function (index, replacement) {
textStore[index] = replacement
return textStore.filter(Boolean).join('\n')
}
})()
function applyToSingletonTag (styleElement, index, remove, obj) {
var css = remove ? '' : obj.css
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = replaceText(index, css)
} else {
var cssNode = document.createTextNode(css)
var childNodes = styleElement.childNodes
if (childNodes[index]) styleElement.removeChild(childNodes[index])
if (childNodes.length) {
styleElement.insertBefore(cssNode, childNodes[index])
} else {
styleElement.appendChild(cssNode)
}
}
}
function applyToTag (styleElement, obj) {
var css = obj.css
var media = obj.media
var sourceMap = obj.sourceMap
if (media) {
styleElement.setAttribute('media', media)
}
if (sourceMap) {
// https://developer.chrome.com/devtools/docs/javascript-debugging
// this makes source maps inside style tags work properly in Chrome
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
// http://stackoverflow.com/a/26603875
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
}
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = css
} else {
while (styleElement.firstChild) {
styleElement.removeChild(styleElement.firstChild)
}
styleElement.appendChild(document.createTextNode(css))
}
}
/***/ }),
/* 7 */
/***/ (function(module, exports) {
/**
* Translates the list format produced by css-loader into something
* easier to manipulate.
*/
module.exports = function listToStyles (parentId, list) {
var styles = []
var newStyles = {}
for (var i = 0; i < list.length; i++) {
var item = list[i]
var id = item[0]
var css = item[1]
var media = item[2]
var sourceMap = item[3]
var part = {
id: parentId + ':' + i,
css: css,
media: media,
sourceMap: sourceMap
}
if (!newStyles[id]) {
styles.push(newStyles[id] = { id: id, parts: [part] })
} else {
newStyles[id].parts.push(part)
}
}
return styles
}
/***/ }),
/* 8 */
/***/ (function(module, exports) {
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file.
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
module.exports = function normalizeComponent (
rawScriptExports,
compiledTemplate,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier /* server only */
) {
var esModule
var scriptExports = rawScriptExports = rawScriptExports || {}
// ES6 modules interop
var type = typeof rawScriptExports.default
if (type === 'object' || type === 'function') {
esModule = rawScriptExports
scriptExports = rawScriptExports.default
}
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (compiledTemplate) {
options.render = compiledTemplate.render
options.staticRenderFns = compiledTemplate.staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = injectStyles
}
if (hook) {
var functional = options.functional
var existing = functional
? options.render
: options.beforeCreate
if (!functional) {
// inject component registration as beforeCreate hook
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
} else {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return existing(h, context)
}
}
}
return {
esModule: esModule,
exports: scriptExports,
options: options
}
}
/***/ }),
/* 9 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(_vm.$slots.func)?_vm._t("func"):_c('Input',{ref:"input",staticClass:"user-selector-input",attrs:{"disabled":_vm.disabled,"readonly":"","clearable":"","search":"","enter-button":_vm.button,"placeholder":""},on:{"on-clear":_vm.clearData,"on-search":_vm.openDialog},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}),_vm._v(" "),_c('div',[(_vm.showmModal)?_c('Modal',{attrs:{"class-name":"user-selector-modal","width":"1100","title":_vm.title,"closable":false,"mask-closable":false},on:{"on-cancel":_vm.cancel},model:{value:(_vm.modal),callback:function ($$v) {_vm.modal=$$v},expression:"modal"}},[_c('div',{staticClass:"flow-modal-title",attrs:{"slot":"header"},slot:"header"},[_c('span',{staticStyle:{"font-size":"17px"}},[_vm._v(_vm._s(_vm.tit))]),_vm._v(" "),_c('span',{staticStyle:{"position":"absolute","right":"6px","cursor":"pointer"},on:{"click":function($event){return _vm.cancel(true)}}},[_c('i',{staticClass:"ivu-icon ivu-icon-ios-close"})])]),_vm._v(" "),[_c('div',{staticClass:"bsp-warp"},[_c('div',{staticClass:"pos-box"},[_c('div',[_c('div',{staticClass:"bsp-user-search-box"},[_c('label',[_vm._v("机构单位: ")]),_vm._v(" "),_c('div',{staticClass:"dicgrid"},[_c('s-dicgrid',{ref:"dicGrid",staticStyle:{"width":"300px"},attrs:{"clear":false,"dicName":"ZD_ORG_ID","disabled":!_vm.orgChange || _vm.hasOthers == true},on:{"change":_vm.changeOrg},model:{value:(_vm.orgId),callback:function ($$v) {_vm.orgId=$$v},expression:"orgId"}})],1),_vm._v(" "),_c('div',{staticClass:"bsp-user-Chebox"},[(_vm.orgChange)?_c('Checkbox',{attrs:{"size":"large"},on:{"on-change":_vm.orgAll},model:{value:(_vm.hasOthers),callback:function ($$v) {_vm.hasOthers=$$v},expression:"hasOthers"}},[_vm._v("机构全选")]):_vm._e()],1),_vm._v(" "),(_vm.selectPost)?[_c('label',[_vm._v(" 岗位: ")]),_vm._v(" "),_c('div',{staticClass:"post-dic",staticStyle:{"width":"430px"}},[_c('s-dicgrid',{ref:"post",attrs:{"isSearch":false,"multiple":_vm.multiPost,"dicName":"ZD_POST"},on:{"change":_vm.changePost},model:{value:(_vm.postCode),callback:function ($$v) {_vm.postCode=$$v},expression:"postCode"}})],1)]:_vm._e()],2),_vm._v(" "),_c('div',{staticClass:"bsp-user-center-in"},[_c('table',{staticStyle:{"border-width":"0px"}},[_c('tr',[_c('td',{staticStyle:{"border-bottom":"none","display":"flex","justify-content":"space-between","align-items":"center","padding":"0px 17px","width":"476px","height":"40px","line-height":"40px","background":"#F2F6FC"}},[_c('p',{staticStyle:{"font-size":"16px","font-weight":"bold","color":"#333"}},[_vm._v("用户列表")]),_vm._v(" "),_c('div',{staticStyle:{"width":"300px"}},[_c('Input',{attrs:{"type":"text","suffix":"ios-search","placeholder":"请输入姓名、警号或身份证查询","clearable":""},on:{"on-keyup":_vm.onKeyUp,"on-enter":_vm.searchData,"on-clear":_vm.searchData},model:{value:(_vm.condition),callback:function ($$v) {_vm.condition=$$v},expression:"condition"}})],1)]),_vm._v(" "),_c('td',{staticStyle:{"border-width":"0px","min-width":"16px"}}),_vm._v(" "),_c('td',{staticStyle:{"box-sizing":"border-box","width":"476px"}},[_c('div',{staticStyle:{"height":"40px","line-height":"40px","background":"#F2F6FC","color":"#333","font-size":"16px","font-weight":"bold","padding-left":"17px"}},[_vm._v("\n 已选用户")])])]),_vm._v(" "),_c('tr',[_c('td',{staticStyle:{"width":"476px","border-width":"0px","text-align":"left","background":"#FFFFFF"}},[_c('div',{staticClass:"bsp-user-lt_center"},[_c('ul',{staticClass:"bsp-user-lt_ul"},_vm._l((_vm.policeList),function(item,index){return _c('li',{key:index + 'AA',staticClass:"cli",class:{ active: _vm.selectedIdCardArr.indexOf(item.keyId) != -1 },on:{"click":function($event){return _vm.selectPolice(index, item)}}},[_c('div',{staticClass:"bsp-user-name",attrs:{"title":item.name}},[_vm._v(_vm._s(item.name))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-loginId",attrs:{"title":item.loginId}},[_vm._v(_vm._s(item.loginId))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-orgId",attrs:{"title":item.orgName}},[_vm._v(_vm._s(item.orgName))]),_vm._v(" "),_c('div',{staticClass:"postName textOverflow",attrs:{"title":item.postName}},[_vm._v(_vm._s(item.postName))])])}),0)])]),_vm._v(" "),_c('td',{staticStyle:{"border-width":"0px","min-width":"16px"}}),_vm._v(" "),_c('td',{staticStyle:{"width":"491px","border-width":"0px","text-align":"left"}},[_c('div',{staticClass:"bsp-user-lt_center_center"},[_c('ul',{staticClass:"bsp-user-lt_center_ul"},_vm._l((_vm.selectedList),function(item,index){return _c('li',{key:item.loginId + item.idCard,staticClass:"cli"},[_c('div',{staticClass:"bsp-user-name",attrs:{"title":item.orgName}},[_vm._v(_vm._s(item.name))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-loginId",attrs:{"title":item.orgName}},[_vm._v(_vm._s(item.loginId))]),_vm._v(" "),_c('div',{staticClass:"bsp-user-orgId"},[_vm._v(_vm._s(item.orgName))]),_vm._v(" "),_c('div',{staticClass:"postName textOverflow",attrs:{"title":item.postName}},[_vm._v(_vm._s(item.postName))]),_vm._v(" "),_c('div',{staticClass:"btn-icon",on:{"click":function($event){return _vm.cancelSelected(item, index)}}})])}),0)])])])])])])])])],_vm._v(" "),_c('div',{staticStyle:{"display":"flex","justify-content":"space-between"},attrs:{"slot":"footer"},slot:"footer"},[(_vm.numExp !== 'num==1')?_c('div',[_c('Checkbox',{nativeOn:{"click":function($event){$event.preventDefault();return _vm.handleAllChecked.apply(null, arguments)}},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:"checkAll"}},[_vm._v("用户全选/反选")])],1):_vm._e(),_vm._v(" "),_c('div',[_c('Button',{staticClass:"cancle_btn",on:{"click":function($event){return _vm.cancel(true)}}},[_vm._v("取 消")]),_vm._v(" "),_c('Button',{staticClass:"sure_btn",attrs:{"type":"primary"},on:{"click":_vm.ok}},[_vm._v("确 认")])],1)])],2):_vm._e()],1)],2)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ __webpack_exports__["a"] = (esExports);
/***/ })
/******/ ]);
});
//# sourceMappingURL=gs-user-selector.js.map
/***/ }),
/* 13 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_history_vue__ = __webpack_require__(4);
/* unused harmony namespace reexport */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4b0e953f_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_history_vue__ = __webpack_require__(19);
function injectStyle (ssrContext) {
__webpack_require__(14)
}
var normalizeComponent = __webpack_require__(2)
/* script */
/* template */
/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = "data-v-4b0e953f"
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_history_vue__["a" /* default */],
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4b0e953f_hasScoped_true_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_node_modules_iview_loader_index_js_ref_5_flow_general_history_vue__["a" /* default */],
__vue_template_functional__,
__vue_styles__,
__vue_scopeId__,
__vue_module_identifier__
)
/* harmony default export */ __webpack_exports__["a"] = (Component.exports);
/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
var content = __webpack_require__(15);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var update = __webpack_require__(1)("d3d99126", content, true);
/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
// imports
// module
exports.push([module.i, ".history-audit[data-v-4b0e953f]{padding:15px;font-family:\"Noto Sans TC, Microsoft YaHei, Segoe UI, Tahoma, Arial, Verdana, sans-serif\"}.task-container[data-v-4b0e953f]{margin-bottom:10px}.task-container .task-title[data-v-4b0e953f]{font-size:18px;font-weight:700;color:#333}.line-gray[data-v-4b0e953f]{padding:0}.history-audit .content[data-v-4b0e953f]{width:100%;padding:10px 18px;background-color:#fff}[data-v-4b0e953f] .ivu-timeline-item-content{padding:10px 10px 10px 24px;top:-16px}.row-col-title[data-v-4b0e953f]{text-align:right}.row-col-title span[data-v-4b0e953f]{font-size:16px;color:#7a8499}.padding-btm-10[data-v-4b0e953f]{padding:5px 0}.row-col-content[data-v-4b0e953f]{padding-left:10px}.row-col-content span[data-v-4b0e953f]{color:#333;font-size:16px;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.success[data-v-4b0e953f]{padding:4px;background-color:#d9fce8;color:#13ba5a;margin-left:10px}.error[data-v-4b0e953f]{padding:4px;background-color:#ffd6dd;color:#f23051;margin-left:10px}.warning[data-v-4b0e953f]{padding:4px;background-color:#ffe7d6;color:#f83;margin-left:10px}.primary[data-v-4b0e953f]{padding:4px;background-color:#e5f0ff;color:#2b5fda;margin-left:10px}.task-oper[data-v-4b0e953f]{float:right}.history-audit .oper-container[data-v-4b0e953f]{width:100%;display:flex;justify-content:space-between;flex-direction:row}.slot-button[data-v-4b0e953f]{background-color:#2b5fda;color:#fff;font-size:14px}.back-button[data-v-4b0e953f]{background-color:#f36279;color:#fff;font-size:14px}[data-v-4b0e953f] .ivu-icon-ios-radio-button-off{background-color:#dae1ec;border-radius:50%}.customIcon[data-v-4b0e953f]{position:relative;left:-31px;top:0;background:#fff}.task-title-active[data-v-4b0e953f]{border-bottom:2px solid #2b5fda}[data-v-4b0e953f] .ivu-timeline-item-head{background:transparent!important}.taskStatus[data-v-4b0e953f]{width:10px;height:10px;display:inline-block;border-radius:50%;margin-right:10px}.row-col-content-taskStatus[data-v-4b0e953f]{display:flex;align-items:center}.ing[data-v-4b0e953f]{background:#ff7d00}.will[data-v-4b0e953f]{background:#f53f3f}[data-v-4b0e953f] .ivu-icon-md-radio-button-off:before{background:#fff;border-radius:50%}", ""]);
// exports
/***/ }),
/* 16 */
/***/ (function(module, exports, __webpack_require__) {
!function(e,t){ true?module.exports=t():"function"==typeof define&&define.amd?define("sd-modify-approve-user",[],t):"object"==typeof exports?exports["sd-modify-approve-user"]=t():e["sd-modify-approve-user"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=3)}([function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var s=e[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=d[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var s=[],i=0;i<n.parts.length;i++)s.push(o(n.parts[i]));d[n.id]={id:n.id,refs:1,parts:s}}}}function i(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function o(e){var t,n,r=document.querySelector("style["+m+'~="'+e.id+'"]');if(r){if(h)return g;r.parentNode.removeChild(r)}if(x){var o=p++;r=f||(f=i()),t=s.bind(null,r,o,!1),n=s.bind(null,r,o,!0)}else r=i(),t=a.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function s(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function a(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),v.ssrId&&e.setAttribute(m,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n(7),d={},u=c&&(document.head||document.getElementsByTagName("head")[0]),f=null,p=0,h=!1,g=function(){},v=null,m="data-vue-ssr-id",x="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,i){h=n,v=i||{};var o=l(e,t);return r(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i],a=d[s.id];a.refs--,n.push(a)}t?(o=l(e,t),r(o)):o=[];for(var i=0;i<n.length;i++){var a=n[i];if(0===a.refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete d[a.id]}}}};var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,o){try{var s=t[i](o),a=s.value}catch(e){return void n(e)}if(!s.done)return Promise.resolve(a).then(function(e){r("next",e)},function(e){r("throw",e)});e(a)}return r("next")})}}t.a={name:"modify-approve-user",props:{actInstId:{type:String},module:{type:String,default:""},platform:{type:String,default:"pc"},extraOrgId:{type:String,default:""},extraRegId:{type:String,default:""},extraCityId:{type:String,default:""},complete:{type:Function,default:null},error:{type:Function,default:null},bindEvent:{type:Boolean,default:!0}},data:function(){return{isInitData:!1,openStatus:!1,nodeName:"领导审核",loading:!1,indeterminate:!0,checkAll:!1,orgUserList:[],orgId:"",userList:[],candidateUsers:[],isCanChang:!1,taskId:"",reference:null}},mounted:function(){this.bindEvent&&this.$slots.func&&(this.reference=this.$slots.func[0].elm,this.reference&&this.reference.addEventListener("click",this.initData))},methods:{initData:function(){this.isInitData?this.openStatus=!0:this.getOrgUserList(this.actInstId)},warnSwal:function(e,t){this.$swal({type:"warning",text:e,confirmButtonText:"确 定"}).then(function(e){t&&t(e)})},getOrgUserList:function(e){var t=this,n={actInstId:e,extraOrgId:this.extraOrgId,extraRegId:this.extraRegId,extraCityId:this.extraCityId};this.$store.dispatch("authGetRequest",{url:"bsp-bpm/bpm/approveProcess/taskIdentityLinks",params:n}).then(function(e){if(e.success){t.openStatus=!0,t.isInitData=!0;var n=e.data;t.nodeName=n.nodeName,t.isCanChang=n.isCanChang,t.taskId=n.taskId;var r=n.orgUserList;if(r.length>1){var i=[];n.orgUserList.forEach(function(e){var t=e.user;t&&t.length>0&&(i=i.concat(t))}),r.push({orgId:"allOrg",orgName:"所有单位",user:i})}t.orgUserList=r,r.length>=1&&t.$nextTick(function(){t.orgId=r[0].orgId,t.onSelectOrg(r[0].orgId)})}else t.warnSwal("启动流程失败。")})},clearCheckbox:function(){this.indeterminate=!1,this.checkAll=!1,this.candidateUsers=[],this.$forceUpdate()},onSelectOrg:function(e){if(e){var t=this.orgUserList.findIndex(function(t){return t.orgId==e});t>-1&&(this.userList=this.orgUserList[t].user),this.clearCheckbox(),this.$refs.checkAllRef.$el.click(),this.$forceUpdate()}},convertCandidateUsers:function(){return this.candidateUsers.map(function(e){var t=e.split("_");return{idCard:t[0],orgCode:t[1]}})},submit:function(){var e=this;return r(regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.candidateUsers&&0!==e.candidateUsers.length){t.next=3;break}return e.$Modal.warning({title:"温馨提示",content:"请选择审批人。"}),t.abrupt("return");case 3:e.loading=!0,n={taskId:e.taskId,candidateUsers:JSON.stringify(e.convertCandidateUsers()),fApp:e.module,fXxpt:e.platform},e.$store.dispatch("postRequest",{url:"bsp-bpm/bpm/approveProcess/saveTaskIdentityLinks",params:n}).then(function(t){t.success?e.complete?e.complete(t).then(function(t){e.loading=!1,t.success&&e.cancel()}):(e.cancel(),e.$Modal.success({title:"温馨提示",content:"审批人修改成功!"})):(e.loading=!1,e.error?e.error(t):e.$Modal.error({title:"温馨提示",content:"审批人修改失败。原因:"+t.msg}))});case 6:case"end":return t.stop()}},t,e)}))()},handleCheckAll:function(){var e=this;this.indeterminate?this.checkAll=!1:this.checkAll=!this.checkAll,this.indeterminate=!1,this.checkAll?this.userList.forEach(function(t){e.candidateUsers.push(t.userIdCard+"_"+t.orgCode)}):this.candidateUsers=[]},checkAllGroupChange:function(e){e.length===this.userList.length?(this.indeterminate=!1,this.checkAll=!0):e.length>0?(this.indeterminate=!0,this.checkAll=!1):(this.indeterminate=!1,this.checkAll=!1)},cancel:function(){this.openStatus=!1,this.loading=!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4);n.d(t,"modifyApproveUser",function(){return r.a});var i={install:function(e){e.component("modify-approve-user",r.a)}};t.default=i},function(e,t,n){"use strict";function r(e){n(5),n(8)}var i=n(2),o=n(11),s=n(10),a=r,c=s(i.a,o.a,!1,a,"data-v-07e6c48d",null);t.a=c.exports},function(e,t,n){var r=n(6);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("75c7965a",r,!0,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,".flow-modal{color:#333;font-size:15px}.flow-modal .ivu-modal-body,.flow-modal .ivu-modal-header{padding:0}.flow-modal .ivu-checkbox-wrapper,.flow-modal .ivu-select-input{font-size:15px}.flow-modal .ivu-select-item{font-size:15px!important}",""])},function(e,t){e.exports=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],s=o[0],a=o[1],c=o[2],l=o[3],d={id:e+":"+i,css:a,media:c,sourceMap:l};r[s]?r[s].parts.push(d):n.push(r[s]={id:s,parts:[d]})}return n}},function(e,t,n){var r=n(9);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("53157a8c",r,!0,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,".flow-modal-title[data-v-07e6c48d]{height:40px;background:#1171d0;width:100%;text-indent:1em;color:#fff;line-height:40px;font-size:15px}.content-1[data-v-07e6c48d]{padding:5px;display:flex;justify-content:space-between;align-items:center}",""])},function(e,t){e.exports=function(e,t,n,r,i,o){var s,a=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(s=e,a=e.default);var l="function"==typeof a?a.options:a;t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId=i);var d;if(o?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=d):r&&(d=r),d){var u=l.functional,f=u?l.render:l.beforeCreate;u?(l._injectStyles=d,l.render=function(e,t){return d.call(t),f(e,t)}):l.beforeCreate=f?[].concat(f,d):[d]}return{esModule:s,exports:a,options:l}}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e._t("func"),e._v(" "),n("Modal",{attrs:{"class-name":"flow-modal",width:580,closable:!1,"mask-closable":!1},model:{value:e.openStatus,callback:function(t){e.openStatus=t},expression:"openStatus"}},[n("div",{staticClass:"flow-modal-title",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("修改审核审批人员信息")]),e._v(" "),n("span",{staticStyle:{position:"absolute",right:"6px","font-size":"32px",cursor:"pointer"},on:{click:e.cancel}},[n("i",{staticClass:"ivu-icon ivu-icon-ios-close"})])]),e._v(" "),n("div",{staticStyle:{"min-height":"220px",padding:"10px"}},[n("table",{staticStyle:{width:"100%","border-collapse":"collapse","border-spacing":"0"}},[n("tr",[n("td",{staticStyle:{width:"85%",border:"solid 1px #dedede","border-bottom":"solid 1px #fff",background:"#f6f6f6"}},[n("div",{staticClass:"content-1",staticStyle:{height:"58px","align-items":"center"}},[n("h3",[e._v(e._s(e.nodeName))]),e._v(" "),n("span",{staticStyle:{"font-size":"15px"}},[n("Select",{staticStyle:{width:"350px"},attrs:{placeholder:"请选择审批单位",filterable:""},on:{"on-change":e.onSelectOrg},model:{value:e.orgId,callback:function(t){e.orgId=t},expression:"orgId"}},e._l(e.orgUserList,function(t){return n("Option",{key:t.orgId,attrs:{value:t.orgId}},[e._v(e._s(t.orgName))])}),1)],1),e._v(" "),n("Checkbox",{ref:"checkAllRef",attrs:{size:"large",indeterminate:e.indeterminate,value:e.checkAll},nativeOn:{click:function(t){return t.preventDefault(),e.handleCheckAll.apply(null,arguments)}}},[e._v("全选")])],1)])]),e._v(" "),n("tr",[n("td",{staticStyle:{border:"solid 1px #dedede",background:"#f6f6f6"}},[n("div",{staticStyle:{width:"90%",margin:"0 auto","line-height":"20px","min-height":"60px","align-items":"center",display:"flex"}},[n("CheckboxGroup",{staticStyle:{width:"100%"},on:{"on-change":e.checkAllGroupChange},model:{value:e.candidateUsers,callback:function(t){e.candidateUsers=t},expression:"candidateUsers"}},[e._l(e.userList,function(t){return[n("span",{staticStyle:{"min-width":"24%",display:"inline-block","margin-bottom":"10px","margin-top":"10px"}},[n("Checkbox",{key:t.userIdCard+"_"+t.orgCode,attrs:{size:"large",label:t.userIdCard+"_"+t.orgCode}},[e._v(e._s(t.userName)+" ")])],1)]})],2)],1)])])])]),e._v(" "),n("template",{slot:"footer"},[n("Button",{staticStyle:{width:"90px",height:"36px","font-size":"15px"},on:{click:e.cancel}},[e._v("取 消")]),e._v(" "),n("Button",{staticStyle:{width:"90px",height:"36px","font-size":"15px"},attrs:{loading:e.loading,type:"primary"},on:{click:e.submit}},[e._v("确 认")])],1)],2)],2)},i=[],o={render:r,staticRenderFns:i};t.a=o}])});
//# sourceMappingURL=sd-modify-approve-user.js.map
/***/ }),
/* 17 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__data__ = __webpack_require__(18);
function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }
/* 审批轨迹相关方法 */
/* harmony default export */ __webpack_exports__["a"] = ({
mixins: [__WEBPACK_IMPORTED_MODULE_0__data__["a" /* default */]],
methods: {
// 获取流程轨迹
getApprovalTrack: function getApprovalTrack() {
var _this = this;
this.$store.dispatch('postRequest', {
url: 'bsp-bpm/bpm/approveProcess/approveTrack',
params: { actInstId: this.actInstId }
}).then(function (resp) {
if (resp.success) {
if (!resp.data) return;
resp.data.map(function (item) {
if (item.createTime) {
if (item.endTime) {
item.taskStatus = '2';
} else {
item.taskStatus = '1';
}
} else {
item.taskStatus = '0';
}
});
_this.trackArr = resp.data;
} else {
_this.trackArr = [];
}
});
},
// 撤回流程
revoke: function revoke(taskId, preIsBeginTask) {
var _this2 = this;
this.$Modal.confirm({
title: '是否确认撤回?',
// loading: true,
onOk: function () {
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_this2.loading = true;
_this2.$store.dispatch('postRequest', {
url: 'bsp-bpm/bpm/approveProcess/revokeProcess',
params: { actInstId: _this2.actInstId, taskId: taskId, preIsBeginTask: preIsBeginTask }
}).then(function (resp) {
if (resp.success) {
if (_this2.revokeCallback) {
_this2.revokeCallback(resp).then(function (data) {
_this2.loading = false;
if (data.success) {
// window.location.reload()
_this2.getApprovalTrack();
}
});
} else {
_this2.loading = false;
_this2.$Modal.success({
title: '温馨提示',
content: '操作成功',
onOk: function onOk() {
// window.location.reload()
_this2.getApprovalTrack();
}
});
}
}
});
case 2:
case 'end':
return _context.stop();
}
}
}, _callee, _this2);
}));
return function onOk() {
return _ref.apply(this, arguments);
};
}()
});
}
}
});
/***/ }),
/* 18 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony default export */ __webpack_exports__["a"] = ({
props: {
// 流程实例ID
actInstId: {
type: String
},
// 是否显示撤回按钮
showRevokeBtn: {
type: Boolean,
default: true
},
// 是否显示修改审批人按钮
showModifyBtn: {
type: Boolean,
default: true
},
modifyBtnText: {
type: String,
default: '修改审批人'
},
extraOrgId: {
type: String,
default: ''
},
extraRegId: {
type: String,
default: ''
},
extraCityId: {
type: String,
default: ''
},
revokeCallback: {
type: Function,
default: null
},
modifyUserCallback: {
type: Function,
default: null
}
},
data: function data() {
return {
trackArr: [],
loading: false,
activeName: ''
};
}
});
/***/ }),
/* 19 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"history-audit"},[_c('Timeline',[_vm._l((_vm.trackArr),function(item){return [(!item.children)?_c('TimelineItem',{key:item.id,staticClass:"line-gray"},[(item.taskStatus == 2)?_c('Icon',{attrs:{"slot":"dot","type":"md-checkmark-circle","size":"26","color":"#19be6b"},slot:"dot"}):_vm._e(),_vm._v(" "),(item.taskStatus == 1)?_c('Icon',{attrs:{"slot":"dot","type":"md-radio-button-off","size":"26","color":"#19be6b"},slot:"dot"}):_vm._e(),_vm._v(" "),(item.taskStatus == 0)?_c('Icon',{attrs:{"slot":"dot","type":"ios-radio-button-off","size":"24","color":"#dae1ec"},slot:"dot"}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"oper-container"},[_c('p',{staticClass:"task-container"},[_c('span',{staticClass:"task-title"},[_vm._v(_vm._s(item.taskName))]),_vm._v(" "),_c('span',[(item.isApprove == 1 || item.isApprove == 5)?[_c('span',{staticClass:"success"},[_vm._v("同意")])]:_vm._e(),_vm._v(" "),(item.isApprove == 2 || item.isApprove == 6)?[_c('span',{staticClass:"error"},[_vm._v("不同意")])]:_vm._e(),_vm._v(" "),(item.isApprove == 3)?[_c('span',{staticClass:"warning"},[_vm._v("退回")])]:_vm._e(),_vm._v(" "),(item.isApprove == 4)?[_c('span',{staticClass:"primary"},[_vm._v("委派")])]:_vm._e()],2)]),_vm._v(" "),_c('div',{staticClass:"task-oper"},[(item.taskStatus == 1)?[(_vm.showModifyBtn)?_c('modify-approve-user',{ref:"modifyApproveUser",refInFor:true,attrs:{"actInstId":_vm.actInstId,"complete":_vm.callbackSuccess,"extraOrgId":_vm.extraOrgId,"extraRegId":_vm.extraRegId,"extraCityId":_vm.extraCityId,"error":_vm.testErr}},[_c('Button',{staticClass:"slot-button",attrs:{"slot":"func","size":"small","type":"primary"},slot:"func"},[_vm._v(_vm._s(_vm.modifyBtnText))])],1):_vm._e()]:_vm._e(),_vm._v(" "),(item.revokeNodeId && _vm.showRevokeBtn)?_c('Button',{staticClass:"back-button",staticStyle:{"margin-left":"5px"},attrs:{"type":"error","size":"small","loading":_vm.loading},on:{"click":function($event){return _vm.revoke(item.preTaskId, item.preIsBeginTask)}}},[_vm._v("撤回")]):_vm._e()],2)]),_vm._v(" "),_c('div',{staticClass:"content"},[(item.isApprove)?[_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理人:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[_c('Tooltip',{attrs:{"max-width":"400","content":item.executeUserName,"placement":"top"}},[_c('span',[_vm._v(_vm._s(item.executeUserName))])])],1)],1)],1),_vm._v(" "),(item.approvalContent)?_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理意见:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[_c('Tooltip',{attrs:{"max-width":"400","placement":"top","theme":"light","content":item.approvalContent}},[(item.isApprove == 1 || item.isApprove == 5)?_c('span',{staticStyle:{"color":"#13BA5A"}},[_vm._v(_vm._s(item.approvalContent))]):(item.isApprove == 2 || item.isApprove == 6)?_c('span',{staticStyle:{"color":"red"}},[_vm._v(_vm._s(item.approvalContent))]):_c('span',[_vm._v(_vm._s(item.approvalContent))])])],1)],1)],1):_vm._e(),_vm._v(" "),_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理时间:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[_c('span',[_vm._v(_vm._s(_vm._f("dateFormat")(item.endTime)))])])],1)],1)]:[_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理状态:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content row-col-content-taskStatus",attrs:{"span":"19"}},[(item.taskStatus == 1)?[_c('i',{staticClass:"taskStatus ing"}),_c('span',[_vm._v("处理中")])]:_vm._e(),_vm._v(" "),(item.taskStatus == 0)?[_c('i',{staticClass:"taskStatus will"}),_c('span',[_vm._v("未处理")])]:_vm._e()],2)],1)],1),_vm._v(" "),(item.nodeUser)?_c('p',{staticClass:"padding-btm-10"},[_c('Row',[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理人:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[[_c('Tooltip',{attrs:{"max-width":"400","content":item.nodeUser,"placement":"top"}},[_c('span',[_vm._v(_vm._s(item.nodeUser))])])]],2)],1)],1):_vm._e()]],2)],1):_c('TimelineItem',{key:item.parentNodeId,staticClass:"line-gray"},[_c('div',{staticClass:"task-container",staticStyle:{"display":"flex","z-index":"999","position":"relative"}},_vm._l((item.children),function(ele){return _c('span',{key:ele.taskId,class:['task-title', ele.active ? 'task-title-active' : ''],staticStyle:{"cursor":"pointer","margin-right":"16px"},attrs:{"label":ele.taskName,"name":ele.taskId},on:{"click":function($event){return _vm.changeTab(ele)}}},[_vm._v("\n "+_vm._s(ele.taskName)+"\n ")])}),0),_vm._v(" "),_c('div',[_c('div',{staticStyle:{"display":"flex","margin-top":"-40px"}},_vm._l((item.children),function(ele){return _c('div',{key:ele.taskId,attrs:{"label":ele.taskName,"name":ele.taskId}},[(ele.active)?_c('div',[(ele.taskStatus == 2)?_c('Icon',{staticClass:"customIcon",attrs:{"slot":"dot","type":"md-checkmark-circle","size":"26","color":"#19be6b"},slot:"dot"}):_vm._e(),_vm._v(" "),(ele.taskStatus == 1)?_c('Icon',{staticClass:"customIcon",attrs:{"slot":"dot","type":"md-radio-button-off","size":"26","color":"#19be6b"},slot:"dot"}):_vm._e(),_vm._v(" "),(ele.taskStatus == 0)?_c('Icon',{staticClass:"customIcon",attrs:{"slot":"dot","type":"ios-radio-button-off","size":"24","color":"#dae1ec"},slot:"dot"}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"oper-container"},[_c('p',{staticClass:"task-container"},[_c('span',[(ele.isApprove == 1)?[_c('span',{staticClass:"success"},[_vm._v("同意")])]:_vm._e(),_vm._v(" "),(ele.isApprove == 2)?[_c('span',{staticClass:"error"},[_vm._v("不同意")])]:_vm._e(),_vm._v(" "),(ele.isApprove == 3)?[_c('span',{staticClass:"warning"},[_vm._v("退回")])]:_vm._e(),_vm._v(" "),(ele.isApprove == 4)?[_c('span',{staticClass:"primary"},[_vm._v("委派")])]:_vm._e(),_vm._v(" "),(ele.isApprove == 5)?[_c('span',{staticClass:"success"},[_vm._v("同意")])]:_vm._e(),_vm._v(" "),(ele.isApprove == 6)?[_c('span',{staticClass:"error"},[_vm._v("不同意")])]:_vm._e()],2)]),_vm._v(" "),_c('div',{staticClass:"task-oper"},[(ele.taskStatus == 1)?[(_vm.showModifyBtn)?_c('modify-approve-user',{ref:"modifyApproveUser",refInFor:true,attrs:{"actInstId":_vm.actInstId,"complete":_vm.callbackSuccess,"extraOrgId":_vm.extraOrgId,"extraRegId":_vm.extraRegId,"extraCityId":_vm.extraCityId,"error":_vm.testErr}},[_c('Button',{staticClass:"slot-button",attrs:{"slot":"func","size":"small","type":"primary"},slot:"func"},[_vm._v(_vm._s(_vm.modifyBtnText))])],1):_vm._e()]:_vm._e(),_vm._v(" "),(ele.revokeNodeId && _vm.showRevokeBtn)?_c('Button',{staticClass:"back-button",staticStyle:{"margin-left":"5px"},attrs:{"type":"error","size":"small","loading":_vm.loading},on:{"click":function($event){return _vm.revoke(ele.preTaskId, ele.preIsBeginTask)}}},[_vm._v("撤回")]):_vm._e()],2)]),_vm._v(" "),_c('div',{staticClass:"content"},[(ele.isApprove)?[_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理人:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[_c('Tooltip',{attrs:{"max-width":"400","content":ele.executeUserName,"placement":"top"}},[_c('span',[_vm._v(_vm._s(ele.executeUserName))])])],1)],1)],1),_vm._v(" "),(ele.approvalContent)?_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理意见:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[_c('Tooltip',{attrs:{"max-width":"400","placement":"top","theme":"light","content":ele.approvalContent}},[_c('span',[_vm._v(_vm._s(ele.approvalContent))])])],1)],1)],1):_vm._e(),_vm._v(" "),_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理时间:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[_c('span',[_vm._v(_vm._s(_vm._f("dateFormat")(ele.endTime)))])])],1)],1)]:[_c('p',{staticClass:"padding-btm-10"},[_c('Row',{staticClass:"row-container"},[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理状态:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content row-col-content-taskStatus",attrs:{"span":"19"}},[(ele.taskStatus == 1)?[_c('i',{staticClass:"taskStatus ing"}),_vm._v(" "),_c('span',[_vm._v("处理中")])]:_vm._e(),_vm._v(" "),(ele.taskStatus == 0)?[_c('i',{staticClass:"taskStatus will"}),_c('span',[_vm._v("未处理")])]:_vm._e()],2)],1)],1),_vm._v(" "),(ele.nodeUser)?_c('p',{staticClass:"padding-btm-10"},[_c('Row',[_c('Col',{staticClass:"row-col-title",attrs:{"span":"5"}},[_c('span',[_vm._v("处理人:")])]),_vm._v(" "),_c('Col',{staticClass:"row-col-content",attrs:{"span":"19"}},[[_c('Tooltip',{attrs:{"max-width":"400","content":ele.nodeUser,"placement":"top"}},[_c('span',[_vm._v(_vm._s(ele.nodeUser))])])]],2)],1)],1):_vm._e()]],2)],1):_vm._e()])}),0)])])]})],2)],1)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ __webpack_exports__["a"] = (esExports);
/***/ }),
/* 20 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bsp-general-wrap"},[_c('Tabs',{attrs:{"value":_vm.tabValue},on:{"on-click":function (data) { _vm.tabValue = data }}},[(_vm.showSp)?_c('TabPane',{attrs:{"label":"审批","name":"sp"}},[(_vm.tabValue == 'sp')?_c('div',{staticClass:"bsp-approve"},[_c('Form',{ref:"approvalForm",staticClass:"form-ctnt",attrs:{"label-width":120,"label-colon":"","label-position":"right","model":_vm.formValidate,"rules":_vm.ruleValidate}},[(_vm.showApproveUser && _vm.nextNodeList.length > 0)?_c('FormItem',{attrs:{"label":_vm.formLabel.approvalNode,"required":""}},[_c('Select',{staticStyle:{"width":"100%"},attrs:{"filterable":"","transfer":true},on:{"on-change":_vm.onSelectNode},model:{value:(_vm.selectNode),callback:function ($$v) {_vm.selectNode=$$v},expression:"selectNode"}},_vm._l((_vm.nextNodeList),function(item){return _c('Option',{key:item.nodeId,attrs:{"value":item.nodeId}},[_vm._v(_vm._s(item.nodeName)+"\n ")])}),1)],1):_vm._e(),_vm._v(" "),(_vm.selectNode)?_c('FormItem',{attrs:{"label":"审批结果","required":"","prop":"isApprove"}},[_c('RadioGroup',{on:{"on-change":_vm.isApproveChange},model:{value:(_vm.formValidate.isApprove),callback:function ($$v) {_vm.$set(_vm.formValidate, "isApprove", $$v)},expression:"formValidate.isApprove"}},_vm._l((_vm.optionsBtnArr),function(item){return _c('Radio',{key:item.id,attrs:{"size":"large","label":item.code}},[_vm._v(_vm._s(item.name)+"\n ")])}),1)],1):_vm._e(),_vm._v(" "),(_vm.selectNode)?_c('FormItem',{attrs:{"label":_vm.formLabel.approvalContent,"prop":"approvalContent"}},[_c('Input',{staticStyle:{"width":"100%"},attrs:{"type":"textarea","autosize":{ minRows: 2 },"placeholder":"请输入审批意见"},model:{value:(_vm.formValidate.approvalContent),callback:function ($$v) {_vm.$set(_vm.formValidate, "approvalContent", $$v)},expression:"formValidate.approvalContent"}})],1):_vm._e(),_vm._v(" "),(_vm.selectNode)?_c('FormItem',{attrs:{"label":_vm.formLabel.approvalDate,"prop":"approvalDate"}},[_c('el-date-picker',{staticStyle:{"width":"100%","font-size":"16px"},attrs:{"type":"datetime","size":"small","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:(_vm.formValidate.approvalDate),callback:function ($$v) {_vm.$set(_vm.formValidate, "approvalDate", $$v)},expression:"formValidate.approvalDate"}})],1):_vm._e(),_vm._v(" "),(_vm.showApproveUser && _vm.selectNode)?_c('FormItem',{attrs:{"label":_vm.formLabel.approvalOrg}},[_c('div',{staticClass:"uni-ctnt"},[_c('div',{staticClass:"uni-sel"},[_c('Select',{staticClass:"sel",staticStyle:{"width":"100%"},attrs:{"filterable":"","transfer":true},on:{"on-select":_vm.orgSelectEvent},model:{value:(_vm.selectOrgArr),callback:function ($$v) {_vm.selectOrgArr=$$v},expression:"selectOrgArr"}},_vm._l((_vm.orgArr),function(item){return _c('Option',{key:item.orgId,attrs:{"value":item.orgId}},[_vm._v(_vm._s(item.orgName))])}),1)],1),_vm._v(" "),_c('div',{staticClass:"checkAll"},[_c('Checkbox',{attrs:{"indeterminate":_vm.indeterminate,"value":_vm.checkAll},nativeOn:{"click":function($event){$event.preventDefault();return _vm.handleCheckAll.apply(null, arguments)}}},[_vm._v("全选\n ")])],1),_vm._v(" "),_c('div',{staticClass:"uni-list"},_vm._l((_vm.orgUserList),function(orgItem){return _c('div',{key:orgItem.orgId,staticStyle:{"float":"left"}},[_c('CheckboxGroup',{staticClass:"check",attrs:{"size":"large"},on:{"on-change":_vm.checkAllGroupChange},model:{value:(_vm.checkedUser),callback:function ($$v) {_vm.checkedUser=$$v},expression:"checkedUser"}},_vm._l((orgItem.user),function(user){return _c('Checkbox',{key:user.userIdCard + '_' + user.orgCode,attrs:{"label":user.userIdCard + '_' + user.orgCode}},[_vm._v(_vm._s(user.userName))])}),1)],1)}),0)])]):_vm._e(),_vm._v(" "),(_vm.formValidate.isBack)?_c('FormItem',{attrs:{"label":"退回节点","required":"","prop":"backNodeId"}},[_c('Select',{staticStyle:{"width":"100%"},attrs:{"transfer":true},model:{value:(_vm.formValidate.backNodeId),callback:function ($$v) {_vm.$set(_vm.formValidate, "backNodeId", $$v)},expression:"formValidate.backNodeId"}},_vm._l((_vm.rollbackNodeList),function(item){return _c('Option',{key:item.id,attrs:{"value":item.id}},[_vm._v(_vm._s(item.name))])}),1)],1):_vm._e(),_vm._v(" "),(_vm.formValidate.isDelegateTask)?_c('FormItem',{attrs:{"label":"被指派人","required":"","prop":"delegateUserName"}},[_c('div',{staticStyle:{"width":"100%"}},[_c('user-selector',{attrs:{"text":_vm.formValidate.delegateUserName,"tit":"选择被指派民警","numExp":"num==1","msg":"主办民警数量必须等于1人"},on:{"update:text":function($event){return _vm.$set(_vm.formValidate, "delegateUserName", $event)},"onSelect":_vm.selectDelegate,"onClear":_vm.clearDelegate},model:{value:(_vm.formValidate.delegateUserId),callback:function ($$v) {_vm.$set(_vm.formValidate, "delegateUserId", $$v)},expression:"formValidate.delegateUserId"}})],1)]):_vm._e(),_vm._v(" "),(_vm.showCustomSlot)?_c('FormItem',{attrs:{"label":_vm.customSlotName}},[_vm._t("customSlot")],2):_vm._e(),_vm._v(" "),(_vm.showcc && _vm.selectNode)?_c('FormItem',{attrs:{"label":"抄送"}},[_c('div',{staticStyle:{"background-color":"#CEE0F0","text-align":"left","width":"100%","border":"1px solid #CEE0F0"}},[_c('div',{staticClass:"bsp-flow-people-ctnt scroll-able",staticStyle:{"padding":"8px","background":"#fff","display":"flex"}},[_vm._l((_vm.csldList),function(item,i){return _c('Tag',{key:item.idcard,staticStyle:{"display":"flex","align-items":"center","text-overflow":"ellipsis"},attrs:{"type":"dot","closable":"","color":"primary"},on:{"on-close":function($event){return _vm.csld_close(i)}}},[_vm._v(_vm._s(item.name))])}),_vm._v(" "),_c('user-selector',{ref:"userSelector",attrs:{"tit":"选择抄送人员","value":_vm.formValidate.csldbh},on:{"onSelect":_vm.policeConfirm}},[_c('Button',{staticClass:"bsp-sel-user",staticStyle:{"padding":"0 10px","margin-top":"-1px"},attrs:{"slot":"func","icon":"md-add","type":"dashed"},slot:"func"},[_vm._v("添加人员")])],1)],2)])]):_vm._e()],1),_vm._v(" "),(!_vm.selectNode)?_c('div',{staticClass:"tip-container"},[_c('span',{staticClass:"tip-title"},[_vm._v("提示")]),_c('span',{staticClass:"tip-warning"},[_vm._v("(请注意区分审核节点选择的选项)")]),_vm._v(" "),_c('p',[_vm._v("领导审批: 由单位内法制领导审批")]),_vm._v(" "),_c('p',[_vm._v("法制审批: 由单位内法制领导审批")])]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"footer-approve"},[(_vm.showBack)?_c('Button',{staticClass:"cancle-button",on:{"click":_vm.cancel}},[_vm._v(_vm._s(_vm.cancelBtnText))]):_vm._e(),_vm._v(" \n "),_c('Button',{staticClass:"submit-button",attrs:{"disabled":_vm.disabledSubmit,"type":"primary","loading":_vm.custom_loading},on:{"click":function($event){return _vm.handleSubmit('approvalForm')}}},[_vm._v(_vm._s(_vm.confirmBtnText))])],1)],1):_vm._e()]):_vm._e(),_vm._v(" "),_c('TabPane',{attrs:{"label":"流程轨迹","name":"flow"}},[(_vm.tabValue == 'flow')?_c('div',{staticClass:"bsp-approve"},[(_vm.actInstId)?_c('s-general-history',{key:_vm.timer,attrs:{"showModifyBtn":false,"actInstId":_vm.actInstId}}):_vm._e()],1):_vm._e()])],1)],1)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ __webpack_exports__["a"] = (esExports);
/***/ })
/******/ ]);
});
//# sourceMappingURL=gxx-general-approve.js.map