sd-prison-select 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gxx-general-approve.js +3713 -0
- package/dist/gxx-general-approve.js.map +1 -0
- package/dist/sd-data-grid.js +114 -71
- package/dist/sd-data-grid.js.map +1 -1
- package/dist/sd-prison-select.js +13 -11
- package/dist/sd-prison-select.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,3713 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory();
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("gxx-general-approve", [], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["gxx-general-approve"] = factory();
|
|
8
|
+
else
|
|
9
|
+
root["gxx-general-approve"] = factory();
|
|
10
|
+
})(typeof self !== 'undefined' ? self : this, function() {
|
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
|
12
|
+
/******/ // The module cache
|
|
13
|
+
/******/ var installedModules = {};
|
|
14
|
+
/******/
|
|
15
|
+
/******/ // The require function
|
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
|
17
|
+
/******/
|
|
18
|
+
/******/ // Check if module is in cache
|
|
19
|
+
/******/ if(installedModules[moduleId]) {
|
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
|
21
|
+
/******/ }
|
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
|
24
|
+
/******/ i: moduleId,
|
|
25
|
+
/******/ l: false,
|
|
26
|
+
/******/ exports: {}
|
|
27
|
+
/******/ };
|
|
28
|
+
/******/
|
|
29
|
+
/******/ // Execute the module function
|
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
31
|
+
/******/
|
|
32
|
+
/******/ // Flag the module as loaded
|
|
33
|
+
/******/ module.l = true;
|
|
34
|
+
/******/
|
|
35
|
+
/******/ // Return the exports of the module
|
|
36
|
+
/******/ return module.exports;
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/
|
|
39
|
+
/******/
|
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
41
|
+
/******/ __webpack_require__.m = modules;
|
|
42
|
+
/******/
|
|
43
|
+
/******/ // expose the module cache
|
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
|
45
|
+
/******/
|
|
46
|
+
/******/ // define getter function for harmony exports
|
|
47
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
48
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
49
|
+
/******/ Object.defineProperty(exports, name, {
|
|
50
|
+
/******/ configurable: false,
|
|
51
|
+
/******/ enumerable: true,
|
|
52
|
+
/******/ get: getter
|
|
53
|
+
/******/ });
|
|
54
|
+
/******/ }
|
|
55
|
+
/******/ };
|
|
56
|
+
/******/
|
|
57
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
58
|
+
/******/ __webpack_require__.n = function(module) {
|
|
59
|
+
/******/ var getter = module && module.__esModule ?
|
|
60
|
+
/******/ function getDefault() { return module['default']; } :
|
|
61
|
+
/******/ function getModuleExports() { return module; };
|
|
62
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
63
|
+
/******/ return getter;
|
|
64
|
+
/******/ };
|
|
65
|
+
/******/
|
|
66
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
67
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
68
|
+
/******/
|
|
69
|
+
/******/ // __webpack_public_path__
|
|
70
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
71
|
+
/******/
|
|
72
|
+
/******/ // Load entry module and return exports
|
|
73
|
+
/******/ return __webpack_require__(__webpack_require__.s = 5);
|
|
74
|
+
/******/ })
|
|
75
|
+
/************************************************************************/
|
|
76
|
+
/******/ ([
|
|
77
|
+
/* 0 */
|
|
78
|
+
/***/ (function(module, exports) {
|
|
79
|
+
|
|
80
|
+
/*
|
|
81
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
82
|
+
Author Tobias Koppers @sokra
|
|
83
|
+
*/
|
|
84
|
+
// css base code, injected by the css-loader
|
|
85
|
+
module.exports = function(useSourceMap) {
|
|
86
|
+
var list = [];
|
|
87
|
+
|
|
88
|
+
// return the list of modules as css string
|
|
89
|
+
list.toString = function toString() {
|
|
90
|
+
return this.map(function (item) {
|
|
91
|
+
var content = cssWithMappingToString(item, useSourceMap);
|
|
92
|
+
if(item[2]) {
|
|
93
|
+
return "@media " + item[2] + "{" + content + "}";
|
|
94
|
+
} else {
|
|
95
|
+
return content;
|
|
96
|
+
}
|
|
97
|
+
}).join("");
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
// import a list of modules into the list
|
|
101
|
+
list.i = function(modules, mediaQuery) {
|
|
102
|
+
if(typeof modules === "string")
|
|
103
|
+
modules = [[null, modules, ""]];
|
|
104
|
+
var alreadyImportedModules = {};
|
|
105
|
+
for(var i = 0; i < this.length; i++) {
|
|
106
|
+
var id = this[i][0];
|
|
107
|
+
if(typeof id === "number")
|
|
108
|
+
alreadyImportedModules[id] = true;
|
|
109
|
+
}
|
|
110
|
+
for(i = 0; i < modules.length; i++) {
|
|
111
|
+
var item = modules[i];
|
|
112
|
+
// skip already imported module
|
|
113
|
+
// this implementation is not 100% perfect for weird media query combinations
|
|
114
|
+
// when a module is imported multiple times with different media queries.
|
|
115
|
+
// I hope this will never occur (Hey this way we have smaller bundles)
|
|
116
|
+
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
|
|
117
|
+
if(mediaQuery && !item[2]) {
|
|
118
|
+
item[2] = mediaQuery;
|
|
119
|
+
} else if(mediaQuery) {
|
|
120
|
+
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
|
|
121
|
+
}
|
|
122
|
+
list.push(item);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
return list;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
function cssWithMappingToString(item, useSourceMap) {
|
|
130
|
+
var content = item[1] || '';
|
|
131
|
+
var cssMapping = item[3];
|
|
132
|
+
if (!cssMapping) {
|
|
133
|
+
return content;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (useSourceMap && typeof btoa === 'function') {
|
|
137
|
+
var sourceMapping = toComment(cssMapping);
|
|
138
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
139
|
+
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
return [content].join('\n');
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// Adapted from convert-source-map (MIT)
|
|
149
|
+
function toComment(sourceMap) {
|
|
150
|
+
// eslint-disable-next-line no-undef
|
|
151
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
|
152
|
+
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
|
|
153
|
+
|
|
154
|
+
return '/*# ' + data + ' */';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/***/ }),
|
|
159
|
+
/* 1 */
|
|
160
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
161
|
+
|
|
162
|
+
/*
|
|
163
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
164
|
+
Author Tobias Koppers @sokra
|
|
165
|
+
Modified by Evan You @yyx990803
|
|
166
|
+
*/
|
|
167
|
+
|
|
168
|
+
var hasDocument = typeof document !== 'undefined'
|
|
169
|
+
|
|
170
|
+
if (typeof DEBUG !== 'undefined' && DEBUG) {
|
|
171
|
+
if (!hasDocument) {
|
|
172
|
+
throw new Error(
|
|
173
|
+
'vue-style-loader cannot be used in a non-browser environment. ' +
|
|
174
|
+
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
175
|
+
) }
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
var listToStyles = __webpack_require__(9)
|
|
179
|
+
|
|
180
|
+
/*
|
|
181
|
+
type StyleObject = {
|
|
182
|
+
id: number;
|
|
183
|
+
parts: Array<StyleObjectPart>
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
type StyleObjectPart = {
|
|
187
|
+
css: string;
|
|
188
|
+
media: string;
|
|
189
|
+
sourceMap: ?string
|
|
190
|
+
}
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
var stylesInDom = {/*
|
|
194
|
+
[id: number]: {
|
|
195
|
+
id: number,
|
|
196
|
+
refs: number,
|
|
197
|
+
parts: Array<(obj?: StyleObjectPart) => void>
|
|
198
|
+
}
|
|
199
|
+
*/}
|
|
200
|
+
|
|
201
|
+
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
|
|
202
|
+
var singletonElement = null
|
|
203
|
+
var singletonCounter = 0
|
|
204
|
+
var isProduction = false
|
|
205
|
+
var noop = function () {}
|
|
206
|
+
|
|
207
|
+
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
208
|
+
// tags it will allow on a page
|
|
209
|
+
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
|
|
210
|
+
|
|
211
|
+
module.exports = function (parentId, list, _isProduction) {
|
|
212
|
+
isProduction = _isProduction
|
|
213
|
+
|
|
214
|
+
var styles = listToStyles(parentId, list)
|
|
215
|
+
addStylesToDom(styles)
|
|
216
|
+
|
|
217
|
+
return function update (newList) {
|
|
218
|
+
var mayRemove = []
|
|
219
|
+
for (var i = 0; i < styles.length; i++) {
|
|
220
|
+
var item = styles[i]
|
|
221
|
+
var domStyle = stylesInDom[item.id]
|
|
222
|
+
domStyle.refs--
|
|
223
|
+
mayRemove.push(domStyle)
|
|
224
|
+
}
|
|
225
|
+
if (newList) {
|
|
226
|
+
styles = listToStyles(parentId, newList)
|
|
227
|
+
addStylesToDom(styles)
|
|
228
|
+
} else {
|
|
229
|
+
styles = []
|
|
230
|
+
}
|
|
231
|
+
for (var i = 0; i < mayRemove.length; i++) {
|
|
232
|
+
var domStyle = mayRemove[i]
|
|
233
|
+
if (domStyle.refs === 0) {
|
|
234
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
235
|
+
domStyle.parts[j]()
|
|
236
|
+
}
|
|
237
|
+
delete stylesInDom[domStyle.id]
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
function addStylesToDom (styles /* Array<StyleObject> */) {
|
|
244
|
+
for (var i = 0; i < styles.length; i++) {
|
|
245
|
+
var item = styles[i]
|
|
246
|
+
var domStyle = stylesInDom[item.id]
|
|
247
|
+
if (domStyle) {
|
|
248
|
+
domStyle.refs++
|
|
249
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
250
|
+
domStyle.parts[j](item.parts[j])
|
|
251
|
+
}
|
|
252
|
+
for (; j < item.parts.length; j++) {
|
|
253
|
+
domStyle.parts.push(addStyle(item.parts[j]))
|
|
254
|
+
}
|
|
255
|
+
if (domStyle.parts.length > item.parts.length) {
|
|
256
|
+
domStyle.parts.length = item.parts.length
|
|
257
|
+
}
|
|
258
|
+
} else {
|
|
259
|
+
var parts = []
|
|
260
|
+
for (var j = 0; j < item.parts.length; j++) {
|
|
261
|
+
parts.push(addStyle(item.parts[j]))
|
|
262
|
+
}
|
|
263
|
+
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function createStyleElement () {
|
|
269
|
+
var styleElement = document.createElement('style')
|
|
270
|
+
styleElement.type = 'text/css'
|
|
271
|
+
head.appendChild(styleElement)
|
|
272
|
+
return styleElement
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function addStyle (obj /* StyleObjectPart */) {
|
|
276
|
+
var update, remove
|
|
277
|
+
var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]')
|
|
278
|
+
|
|
279
|
+
if (styleElement) {
|
|
280
|
+
if (isProduction) {
|
|
281
|
+
// has SSR styles and in production mode.
|
|
282
|
+
// simply do nothing.
|
|
283
|
+
return noop
|
|
284
|
+
} else {
|
|
285
|
+
// has SSR styles but in dev mode.
|
|
286
|
+
// for some reason Chrome can't handle source map in server-rendered
|
|
287
|
+
// style tags - source maps in <style> only works if the style tag is
|
|
288
|
+
// created and inserted dynamically. So we remove the server rendered
|
|
289
|
+
// styles and inject new ones.
|
|
290
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
if (isOldIE) {
|
|
295
|
+
// use singleton mode for IE9.
|
|
296
|
+
var styleIndex = singletonCounter++
|
|
297
|
+
styleElement = singletonElement || (singletonElement = createStyleElement())
|
|
298
|
+
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
|
|
299
|
+
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
|
|
300
|
+
} else {
|
|
301
|
+
// use multi-style-tag mode in all other cases
|
|
302
|
+
styleElement = createStyleElement()
|
|
303
|
+
update = applyToTag.bind(null, styleElement)
|
|
304
|
+
remove = function () {
|
|
305
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
update(obj)
|
|
310
|
+
|
|
311
|
+
return function updateStyle (newObj /* StyleObjectPart */) {
|
|
312
|
+
if (newObj) {
|
|
313
|
+
if (newObj.css === obj.css &&
|
|
314
|
+
newObj.media === obj.media &&
|
|
315
|
+
newObj.sourceMap === obj.sourceMap) {
|
|
316
|
+
return
|
|
317
|
+
}
|
|
318
|
+
update(obj = newObj)
|
|
319
|
+
} else {
|
|
320
|
+
remove()
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
var replaceText = (function () {
|
|
326
|
+
var textStore = []
|
|
327
|
+
|
|
328
|
+
return function (index, replacement) {
|
|
329
|
+
textStore[index] = replacement
|
|
330
|
+
return textStore.filter(Boolean).join('\n')
|
|
331
|
+
}
|
|
332
|
+
})()
|
|
333
|
+
|
|
334
|
+
function applyToSingletonTag (styleElement, index, remove, obj) {
|
|
335
|
+
var css = remove ? '' : obj.css
|
|
336
|
+
|
|
337
|
+
if (styleElement.styleSheet) {
|
|
338
|
+
styleElement.styleSheet.cssText = replaceText(index, css)
|
|
339
|
+
} else {
|
|
340
|
+
var cssNode = document.createTextNode(css)
|
|
341
|
+
var childNodes = styleElement.childNodes
|
|
342
|
+
if (childNodes[index]) styleElement.removeChild(childNodes[index])
|
|
343
|
+
if (childNodes.length) {
|
|
344
|
+
styleElement.insertBefore(cssNode, childNodes[index])
|
|
345
|
+
} else {
|
|
346
|
+
styleElement.appendChild(cssNode)
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
function applyToTag (styleElement, obj) {
|
|
352
|
+
var css = obj.css
|
|
353
|
+
var media = obj.media
|
|
354
|
+
var sourceMap = obj.sourceMap
|
|
355
|
+
|
|
356
|
+
if (media) {
|
|
357
|
+
styleElement.setAttribute('media', media)
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (sourceMap) {
|
|
361
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
362
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
363
|
+
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
|
|
364
|
+
// http://stackoverflow.com/a/26603875
|
|
365
|
+
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
if (styleElement.styleSheet) {
|
|
369
|
+
styleElement.styleSheet.cssText = css
|
|
370
|
+
} else {
|
|
371
|
+
while (styleElement.firstChild) {
|
|
372
|
+
styleElement.removeChild(styleElement.firstChild)
|
|
373
|
+
}
|
|
374
|
+
styleElement.appendChild(document.createTextNode(css))
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
/***/ }),
|
|
380
|
+
/* 2 */
|
|
381
|
+
/***/ (function(module, exports) {
|
|
382
|
+
|
|
383
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
384
|
+
|
|
385
|
+
// IMPORTANT: Do NOT use ES2015 features in this file.
|
|
386
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
387
|
+
// be included in the final webpack user bundle.
|
|
388
|
+
|
|
389
|
+
module.exports = function normalizeComponent (
|
|
390
|
+
rawScriptExports,
|
|
391
|
+
compiledTemplate,
|
|
392
|
+
functionalTemplate,
|
|
393
|
+
injectStyles,
|
|
394
|
+
scopeId,
|
|
395
|
+
moduleIdentifier /* server only */
|
|
396
|
+
) {
|
|
397
|
+
var esModule
|
|
398
|
+
var scriptExports = rawScriptExports = rawScriptExports || {}
|
|
399
|
+
|
|
400
|
+
// ES6 modules interop
|
|
401
|
+
var type = typeof rawScriptExports.default
|
|
402
|
+
if (type === 'object' || type === 'function') {
|
|
403
|
+
esModule = rawScriptExports
|
|
404
|
+
scriptExports = rawScriptExports.default
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
// Vue.extend constructor export interop
|
|
408
|
+
var options = typeof scriptExports === 'function'
|
|
409
|
+
? scriptExports.options
|
|
410
|
+
: scriptExports
|
|
411
|
+
|
|
412
|
+
// render functions
|
|
413
|
+
if (compiledTemplate) {
|
|
414
|
+
options.render = compiledTemplate.render
|
|
415
|
+
options.staticRenderFns = compiledTemplate.staticRenderFns
|
|
416
|
+
options._compiled = true
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
// functional template
|
|
420
|
+
if (functionalTemplate) {
|
|
421
|
+
options.functional = true
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// scopedId
|
|
425
|
+
if (scopeId) {
|
|
426
|
+
options._scopeId = scopeId
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
var hook
|
|
430
|
+
if (moduleIdentifier) { // server build
|
|
431
|
+
hook = function (context) {
|
|
432
|
+
// 2.3 injection
|
|
433
|
+
context =
|
|
434
|
+
context || // cached call
|
|
435
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
436
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
437
|
+
// 2.2 with runInNewContext: true
|
|
438
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
439
|
+
context = __VUE_SSR_CONTEXT__
|
|
440
|
+
}
|
|
441
|
+
// inject component styles
|
|
442
|
+
if (injectStyles) {
|
|
443
|
+
injectStyles.call(this, context)
|
|
444
|
+
}
|
|
445
|
+
// register component module identifier for async chunk inferrence
|
|
446
|
+
if (context && context._registeredComponents) {
|
|
447
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
// used by ssr in case component is cached and beforeCreate
|
|
451
|
+
// never gets called
|
|
452
|
+
options._ssrRegister = hook
|
|
453
|
+
} else if (injectStyles) {
|
|
454
|
+
hook = injectStyles
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
if (hook) {
|
|
458
|
+
var functional = options.functional
|
|
459
|
+
var existing = functional
|
|
460
|
+
? options.render
|
|
461
|
+
: options.beforeCreate
|
|
462
|
+
|
|
463
|
+
if (!functional) {
|
|
464
|
+
// inject component registration as beforeCreate hook
|
|
465
|
+
options.beforeCreate = existing
|
|
466
|
+
? [].concat(existing, hook)
|
|
467
|
+
: [hook]
|
|
468
|
+
} else {
|
|
469
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
470
|
+
// go through the normalizer
|
|
471
|
+
options._injectStyles = hook
|
|
472
|
+
// register for functioal component in vue file
|
|
473
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
474
|
+
hook.call(context)
|
|
475
|
+
return existing(h, context)
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
return {
|
|
481
|
+
esModule: esModule,
|
|
482
|
+
exports: scriptExports,
|
|
483
|
+
options: options
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
/***/ }),
|
|
489
|
+
/* 3 */
|
|
490
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
491
|
+
|
|
492
|
+
"use strict";
|
|
493
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mixins_audit_methods__ = __webpack_require__(10);
|
|
494
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__flow_general_history_components_flow_general_history_vue__ = __webpack_require__(13);
|
|
495
|
+
//
|
|
496
|
+
//
|
|
497
|
+
//
|
|
498
|
+
//
|
|
499
|
+
//
|
|
500
|
+
//
|
|
501
|
+
//
|
|
502
|
+
//
|
|
503
|
+
//
|
|
504
|
+
//
|
|
505
|
+
//
|
|
506
|
+
//
|
|
507
|
+
//
|
|
508
|
+
//
|
|
509
|
+
//
|
|
510
|
+
//
|
|
511
|
+
//
|
|
512
|
+
//
|
|
513
|
+
//
|
|
514
|
+
//
|
|
515
|
+
//
|
|
516
|
+
//
|
|
517
|
+
//
|
|
518
|
+
//
|
|
519
|
+
//
|
|
520
|
+
//
|
|
521
|
+
//
|
|
522
|
+
//
|
|
523
|
+
//
|
|
524
|
+
//
|
|
525
|
+
//
|
|
526
|
+
//
|
|
527
|
+
//
|
|
528
|
+
//
|
|
529
|
+
//
|
|
530
|
+
//
|
|
531
|
+
//
|
|
532
|
+
//
|
|
533
|
+
//
|
|
534
|
+
//
|
|
535
|
+
//
|
|
536
|
+
//
|
|
537
|
+
//
|
|
538
|
+
//
|
|
539
|
+
//
|
|
540
|
+
//
|
|
541
|
+
//
|
|
542
|
+
//
|
|
543
|
+
//
|
|
544
|
+
//
|
|
545
|
+
//
|
|
546
|
+
//
|
|
547
|
+
//
|
|
548
|
+
//
|
|
549
|
+
//
|
|
550
|
+
//
|
|
551
|
+
//
|
|
552
|
+
//
|
|
553
|
+
//
|
|
554
|
+
//
|
|
555
|
+
//
|
|
556
|
+
//
|
|
557
|
+
//
|
|
558
|
+
//
|
|
559
|
+
//
|
|
560
|
+
//
|
|
561
|
+
//
|
|
562
|
+
//
|
|
563
|
+
//
|
|
564
|
+
//
|
|
565
|
+
//
|
|
566
|
+
//
|
|
567
|
+
//
|
|
568
|
+
//
|
|
569
|
+
//
|
|
570
|
+
//
|
|
571
|
+
//
|
|
572
|
+
//
|
|
573
|
+
//
|
|
574
|
+
//
|
|
575
|
+
//
|
|
576
|
+
//
|
|
577
|
+
//
|
|
578
|
+
//
|
|
579
|
+
//
|
|
580
|
+
//
|
|
581
|
+
//
|
|
582
|
+
//
|
|
583
|
+
//
|
|
584
|
+
//
|
|
585
|
+
//
|
|
586
|
+
//
|
|
587
|
+
//
|
|
588
|
+
//
|
|
589
|
+
//
|
|
590
|
+
//
|
|
591
|
+
//
|
|
592
|
+
//
|
|
593
|
+
//
|
|
594
|
+
//
|
|
595
|
+
//
|
|
596
|
+
//
|
|
597
|
+
//
|
|
598
|
+
//
|
|
599
|
+
//
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
605
|
+
components: {
|
|
606
|
+
sGeneralHistory: __WEBPACK_IMPORTED_MODULE_1__flow_general_history_components_flow_general_history_vue__["a" /* default */]
|
|
607
|
+
},
|
|
608
|
+
mixins: [__WEBPACK_IMPORTED_MODULE_0__mixins_audit_methods__["a" /* default */]],
|
|
609
|
+
data: function data() {
|
|
610
|
+
return {
|
|
611
|
+
tabValue: 'sp',
|
|
612
|
+
showSp: true,
|
|
613
|
+
timer: new Date().getTime()
|
|
614
|
+
};
|
|
615
|
+
},
|
|
616
|
+
|
|
617
|
+
watch: {
|
|
618
|
+
delegationState: function delegationState(val) {
|
|
619
|
+
if (val == "PENDING") {
|
|
620
|
+
this.delegationName = "【委派】";
|
|
621
|
+
} else {
|
|
622
|
+
this.delegationName = "";
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
isLastUserTask: function isLastUserTask(val) {
|
|
626
|
+
if (val) {
|
|
627
|
+
this.formValidate.approvalContent = "同意";
|
|
628
|
+
} else {
|
|
629
|
+
this.formValidate.approvalContent = "同意上报";
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
});
|
|
634
|
+
|
|
635
|
+
/***/ }),
|
|
636
|
+
/* 4 */
|
|
637
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
638
|
+
|
|
639
|
+
"use strict";
|
|
640
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user__ = __webpack_require__(16);
|
|
641
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user__);
|
|
642
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__mixins_track_methods__ = __webpack_require__(17);
|
|
643
|
+
//
|
|
644
|
+
//
|
|
645
|
+
//
|
|
646
|
+
//
|
|
647
|
+
//
|
|
648
|
+
//
|
|
649
|
+
//
|
|
650
|
+
//
|
|
651
|
+
//
|
|
652
|
+
//
|
|
653
|
+
//
|
|
654
|
+
//
|
|
655
|
+
//
|
|
656
|
+
//
|
|
657
|
+
//
|
|
658
|
+
//
|
|
659
|
+
//
|
|
660
|
+
//
|
|
661
|
+
//
|
|
662
|
+
//
|
|
663
|
+
//
|
|
664
|
+
//
|
|
665
|
+
//
|
|
666
|
+
//
|
|
667
|
+
//
|
|
668
|
+
//
|
|
669
|
+
//
|
|
670
|
+
//
|
|
671
|
+
//
|
|
672
|
+
//
|
|
673
|
+
//
|
|
674
|
+
//
|
|
675
|
+
//
|
|
676
|
+
//
|
|
677
|
+
//
|
|
678
|
+
//
|
|
679
|
+
//
|
|
680
|
+
//
|
|
681
|
+
//
|
|
682
|
+
//
|
|
683
|
+
//
|
|
684
|
+
//
|
|
685
|
+
//
|
|
686
|
+
//
|
|
687
|
+
//
|
|
688
|
+
//
|
|
689
|
+
//
|
|
690
|
+
//
|
|
691
|
+
//
|
|
692
|
+
//
|
|
693
|
+
//
|
|
694
|
+
//
|
|
695
|
+
//
|
|
696
|
+
//
|
|
697
|
+
//
|
|
698
|
+
//
|
|
699
|
+
//
|
|
700
|
+
//
|
|
701
|
+
//
|
|
702
|
+
//
|
|
703
|
+
//
|
|
704
|
+
//
|
|
705
|
+
//
|
|
706
|
+
//
|
|
707
|
+
//
|
|
708
|
+
//
|
|
709
|
+
//
|
|
710
|
+
//
|
|
711
|
+
//
|
|
712
|
+
//
|
|
713
|
+
//
|
|
714
|
+
//
|
|
715
|
+
//
|
|
716
|
+
//
|
|
717
|
+
//
|
|
718
|
+
//
|
|
719
|
+
//
|
|
720
|
+
//
|
|
721
|
+
//
|
|
722
|
+
//
|
|
723
|
+
//
|
|
724
|
+
//
|
|
725
|
+
//
|
|
726
|
+
//
|
|
727
|
+
//
|
|
728
|
+
//
|
|
729
|
+
//
|
|
730
|
+
//
|
|
731
|
+
//
|
|
732
|
+
//
|
|
733
|
+
//
|
|
734
|
+
//
|
|
735
|
+
//
|
|
736
|
+
//
|
|
737
|
+
//
|
|
738
|
+
//
|
|
739
|
+
//
|
|
740
|
+
//
|
|
741
|
+
//
|
|
742
|
+
//
|
|
743
|
+
//
|
|
744
|
+
//
|
|
745
|
+
//
|
|
746
|
+
//
|
|
747
|
+
//
|
|
748
|
+
//
|
|
749
|
+
//
|
|
750
|
+
//
|
|
751
|
+
//
|
|
752
|
+
//
|
|
753
|
+
//
|
|
754
|
+
//
|
|
755
|
+
//
|
|
756
|
+
//
|
|
757
|
+
//
|
|
758
|
+
//
|
|
759
|
+
//
|
|
760
|
+
//
|
|
761
|
+
//
|
|
762
|
+
//
|
|
763
|
+
//
|
|
764
|
+
//
|
|
765
|
+
//
|
|
766
|
+
//
|
|
767
|
+
//
|
|
768
|
+
//
|
|
769
|
+
//
|
|
770
|
+
//
|
|
771
|
+
//
|
|
772
|
+
//
|
|
773
|
+
//
|
|
774
|
+
//
|
|
775
|
+
//
|
|
776
|
+
//
|
|
777
|
+
//
|
|
778
|
+
//
|
|
779
|
+
//
|
|
780
|
+
//
|
|
781
|
+
//
|
|
782
|
+
//
|
|
783
|
+
//
|
|
784
|
+
//
|
|
785
|
+
//
|
|
786
|
+
//
|
|
787
|
+
//
|
|
788
|
+
//
|
|
789
|
+
//
|
|
790
|
+
//
|
|
791
|
+
//
|
|
792
|
+
//
|
|
793
|
+
//
|
|
794
|
+
//
|
|
795
|
+
//
|
|
796
|
+
//
|
|
797
|
+
//
|
|
798
|
+
//
|
|
799
|
+
//
|
|
800
|
+
//
|
|
801
|
+
//
|
|
802
|
+
//
|
|
803
|
+
//
|
|
804
|
+
//
|
|
805
|
+
//
|
|
806
|
+
//
|
|
807
|
+
//
|
|
808
|
+
//
|
|
809
|
+
//
|
|
810
|
+
//
|
|
811
|
+
//
|
|
812
|
+
//
|
|
813
|
+
//
|
|
814
|
+
//
|
|
815
|
+
//
|
|
816
|
+
//
|
|
817
|
+
//
|
|
818
|
+
//
|
|
819
|
+
//
|
|
820
|
+
//
|
|
821
|
+
//
|
|
822
|
+
//
|
|
823
|
+
//
|
|
824
|
+
//
|
|
825
|
+
//
|
|
826
|
+
//
|
|
827
|
+
//
|
|
828
|
+
//
|
|
829
|
+
//
|
|
830
|
+
//
|
|
831
|
+
//
|
|
832
|
+
//
|
|
833
|
+
//
|
|
834
|
+
//
|
|
835
|
+
//
|
|
836
|
+
//
|
|
837
|
+
//
|
|
838
|
+
//
|
|
839
|
+
//
|
|
840
|
+
//
|
|
841
|
+
//
|
|
842
|
+
//
|
|
843
|
+
//
|
|
844
|
+
//
|
|
845
|
+
//
|
|
846
|
+
//
|
|
847
|
+
//
|
|
848
|
+
//
|
|
849
|
+
//
|
|
850
|
+
//
|
|
851
|
+
//
|
|
852
|
+
//
|
|
853
|
+
//
|
|
854
|
+
//
|
|
855
|
+
//
|
|
856
|
+
//
|
|
857
|
+
//
|
|
858
|
+
//
|
|
859
|
+
//
|
|
860
|
+
//
|
|
861
|
+
//
|
|
862
|
+
//
|
|
863
|
+
//
|
|
864
|
+
//
|
|
865
|
+
//
|
|
866
|
+
//
|
|
867
|
+
//
|
|
868
|
+
//
|
|
869
|
+
//
|
|
870
|
+
//
|
|
871
|
+
//
|
|
872
|
+
//
|
|
873
|
+
//
|
|
874
|
+
//
|
|
875
|
+
//
|
|
876
|
+
//
|
|
877
|
+
//
|
|
878
|
+
//
|
|
879
|
+
//
|
|
880
|
+
//
|
|
881
|
+
//
|
|
882
|
+
//
|
|
883
|
+
//
|
|
884
|
+
//
|
|
885
|
+
//
|
|
886
|
+
//
|
|
887
|
+
//
|
|
888
|
+
//
|
|
889
|
+
//
|
|
890
|
+
//
|
|
891
|
+
//
|
|
892
|
+
//
|
|
893
|
+
//
|
|
894
|
+
//
|
|
895
|
+
//
|
|
896
|
+
//
|
|
897
|
+
//
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
903
|
+
components: {
|
|
904
|
+
modifyApproveUser: __WEBPACK_IMPORTED_MODULE_0_sd_modify_approve_user__["modifyApproveUser"]
|
|
905
|
+
},
|
|
906
|
+
mixins: [__WEBPACK_IMPORTED_MODULE_1__mixins_track_methods__["a" /* default */]],
|
|
907
|
+
props: {},
|
|
908
|
+
data: function data() {
|
|
909
|
+
return {};
|
|
910
|
+
},
|
|
911
|
+
|
|
912
|
+
filters: {
|
|
913
|
+
dateFormat: function dateFormat(dateStr) {
|
|
914
|
+
var date = new Date(dateStr);
|
|
915
|
+
var year = date.getFullYear();
|
|
916
|
+
/* 在日期格式中,月份是从0开始的,因此要加0使用三元表达式在小于10的前面加0,以达到格式统一 如 09:11:05 */
|
|
917
|
+
var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1;
|
|
918
|
+
var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
|
919
|
+
var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
|
|
920
|
+
var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();
|
|
921
|
+
var seconds = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
|
|
922
|
+
// 拼接
|
|
923
|
+
return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds;
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
mounted: function mounted() {
|
|
927
|
+
this.getApprovalTrack();
|
|
928
|
+
},
|
|
929
|
+
|
|
930
|
+
methods: {
|
|
931
|
+
callbackSuccess: function callbackSuccess(data) {
|
|
932
|
+
var _this = this;
|
|
933
|
+
|
|
934
|
+
if (this.modifyUserCallback) {
|
|
935
|
+
this.getApprovalTrack();
|
|
936
|
+
return this.modifyUserCallback(data);
|
|
937
|
+
} else {
|
|
938
|
+
// 重新获取审批历史
|
|
939
|
+
return new Promise(function (resolve, reject) {
|
|
940
|
+
var that = _this;
|
|
941
|
+
_this.getApprovalTrack();
|
|
942
|
+
setTimeout(function () {
|
|
943
|
+
that.$Modal.success({
|
|
944
|
+
title: '温馨提示',
|
|
945
|
+
content: '修改审批人成功'
|
|
946
|
+
});
|
|
947
|
+
resolve({ success: true });
|
|
948
|
+
}, 1000);
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
testErr: function testErr() {
|
|
953
|
+
var _this2 = this;
|
|
954
|
+
|
|
955
|
+
return new Promise(function (resolve, reject) {
|
|
956
|
+
var that = _this2;
|
|
957
|
+
setTimeout(function () {
|
|
958
|
+
that.$Modal.error({
|
|
959
|
+
title: '温馨提示',
|
|
960
|
+
content: '修改审批人失败,请稍后重试'
|
|
961
|
+
});
|
|
962
|
+
resolve({ success: false });
|
|
963
|
+
}, 1000);
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
});
|
|
968
|
+
|
|
969
|
+
/***/ }),
|
|
970
|
+
/* 5 */
|
|
971
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
972
|
+
|
|
973
|
+
"use strict";
|
|
974
|
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
975
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_flow_general_audit_vue__ = __webpack_require__(6);
|
|
976
|
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "GeneralApprove", function() { return __WEBPACK_IMPORTED_MODULE_0__components_flow_general_audit_vue__["a"]; });
|
|
977
|
+
|
|
978
|
+
var Plugin = {
|
|
979
|
+
install: function install(Vue) {
|
|
980
|
+
Vue.component('general-approve', __WEBPACK_IMPORTED_MODULE_0__components_flow_general_audit_vue__["a" /* default */]);
|
|
981
|
+
}
|
|
982
|
+
};
|
|
983
|
+
|
|
984
|
+
/* harmony default export */ __webpack_exports__["default"] = (Plugin);
|
|
985
|
+
|
|
986
|
+
/***/ }),
|
|
987
|
+
/* 6 */
|
|
988
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
989
|
+
|
|
990
|
+
"use strict";
|
|
991
|
+
/* 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);
|
|
992
|
+
/* unused harmony namespace reexport */
|
|
993
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_58e7ee53_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);
|
|
994
|
+
function injectStyle (ssrContext) {
|
|
995
|
+
__webpack_require__(7)
|
|
996
|
+
}
|
|
997
|
+
var normalizeComponent = __webpack_require__(2)
|
|
998
|
+
/* script */
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
/* template */
|
|
1002
|
+
|
|
1003
|
+
/* template functional */
|
|
1004
|
+
var __vue_template_functional__ = false
|
|
1005
|
+
/* styles */
|
|
1006
|
+
var __vue_styles__ = injectStyle
|
|
1007
|
+
/* scopeId */
|
|
1008
|
+
var __vue_scopeId__ = "data-v-58e7ee53"
|
|
1009
|
+
/* moduleIdentifier (server only) */
|
|
1010
|
+
var __vue_module_identifier__ = null
|
|
1011
|
+
var Component = normalizeComponent(
|
|
1012
|
+
__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 */],
|
|
1013
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_58e7ee53_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 */],
|
|
1014
|
+
__vue_template_functional__,
|
|
1015
|
+
__vue_styles__,
|
|
1016
|
+
__vue_scopeId__,
|
|
1017
|
+
__vue_module_identifier__
|
|
1018
|
+
)
|
|
1019
|
+
|
|
1020
|
+
/* harmony default export */ __webpack_exports__["a"] = (Component.exports);
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
/***/ }),
|
|
1024
|
+
/* 7 */
|
|
1025
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1026
|
+
|
|
1027
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1028
|
+
|
|
1029
|
+
// load the styles
|
|
1030
|
+
var content = __webpack_require__(8);
|
|
1031
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1032
|
+
if(content.locals) module.exports = content.locals;
|
|
1033
|
+
// add the styles to the DOM
|
|
1034
|
+
var update = __webpack_require__(1)("9a893d22", content, true);
|
|
1035
|
+
|
|
1036
|
+
/***/ }),
|
|
1037
|
+
/* 8 */
|
|
1038
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1039
|
+
|
|
1040
|
+
exports = module.exports = __webpack_require__(0)(false);
|
|
1041
|
+
// imports
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
// module
|
|
1045
|
+
exports.push([module.i, ".uni-ctnt[data-v-58e7ee53]{padding:5px 0 20px}.uni-sel[data-v-58e7ee53]{display:flex}.uni-sel>.sel[data-v-58e7ee53]{width:80%}.uni-sel>.check[data-v-58e7ee53]{width:20%;margin-left:20px}.uni-list[data-v-58e7ee53]{max-height:100px;overflow:auto;max-width:500px}[data-v-58e7ee53] .bsp-flow-modal .ivu-modal-header{padding:0}[data-v-58e7ee53] .bsp-flow-modal .ivu-icon-ios-close{font-size:32px}[data-v-58e7ee53] .bsp-flow-modal .ivu-tag-text{font-size:16px}[data-v-58e7ee53] .bsp-flow-modal .ivu-tag-dot{padding:0 8px}[data-v-58e7ee53] .bsp-flow-modal .ivu-tag-dot-inner{margin-right:2px}[data-v-58e7ee53] .bsp-flow-modal .ivu-tag .ivu-icon-ios-close{font-size:18px;top:1px;margin-left:4px!important}[data-v-58e7ee53] .ivu-form .ivu-form-item-label,[data-v-58e7ee53] textarea.ivu-input{font-size:16px}[data-v-58e7ee53] .bsp-flow-modal .bsp-sel-user .ivu-icon-md-add{font-size:18px}[data-v-58e7ee53] .bsp-flow-modal .bsp-sel-user>.ivu-icon+span,[data-v-58e7ee53] .bsp-flow-modal .bsp-sel-user>span+.ivu-icon{margin-left:0;font-size:16px}[data-v-58e7ee53] .ivu-select-input{font-size:16px}[data-v-58e7ee53] .ivu-select-item{font-size:16px!important}[data-v-58e7ee53] .ivu-checkbox-wrapper{font-size:16px}[data-v-58e7ee53] .ivu-form-item{margin-bottom:0;padding-bottom:10px}[data-v-58e7ee53] .ivu-modal-body{max-height:450px;overflow-y:auto;overflow-x:hidden}[data-v-58e7ee53] .ivu-modal-footer{height:50px;line-height:50px;padding:0 12px}.bsp-flow-modal .bsp-flow-modal-title[data-v-58e7ee53]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px;font-size:15px}.bsp-flow-people-ctnt>div[data-v-58e7ee53]{display:inline-block}.bsp-flow-modal [data-v-58e7ee53]::-webkit-scrollbar{width:5px;height:1px}.bsp-flow-modal [data-v-58e7ee53]::-webkit-scrollbar-thumb{border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#c9c9c9}.bsp-flow-modal [data-v-58e7ee53]::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:4px;background:#ededed}.cancle-button[data-v-58e7ee53],.submit-button[data-v-58e7ee53]{min-width:60px;font-size:14px;border-radius:0}.cancle-button[data-v-58e7ee53]{border:1px solid #2b5fd9;color:#2b5fd9;background-color:#fff}.submit-button[data-v-58e7ee53]{border:1px solid #2b5fd9;color:#fff;background-color:#2b5fd9}.tip-container[data-v-58e7ee53]{margin-top:10px;background-color:#f2f6fc;padding:16px}.tip-container .tip-title[data-v-58e7ee53]{font-size:16px;font-weight:700;padding-right:10px}.tip-container .tip-warning[data-v-58e7ee53]{color:#e60012;font-weight:16px}.tip-container p[data-v-58e7ee53]{font-size:16px;margin:20px}.bsp-approve[data-v-58e7ee53]{background:#fafbff;border-radius:0 0 0 0;border:1px solid #cee0f0;padding:16px 16px 2px 0;margin-top:16px}.footer-approve[data-v-58e7ee53]{text-align:center;margin:0 16px 16px}.bsp-general-wrap[data-v-58e7ee53]{width:99%;font-family:\"Noto Sans TC, Microsoft YaHei, Segoe UI, Tahoma, Arial, Verdana, sans-serif\"}.bsp-general-wrap[data-v-58e7ee53] .ivu-tabs-tab{font-size:18px!important}.bsp-general-wrap[data-v-58e7ee53] .ivu-tabs-tab-active{font-weight:700!important}", ""]);
|
|
1046
|
+
|
|
1047
|
+
// exports
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
/***/ }),
|
|
1051
|
+
/* 9 */
|
|
1052
|
+
/***/ (function(module, exports) {
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Translates the list format produced by css-loader into something
|
|
1056
|
+
* easier to manipulate.
|
|
1057
|
+
*/
|
|
1058
|
+
module.exports = function listToStyles (parentId, list) {
|
|
1059
|
+
var styles = []
|
|
1060
|
+
var newStyles = {}
|
|
1061
|
+
for (var i = 0; i < list.length; i++) {
|
|
1062
|
+
var item = list[i]
|
|
1063
|
+
var id = item[0]
|
|
1064
|
+
var css = item[1]
|
|
1065
|
+
var media = item[2]
|
|
1066
|
+
var sourceMap = item[3]
|
|
1067
|
+
var part = {
|
|
1068
|
+
id: parentId + ':' + i,
|
|
1069
|
+
css: css,
|
|
1070
|
+
media: media,
|
|
1071
|
+
sourceMap: sourceMap
|
|
1072
|
+
}
|
|
1073
|
+
if (!newStyles[id]) {
|
|
1074
|
+
styles.push(newStyles[id] = { id: id, parts: [part] })
|
|
1075
|
+
} else {
|
|
1076
|
+
newStyles[id].parts.push(part)
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
return styles
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
/***/ }),
|
|
1084
|
+
/* 10 */
|
|
1085
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1086
|
+
|
|
1087
|
+
"use strict";
|
|
1088
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__data__ = __webpack_require__(11);
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
1092
|
+
mixins: [__WEBPACK_IMPORTED_MODULE_0__data__["a" /* default */]],
|
|
1093
|
+
mounted: function mounted() {
|
|
1094
|
+
this.getCurrentApprovalTrack();
|
|
1095
|
+
},
|
|
1096
|
+
|
|
1097
|
+
methods: {
|
|
1098
|
+
getFormField: function getFormField() {
|
|
1099
|
+
var _this = this;
|
|
1100
|
+
|
|
1101
|
+
if (this.formId) {
|
|
1102
|
+
this.$store.dispatch('postRequest', {
|
|
1103
|
+
url: '/bsp-com/com/form/getFormFieldByFormId',
|
|
1104
|
+
params: {
|
|
1105
|
+
formId: this.formId
|
|
1106
|
+
}
|
|
1107
|
+
}).then(function (resp) {
|
|
1108
|
+
if (resp.success) {
|
|
1109
|
+
if (resp.data && resp.data.length > 0) {
|
|
1110
|
+
resp.data.forEach(function (item) {
|
|
1111
|
+
if (item.isMain == '1') {
|
|
1112
|
+
_this.formArr = item.children;
|
|
1113
|
+
var obj = {};
|
|
1114
|
+
var keyName = '';
|
|
1115
|
+
_this.formArr.forEach(function (ele) {
|
|
1116
|
+
if (ele.isProcessVar && ele.isProcessVar == '1') {
|
|
1117
|
+
keyName = ele.fieldName;
|
|
1118
|
+
obj[keyName] = _this.formDataVarObj[ele.fieldName];
|
|
1119
|
+
}
|
|
1120
|
+
});
|
|
1121
|
+
_this.ProcessVarObj = obj;
|
|
1122
|
+
}
|
|
1123
|
+
});
|
|
1124
|
+
_this.getAduitApprovalUser();
|
|
1125
|
+
} else {
|
|
1126
|
+
_this.getAduitApprovalUser();
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
getForm: function getForm() {
|
|
1133
|
+
var _this2 = this;
|
|
1134
|
+
|
|
1135
|
+
var params = {
|
|
1136
|
+
operType: this.operType,
|
|
1137
|
+
formId: this.formId,
|
|
1138
|
+
businessId: this.businessId
|
|
1139
|
+
};
|
|
1140
|
+
this.$store.dispatch('postRequest', {
|
|
1141
|
+
url: '/bsp-com/com/form/handle/getFormData',
|
|
1142
|
+
params: params
|
|
1143
|
+
}).then(function (resp) {
|
|
1144
|
+
if (resp.success) {
|
|
1145
|
+
// console.log(resp,resp.success,'resp.data')
|
|
1146
|
+
_this2.formDataVarObj = resp.formData;
|
|
1147
|
+
_this2.getFormField();
|
|
1148
|
+
} else {
|
|
1149
|
+
_this2.warnSwal('文书模版加载出错。原因:' + resp.msg);
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1152
|
+
},
|
|
1153
|
+
initData: function initData() {
|
|
1154
|
+
if (this.businessId === '') {
|
|
1155
|
+
this.warnSwal('未设置业务编号[businessId]。');
|
|
1156
|
+
return;
|
|
1157
|
+
}
|
|
1158
|
+
if (this.module === '') {
|
|
1159
|
+
this.warnSwal('未设置模块名称[module]。');
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
|
|
1163
|
+
// 获取当前审批节点
|
|
1164
|
+
getCurrentApprovalTrack: function getCurrentApprovalTrack() {
|
|
1165
|
+
var _this3 = this;
|
|
1166
|
+
|
|
1167
|
+
if (!this.actInstId) {
|
|
1168
|
+
this.warnSwal('流程实例ID不能为空');
|
|
1169
|
+
return;
|
|
1170
|
+
}
|
|
1171
|
+
this.$store.dispatch('postRequest', {
|
|
1172
|
+
url: 'bsp-bpm/bpm/approveProcess/currentApprovalTrack',
|
|
1173
|
+
params: {
|
|
1174
|
+
actInstId: this.actInstId
|
|
1175
|
+
}
|
|
1176
|
+
}).then(function (resp) {
|
|
1177
|
+
if (resp.success) {
|
|
1178
|
+
_this3.hasApproveAuth = true;
|
|
1179
|
+
_this3.showSp = true;
|
|
1180
|
+
_this3.$nextTick(function () {
|
|
1181
|
+
if (this.bindEvent && this.$slots.func) {
|
|
1182
|
+
this.reference = this.$slots.func[0].elm;
|
|
1183
|
+
if (this.reference) {
|
|
1184
|
+
this.reference.addEventListener('click', this.openAudit);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
});
|
|
1188
|
+
|
|
1189
|
+
_this3.currentNodeName = resp.currentNodeName;
|
|
1190
|
+
_this3.isLastUserTask = resp.isLastUserTask;
|
|
1191
|
+
_this3.formValidate.taskId = resp.taskId;
|
|
1192
|
+
_this3.showTc = resp.firstNodeShowTc;
|
|
1193
|
+
_this3.initBtn(resp.buttons);
|
|
1194
|
+
_this3.formId ? _this3.getForm() : _this3.getAduitApprovalUser();
|
|
1195
|
+
if (resp.isLastUserTask || resp.delegationState == 'PENDING') {
|
|
1196
|
+
_this3.showApproveUser = false;
|
|
1197
|
+
}
|
|
1198
|
+
_this3.delegationState = resp.delegationState;
|
|
1199
|
+
_this3.currentNodeId = resp.currentNodeId ? resp.currentNodeId : '';
|
|
1200
|
+
|
|
1201
|
+
_this3.getButtonByInstIdAndNodeId(_this3.actInstId, resp.currentNodeId);
|
|
1202
|
+
|
|
1203
|
+
_this3.rollbackNodeList = resp.rollbackNodeList;
|
|
1204
|
+
if (_this3.rollbackNodeList && _this3.rollbackNodeList.length > 0) {
|
|
1205
|
+
_this3.formValidate.backNodeId = _this3.rollbackNodeList[0]['id'];
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
// 组装当前任务节点信息
|
|
1209
|
+
_this3.currTask.currentNodeName = resp.currentNodeName;
|
|
1210
|
+
_this3.currTask.taskId = resp.taskId;
|
|
1211
|
+
_this3.currTask.isLastUserTask = resp.isLastUserTask;
|
|
1212
|
+
_this3.currTask.firstNodeShowTc = resp.firstNodeShowTc;
|
|
1213
|
+
_this3.currTask.delegationState = resp.delegationState;
|
|
1214
|
+
_this3.currTask.currentNodeId = resp.currentNodeId;
|
|
1215
|
+
_this3.currTask.isFirstNode = resp.isFirstNode;
|
|
1216
|
+
_this3.currTask.buttons = resp.buttons;
|
|
1217
|
+
_this3.currTask.rollbackNodeList = resp.rollbackNodeList;
|
|
1218
|
+
_this3.currTask.curentTaskApproveUser = resp.curentTaskApproveUser;
|
|
1219
|
+
|
|
1220
|
+
// 判断当前节点是否为法制审核节点
|
|
1221
|
+
// this.justFzshCurNode()
|
|
1222
|
+
} else {
|
|
1223
|
+
_this3.hasApproveAuth = false;
|
|
1224
|
+
_this3.showSp = false;
|
|
1225
|
+
_this3.tabValue = 'flow';
|
|
1226
|
+
}
|
|
1227
|
+
_this3.$emit('init', _this3.hasApproveAuth);
|
|
1228
|
+
});
|
|
1229
|
+
},
|
|
1230
|
+
|
|
1231
|
+
// 判断当前节点是否为法制审核节点
|
|
1232
|
+
justFzshCurNode: function justFzshCurNode() {
|
|
1233
|
+
var _this4 = this;
|
|
1234
|
+
|
|
1235
|
+
this.postRequest({
|
|
1236
|
+
url: 'bsp-bpm/bpm/nodeSetting/isFzsh',
|
|
1237
|
+
params: {
|
|
1238
|
+
actInstId: this.actInstId,
|
|
1239
|
+
nodeId: this.currentNodeId
|
|
1240
|
+
}
|
|
1241
|
+
}).then(function (resp) {
|
|
1242
|
+
if (resp.success) {
|
|
1243
|
+
// 是否需要法制审核
|
|
1244
|
+
_this4.curNodeSffzsh = resp.sffzsh;
|
|
1245
|
+
}
|
|
1246
|
+
});
|
|
1247
|
+
},
|
|
1248
|
+
|
|
1249
|
+
// 判断所选择的节点是否需要法制审核
|
|
1250
|
+
justFzshNextNode: function justFzshNextNode() {
|
|
1251
|
+
var _this5 = this;
|
|
1252
|
+
|
|
1253
|
+
if (this.selectNode) {
|
|
1254
|
+
this.postRequest({
|
|
1255
|
+
url: 'bsp-bpm/bpm/nodeSetting/isFzsh',
|
|
1256
|
+
params: {
|
|
1257
|
+
actInstId: this.actInstId,
|
|
1258
|
+
nodeId: this.selectNode
|
|
1259
|
+
}
|
|
1260
|
+
}).then(function (resp) {
|
|
1261
|
+
if (resp.success) {
|
|
1262
|
+
// 是否需要法制审核
|
|
1263
|
+
_this5.selectNodeSffzsh = resp.sffzsh;
|
|
1264
|
+
if (_this5.selectNodeSffzsh) {
|
|
1265
|
+
// 审核结果修改
|
|
1266
|
+
_this5.optionsBtnArr.forEach(function (item) {
|
|
1267
|
+
if (item.code == 1) item.name = '流转法制';
|
|
1268
|
+
});
|
|
1269
|
+
} else {
|
|
1270
|
+
_this5.optionsBtnArr.forEach(function (item) {
|
|
1271
|
+
if (item.code == 1) item.name = _this5.curAgreeButtonName;
|
|
1272
|
+
});
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
});
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
initBtn: function initBtn(data) {
|
|
1279
|
+
var _this6 = this;
|
|
1280
|
+
|
|
1281
|
+
this.customBtnArr = [];
|
|
1282
|
+
this.optionsBtnArr = [];
|
|
1283
|
+
|
|
1284
|
+
if (data && data.length < 1) return;
|
|
1285
|
+
|
|
1286
|
+
// 默认先初始化按钮
|
|
1287
|
+
// this.formValidate.isApprove = data[0].code
|
|
1288
|
+
// this.formValidate.isApproveStr = data[0].name
|
|
1289
|
+
// this.formValidate.approvalContent = data[0].defaultOption
|
|
1290
|
+
|
|
1291
|
+
data.map(function (item) {
|
|
1292
|
+
if (item.type == '1') {
|
|
1293
|
+
_this6.customBtnArr.push(item);
|
|
1294
|
+
} else {
|
|
1295
|
+
_this6.optionsBtnArr.push(item);
|
|
1296
|
+
}
|
|
1297
|
+
});
|
|
1298
|
+
|
|
1299
|
+
this.isApproveChange(data[0].code);
|
|
1300
|
+
|
|
1301
|
+
this.optionsBtnArr.forEach(function (item) {
|
|
1302
|
+
if (item.code == 1) _this6.curAgreeButtonName = item.name;
|
|
1303
|
+
});
|
|
1304
|
+
},
|
|
1305
|
+
onSelectNode: function onSelectNode(nodeId) {
|
|
1306
|
+
var _this7 = this;
|
|
1307
|
+
|
|
1308
|
+
this.nextNodeList.forEach(function (item) {
|
|
1309
|
+
if (item.nodeId == nodeId) {
|
|
1310
|
+
_this7.orgArr = item.orgUser;
|
|
1311
|
+
}
|
|
1312
|
+
});
|
|
1313
|
+
// 清空单位值,清空复选框
|
|
1314
|
+
/* this.orgUserList = []
|
|
1315
|
+
this.selectOrgArr = [] */
|
|
1316
|
+
// 默认选中第一项
|
|
1317
|
+
if (this.orgArr && this.orgArr.length > 0) {
|
|
1318
|
+
this.orgSelectEvent({
|
|
1319
|
+
label: this.orgArr[0].orgName,
|
|
1320
|
+
value: this.orgArr[0].orgId
|
|
1321
|
+
});
|
|
1322
|
+
this.selectOrgArr = [];
|
|
1323
|
+
this.selectOrgArr.push(this.orgArr[0].orgId);
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
// 判断所选择的节点是否需要法制审核
|
|
1327
|
+
// this.justFzshNextNode()
|
|
1328
|
+
},
|
|
1329
|
+
checkAllGroupChange: function checkAllGroupChange(data) {
|
|
1330
|
+
var count = 0;
|
|
1331
|
+
this.orgUserList.forEach(function (item) {
|
|
1332
|
+
item.user.forEach(function (item) {
|
|
1333
|
+
count++;
|
|
1334
|
+
});
|
|
1335
|
+
});
|
|
1336
|
+
if (data.length === count) {
|
|
1337
|
+
this.indeterminate = false;
|
|
1338
|
+
this.checkAll = true;
|
|
1339
|
+
} else if (data.length > 0) {
|
|
1340
|
+
this.indeterminate = true;
|
|
1341
|
+
this.checkAll = false;
|
|
1342
|
+
} else {
|
|
1343
|
+
this.indeterminate = false;
|
|
1344
|
+
this.checkAll = false;
|
|
1345
|
+
}
|
|
1346
|
+
},
|
|
1347
|
+
handleCheckAll: function handleCheckAll() {
|
|
1348
|
+
var _this8 = this;
|
|
1349
|
+
|
|
1350
|
+
if (this.indeterminate) {
|
|
1351
|
+
this.checkAll = false;
|
|
1352
|
+
} else {
|
|
1353
|
+
this.checkAll = !this.checkAll;
|
|
1354
|
+
}
|
|
1355
|
+
this.indeterminate = false;
|
|
1356
|
+
if (this.checkAll) {
|
|
1357
|
+
this.orgUserList.forEach(function (item) {
|
|
1358
|
+
item.user.forEach(function (item) {
|
|
1359
|
+
_this8.checkedUser.push(item.userIdCard + '_' + item.orgCode);
|
|
1360
|
+
});
|
|
1361
|
+
});
|
|
1362
|
+
} else {
|
|
1363
|
+
this.checkedUser = [];
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
getAduitApprovalUser: function getAduitApprovalUser() {
|
|
1367
|
+
var _this9 = this;
|
|
1368
|
+
|
|
1369
|
+
var formProcessVar = '';
|
|
1370
|
+
this.formId ? formProcessVar = JSON.stringify(this.ProcessVarObj) : '';
|
|
1371
|
+
|
|
1372
|
+
this.$store.dispatch('postRequest', {
|
|
1373
|
+
url: 'bsp-bpm/bpm/approveProcess/getApproveUser',
|
|
1374
|
+
params: {
|
|
1375
|
+
actInstId: this.actInstId,
|
|
1376
|
+
userId: this.assigneeUserId,
|
|
1377
|
+
extraOrgId: this.extraOrgId,
|
|
1378
|
+
extraRegId: this.extraRegId,
|
|
1379
|
+
extraCityId: this.extraCityId,
|
|
1380
|
+
formProcessVar: formProcessVar
|
|
1381
|
+
}
|
|
1382
|
+
}).then(function (resp) {
|
|
1383
|
+
if (resp.success) {
|
|
1384
|
+
var _data = resp.data;
|
|
1385
|
+
var nodeData = _data && _data.length > 0 ? _data[0] : {};
|
|
1386
|
+
// 如果下一节点是排它网关
|
|
1387
|
+
if (nodeData && nodeData.nodeType && nodeData.nodeType == 'exclusiveGateway') {
|
|
1388
|
+
_this9.nextNodeList = nodeData.orgUserList;
|
|
1389
|
+
// 默认选中第一个节点
|
|
1390
|
+
// this.selectNode = this.nextNodeList[0].nodeId
|
|
1391
|
+
// this.orgArr = this.nextNodeList[0].orgUser
|
|
1392
|
+
// 判断所选择的节点是否需要法制审核
|
|
1393
|
+
// this.justFzshNextNode()
|
|
1394
|
+
return;
|
|
1395
|
+
}
|
|
1396
|
+
// 当下一节点不是排它网关时
|
|
1397
|
+
_this9.selectNode = nodeData.nodeId;
|
|
1398
|
+
// 判断下一节点是否需要法制审核
|
|
1399
|
+
// this.justFzshNextNode()
|
|
1400
|
+
// 获取机构用户列表
|
|
1401
|
+
var orgUserList = nodeData.orgUserList;
|
|
1402
|
+
_this9.orgArr = orgUserList;
|
|
1403
|
+
// 默认选中第一项
|
|
1404
|
+
if (orgUserList && orgUserList.length > 0) {
|
|
1405
|
+
var selectOrg = _this9.getSelectOrg(orgUserList, _this9.extraOrgId, _this9.extraRegId);
|
|
1406
|
+
console.log(selectOrg, 'selectOrg');
|
|
1407
|
+
_this9.orgSelectEvent({
|
|
1408
|
+
label: selectOrg.orgName,
|
|
1409
|
+
value: selectOrg.orgId
|
|
1410
|
+
}, true);
|
|
1411
|
+
_this9.selectOrgArr.push(selectOrg.orgId);
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
});
|
|
1415
|
+
},
|
|
1416
|
+
getSelectOrg: function getSelectOrg(orgUserList, extraOrgId, extraRegId) {
|
|
1417
|
+
var extraOrgIdArr = extraOrgId ? extraOrgId.split(',') : [];
|
|
1418
|
+
var extraRegionIdArr = extraRegId ? extraRegId.split(',') : [];
|
|
1419
|
+
// 先根据机构id匹配
|
|
1420
|
+
for (var i in extraOrgIdArr) {
|
|
1421
|
+
var matchOrgIdVal = extraOrgIdArr[i];
|
|
1422
|
+
for (var j in orgUserList) {
|
|
1423
|
+
var item = orgUserList[j];
|
|
1424
|
+
if (matchOrgIdVal === item['orgId']) {
|
|
1425
|
+
return item;
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
// 根据机构id没有匹配到时再根据区域id匹配
|
|
1430
|
+
for (var _i in extraRegionIdArr) {
|
|
1431
|
+
var matchRegionId = extraRegionIdArr[_i];
|
|
1432
|
+
for (var _j in orgUserList) {
|
|
1433
|
+
var _item = orgUserList[_j];
|
|
1434
|
+
if (matchRegionId === _item['regId']) {
|
|
1435
|
+
return _item;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
// 都没匹配到就默认第一个
|
|
1440
|
+
return orgUserList[0];
|
|
1441
|
+
},
|
|
1442
|
+
orgSelectEvent: function orgSelectEvent(option, selectTag) {
|
|
1443
|
+
var _this10 = this;
|
|
1444
|
+
|
|
1445
|
+
// 默认全选
|
|
1446
|
+
this.indeterminate = false;
|
|
1447
|
+
this.checkAll = true;
|
|
1448
|
+
var index = this.orgArr.findIndex(function (item) {
|
|
1449
|
+
return item.orgId == option.value;
|
|
1450
|
+
});
|
|
1451
|
+
this.orgUserList = [];
|
|
1452
|
+
this.checkedUser = [];
|
|
1453
|
+
this.orgUserList.push(this.orgArr[index]);
|
|
1454
|
+
if (this.selectUsers && selectTag) {
|
|
1455
|
+
var selectUsersArr = this.selectUsers.split(',');
|
|
1456
|
+
this.orgArr[index].user.map(function (item) {
|
|
1457
|
+
return selectUsersArr.forEach(function (ele) {
|
|
1458
|
+
if (item.userIdCard == ele) {
|
|
1459
|
+
_this10.checkedUser.push(item.userIdCard + '_' + item.orgCode);
|
|
1460
|
+
}
|
|
1461
|
+
});
|
|
1462
|
+
});
|
|
1463
|
+
// 如果默认人员不存在 设置全选
|
|
1464
|
+
if (this.checkedUser && this.candidateUsers && this.candidateUsers.length == 0) {
|
|
1465
|
+
this.orgArr[index].user.map(function (item) {
|
|
1466
|
+
return _this10.checkedUser.push(item.userIdCard + '_' + item.orgCode);
|
|
1467
|
+
});
|
|
1468
|
+
}
|
|
1469
|
+
if (this.checkedUser.length == this.orgArr[index].user.length) {
|
|
1470
|
+
this.indeterminate = false;
|
|
1471
|
+
this.checkAll = true;
|
|
1472
|
+
} else {
|
|
1473
|
+
this.indeterminate = true;
|
|
1474
|
+
this.checkAll = false;
|
|
1475
|
+
}
|
|
1476
|
+
} else {
|
|
1477
|
+
this.orgArr[index].user.map(function (item) {
|
|
1478
|
+
return _this10.checkedUser.push(item.userIdCard + '_' + item.orgCode);
|
|
1479
|
+
});
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
// // 判断当前项是选中还是取消选中
|
|
1483
|
+
// let selectIndex = this.selectOrgArr.findIndex(
|
|
1484
|
+
// (item) => option.value == item
|
|
1485
|
+
// );
|
|
1486
|
+
//
|
|
1487
|
+
// // 获取当前选中的机构对应用户
|
|
1488
|
+
// let index = this.orgArr.findIndex((item) => {
|
|
1489
|
+
// return item.orgId == option.value;
|
|
1490
|
+
// });
|
|
1491
|
+
//
|
|
1492
|
+
// if (selectIndex > -1) {
|
|
1493
|
+
// // 取消选中
|
|
1494
|
+
// this.orgArr[index].user.map((item) => {
|
|
1495
|
+
// let userIndex = this.checkedUser.findIndex(
|
|
1496
|
+
// (userIdCard) => userIdCard == item.userIdCard
|
|
1497
|
+
// );
|
|
1498
|
+
// if (userIndex > -1) this.checkedUser.splice(userIndex, 1);
|
|
1499
|
+
// });
|
|
1500
|
+
//
|
|
1501
|
+
// // 获取当前选中的机构对应用户
|
|
1502
|
+
// let orgUserIndex = this.orgUserList.findIndex((item) => {
|
|
1503
|
+
// return item.orgId == option.value;
|
|
1504
|
+
// });
|
|
1505
|
+
//
|
|
1506
|
+
// this.orgUserList.splice(orgUserIndex, 1);
|
|
1507
|
+
// } else {
|
|
1508
|
+
// // 选中
|
|
1509
|
+
// this.orgUserList.push(this.orgArr[index]);
|
|
1510
|
+
// this.orgArr[index].user.map((item) =>
|
|
1511
|
+
// this.checkedUser.push(item.userIdCard)
|
|
1512
|
+
// );
|
|
1513
|
+
// }
|
|
1514
|
+
},
|
|
1515
|
+
handleSubmit: function handleSubmit(name) {
|
|
1516
|
+
var _this11 = this;
|
|
1517
|
+
|
|
1518
|
+
if (this.formValidate.isApprove == 4) {
|
|
1519
|
+
this.ruleValidate.delegateUserName[0].required = true;
|
|
1520
|
+
} else if (this.formValidate.isApprove == 5) {
|
|
1521
|
+
this.ruleValidate.approveCheckedUser[0].required = false;
|
|
1522
|
+
this.ruleValidate.delegateUserName[0].required = false;
|
|
1523
|
+
} else if (this.formValidate.isApprove == 1 && !this.isLastUserTask) {
|
|
1524
|
+
if (this.checkedUser.length < 1) {
|
|
1525
|
+
this.$Notice.error({
|
|
1526
|
+
title: '错误提示',
|
|
1527
|
+
desc: '请选择审批人'
|
|
1528
|
+
});
|
|
1529
|
+
return;
|
|
1530
|
+
}
|
|
1531
|
+
this.ruleValidate.delegateUserName[0].required = false;
|
|
1532
|
+
} else {
|
|
1533
|
+
this.ruleValidate.delegateUserName[0].required = false;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
this.$refs[name].validate(function (valid) {
|
|
1537
|
+
if (valid) {
|
|
1538
|
+
if (!_this11.customizeValidate()) return;
|
|
1539
|
+
_this11.custom_loading = true;
|
|
1540
|
+
if (_this11.beforeAudit) {
|
|
1541
|
+
_this11.beforeAudit({
|
|
1542
|
+
'formData': _this11.formValidate,
|
|
1543
|
+
'currTask': _this11.currTask
|
|
1544
|
+
}).then(function (data) {
|
|
1545
|
+
if (data) {
|
|
1546
|
+
_this11.approval();
|
|
1547
|
+
} else {
|
|
1548
|
+
_this11.custom_loading = false;
|
|
1549
|
+
}
|
|
1550
|
+
}).catch(function (err) {
|
|
1551
|
+
_this11.custom_loading = false;
|
|
1552
|
+
_this11.$Notice.error({
|
|
1553
|
+
title: '错误提示',
|
|
1554
|
+
desc: err
|
|
1555
|
+
});
|
|
1556
|
+
});
|
|
1557
|
+
} else {
|
|
1558
|
+
_this11.approval();
|
|
1559
|
+
}
|
|
1560
|
+
} else {
|
|
1561
|
+
_this11.$Notice.error({
|
|
1562
|
+
title: '错误提示',
|
|
1563
|
+
desc: '表单验证不通过'
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
});
|
|
1567
|
+
},
|
|
1568
|
+
approval: function approval() {
|
|
1569
|
+
var _this12 = this;
|
|
1570
|
+
|
|
1571
|
+
this.custom_loading = true;
|
|
1572
|
+
this.assembleData();
|
|
1573
|
+
this.$store.dispatch('postRequest', {
|
|
1574
|
+
url: 'bsp-bpm/bpm/approveProcess/approvalProcess',
|
|
1575
|
+
params: {
|
|
1576
|
+
processCmd: JSON.stringify(this.bootData)
|
|
1577
|
+
}
|
|
1578
|
+
}).then(function (resp) {
|
|
1579
|
+
_this12.custom_loading = false;
|
|
1580
|
+
if (resp.success) {
|
|
1581
|
+
_this12.disabledSubmit = true;
|
|
1582
|
+
if (_this12.auditComplete) {
|
|
1583
|
+
_this12.auditComplete(resp);
|
|
1584
|
+
} else {
|
|
1585
|
+
// 隐藏审批按钮
|
|
1586
|
+
_this12.hasApproveAuth = false;
|
|
1587
|
+
_this12.$Modal.success({
|
|
1588
|
+
title: '温馨提示',
|
|
1589
|
+
content: '审批成功'
|
|
1590
|
+
});
|
|
1591
|
+
}
|
|
1592
|
+
_this12.$emit('audit-close');
|
|
1593
|
+
} else {
|
|
1594
|
+
if (_this12.error) {
|
|
1595
|
+
_this12.error(resp);
|
|
1596
|
+
} else {
|
|
1597
|
+
_this12.$Modal.error({
|
|
1598
|
+
title: '温馨提示',
|
|
1599
|
+
content: '审批失败,请重试'
|
|
1600
|
+
});
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
});
|
|
1604
|
+
},
|
|
1605
|
+
|
|
1606
|
+
// 组装请求参数
|
|
1607
|
+
assembleData: function assembleData() {
|
|
1608
|
+
this.bootData = {
|
|
1609
|
+
actInstId: this.actInstId,
|
|
1610
|
+
assigneeUserId: this.assigneeUserId,
|
|
1611
|
+
assigneeUserName: this.assigneeUserName,
|
|
1612
|
+
assigneeOrgId: this.assigneeOrgId,
|
|
1613
|
+
assigneeOrgName: this.assigneeOrgName,
|
|
1614
|
+
businessId: this.businessId,
|
|
1615
|
+
fApp: this.module,
|
|
1616
|
+
fXxpt: this.platform,
|
|
1617
|
+
isTerminateTask: this.isTerminateTask,
|
|
1618
|
+
variables: this.variables,
|
|
1619
|
+
msgUrl: this.msgUrl,
|
|
1620
|
+
msgTit: this.msgTit
|
|
1621
|
+
};
|
|
1622
|
+
|
|
1623
|
+
this.formValidate.candidateUsers = this.convertCandidateUsers();
|
|
1624
|
+
Object.assign(this.bootData, this.formValidate, {
|
|
1625
|
+
csldbh: this.convertCsldbh()
|
|
1626
|
+
}, {
|
|
1627
|
+
delegateUser: this.convertDelegate()
|
|
1628
|
+
});
|
|
1629
|
+
this.bootData.variables.nextNodeId = this.selectNode;
|
|
1630
|
+
},
|
|
1631
|
+
convertDelegate: function convertDelegate() {
|
|
1632
|
+
return {
|
|
1633
|
+
idCard: this.delegateUser.idCard,
|
|
1634
|
+
orgCode: this.delegateUser.orgCode
|
|
1635
|
+
};
|
|
1636
|
+
},
|
|
1637
|
+
convertCsldbh: function convertCsldbh() {
|
|
1638
|
+
return this.csldList.map(function (item) {
|
|
1639
|
+
return {
|
|
1640
|
+
idCard: item.idCard,
|
|
1641
|
+
orgCode: item.orgCode
|
|
1642
|
+
};
|
|
1643
|
+
});
|
|
1644
|
+
},
|
|
1645
|
+
convertCandidateUsers: function convertCandidateUsers() {
|
|
1646
|
+
return this.checkedUser.map(function (item) {
|
|
1647
|
+
var array = item.split('_');
|
|
1648
|
+
return {
|
|
1649
|
+
idCard: array[0],
|
|
1650
|
+
orgCode: array[1]
|
|
1651
|
+
};
|
|
1652
|
+
});
|
|
1653
|
+
},
|
|
1654
|
+
|
|
1655
|
+
// 自定义验证
|
|
1656
|
+
customizeValidate: function customizeValidate() {
|
|
1657
|
+
var validate = true;
|
|
1658
|
+
|
|
1659
|
+
// 退查或不同意时不做验证
|
|
1660
|
+
if (!this.showApproveUser) {
|
|
1661
|
+
return validate;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
if (!this.selectNode) {
|
|
1665
|
+
this.$Modal.warning({
|
|
1666
|
+
title: '错误提示',
|
|
1667
|
+
content: '审核节点不能为空'
|
|
1668
|
+
});
|
|
1669
|
+
validate = false;
|
|
1670
|
+
} else if (this.selectOrgArr.length <= 0) {
|
|
1671
|
+
this.$Modal.warning({
|
|
1672
|
+
title: '错误提示',
|
|
1673
|
+
desc: '审核部门不能为空'
|
|
1674
|
+
});
|
|
1675
|
+
validate = false;
|
|
1676
|
+
} else if (this.checkedUser.length <= 0) {
|
|
1677
|
+
this.$Notice.error({
|
|
1678
|
+
title: '错误提示',
|
|
1679
|
+
desc: '审核人不能为空'
|
|
1680
|
+
});
|
|
1681
|
+
validate = false;
|
|
1682
|
+
}
|
|
1683
|
+
return validate;
|
|
1684
|
+
},
|
|
1685
|
+
|
|
1686
|
+
dateFormat: function dateFormat(date) {
|
|
1687
|
+
// var date = new Date(time)
|
|
1688
|
+
var year = date.getFullYear();
|
|
1689
|
+
/* 在日期格式中,月份是从0开始的,因此要加0使用三元表达式在小于10的前面加0,以达到格式统一 如 09:11:05 */
|
|
1690
|
+
var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1;
|
|
1691
|
+
var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
|
|
1692
|
+
var hours = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();
|
|
1693
|
+
var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();
|
|
1694
|
+
var seconds = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
|
|
1695
|
+
// 拼接
|
|
1696
|
+
return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds;
|
|
1697
|
+
},
|
|
1698
|
+
// 重置表单
|
|
1699
|
+
handleReset: function handleReset(name) {
|
|
1700
|
+
this.$refs[name].resetFields();
|
|
1701
|
+
// 重新生成时间
|
|
1702
|
+
this.formValidate.approvalDate = this.dateFormat(new Date());
|
|
1703
|
+
// 清空机构选择
|
|
1704
|
+
this.selectOrgArr = [];
|
|
1705
|
+
// 清空人员选择
|
|
1706
|
+
this.checkedUser = [];
|
|
1707
|
+
// 清空人员机构选择
|
|
1708
|
+
this.orgUserList = [];
|
|
1709
|
+
|
|
1710
|
+
this.defaultEvent();
|
|
1711
|
+
|
|
1712
|
+
this.showApproveUser = true;
|
|
1713
|
+
|
|
1714
|
+
this.formValidate.isDelegateTask = false;
|
|
1715
|
+
},
|
|
1716
|
+
|
|
1717
|
+
// 审批意见改变事件时
|
|
1718
|
+
isApproveChange: function isApproveChange(value) {
|
|
1719
|
+
this.formValidate.isApprove = value;
|
|
1720
|
+
this.$emit('changeApproveVal', value);
|
|
1721
|
+
var curBtnArr = this.optionsBtnArr.filter(function (item) {
|
|
1722
|
+
return item.code == value;
|
|
1723
|
+
});
|
|
1724
|
+
|
|
1725
|
+
this.formValidate.isApproveStr = curBtnArr[0].name;
|
|
1726
|
+
this.formValidate.approvalContent = curBtnArr[0].defaultOption;
|
|
1727
|
+
|
|
1728
|
+
switch (value) {
|
|
1729
|
+
case '1':
|
|
1730
|
+
this.formValidate.isBack = false;
|
|
1731
|
+
this.formValidate.isDelegateTask = false;
|
|
1732
|
+
this.formValidate.isTerminateTask = false;
|
|
1733
|
+
if (this.delegationState == 'PENDING' || this.isLastUserTask) {
|
|
1734
|
+
this.showApproveUser = false;
|
|
1735
|
+
} else {
|
|
1736
|
+
this.showApproveUser = true;
|
|
1737
|
+
}
|
|
1738
|
+
this.defaultEvent();
|
|
1739
|
+
break;
|
|
1740
|
+
case '2':
|
|
1741
|
+
this.formValidate.isBack = false;
|
|
1742
|
+
this.formValidate.isDelegateTask = false;
|
|
1743
|
+
this.formValidate.isTerminateTask = false;
|
|
1744
|
+
this.showApproveUser = false;
|
|
1745
|
+
this.defaultEvent();
|
|
1746
|
+
break;
|
|
1747
|
+
case '3':
|
|
1748
|
+
this.formValidate.isBack = true;
|
|
1749
|
+
this.formValidate.isDelegateTask = false;
|
|
1750
|
+
this.formValidate.isTerminateTask = false;
|
|
1751
|
+
this.showApproveUser = false;
|
|
1752
|
+
this.defaultEvent();
|
|
1753
|
+
break;
|
|
1754
|
+
case '4':
|
|
1755
|
+
this.formValidate.isBack = false;
|
|
1756
|
+
this.formValidate.isDelegateTask = true;
|
|
1757
|
+
this.formValidate.isTerminateTask = false;
|
|
1758
|
+
this.showApproveUser = false;
|
|
1759
|
+
this.delegateEvent();
|
|
1760
|
+
break;
|
|
1761
|
+
case '5':
|
|
1762
|
+
// 同意并结束流程
|
|
1763
|
+
this.formValidate.isBack = false;
|
|
1764
|
+
this.formValidate.isDelegateTask = false;
|
|
1765
|
+
this.formValidate.isTerminateTask = true;
|
|
1766
|
+
if (this.delegationState == 'PENDING' || this.isLastUserTask) {
|
|
1767
|
+
this.showApproveUser = false;
|
|
1768
|
+
} else {
|
|
1769
|
+
this.showApproveUser = false;
|
|
1770
|
+
}
|
|
1771
|
+
this.defaultEvent();
|
|
1772
|
+
break;
|
|
1773
|
+
case '6':
|
|
1774
|
+
// 不同意并结束流程
|
|
1775
|
+
this.formValidate.isBack = false;
|
|
1776
|
+
this.formValidate.isDelegateTask = false;
|
|
1777
|
+
this.formValidate.isTerminateTask = true;
|
|
1778
|
+
this.showApproveUser = false;
|
|
1779
|
+
this.defaultEvent();
|
|
1780
|
+
break;
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
getButtonByInstIdAndNodeId: function getButtonByInstIdAndNodeId(actInstId, nodeId) {
|
|
1784
|
+
var _this13 = this;
|
|
1785
|
+
|
|
1786
|
+
this.$store.dispatch('postRequest', {
|
|
1787
|
+
url: 'bsp-bpm/bpm/nodeButton/getNodeButtonByParams',
|
|
1788
|
+
params: {
|
|
1789
|
+
actInstId: actInstId,
|
|
1790
|
+
nodeId: nodeId
|
|
1791
|
+
}
|
|
1792
|
+
}).then(function (resp) {
|
|
1793
|
+
if (resp.success) {
|
|
1794
|
+
if (resp.data) {
|
|
1795
|
+
resp.data.map(function (item) {
|
|
1796
|
+
_this13.curNodeBtnMarkArr.push(item.mark);
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
});
|
|
1801
|
+
},
|
|
1802
|
+
|
|
1803
|
+
// 委派事件
|
|
1804
|
+
delegateEvent: function delegateEvent() {
|
|
1805
|
+
this.formLabel.approvalContent = '指派意见';
|
|
1806
|
+
this.formLabel.approvalDate = '指派时间';
|
|
1807
|
+
},
|
|
1808
|
+
defaultEvent: function defaultEvent() {
|
|
1809
|
+
this.formLabel.approvalContent = '审批意见';
|
|
1810
|
+
this.formLabel.approvalDate = '审批时间';
|
|
1811
|
+
},
|
|
1812
|
+
openUserSelect: function openUserSelect() {
|
|
1813
|
+
this.showSelectModal = true;
|
|
1814
|
+
this.component = 'userSelect';
|
|
1815
|
+
},
|
|
1816
|
+
selectCallBack: function selectCallBack(data) {
|
|
1817
|
+
this.formValidate.delegateUserId = data[0].idCard;
|
|
1818
|
+
this.formValidate.delegateUserName = data[0].name;
|
|
1819
|
+
},
|
|
1820
|
+
cancelCallBack: function cancelCallBack() {
|
|
1821
|
+
this.showSelectModal = false;
|
|
1822
|
+
this.component = null;
|
|
1823
|
+
},
|
|
1824
|
+
selectDelegate: function selectDelegate(data) {
|
|
1825
|
+
this.delegateUser = data[0];
|
|
1826
|
+
},
|
|
1827
|
+
clearDelegate: function clearDelegate() {
|
|
1828
|
+
this.delegateUser = {};
|
|
1829
|
+
},
|
|
1830
|
+
|
|
1831
|
+
// 删除抄送人
|
|
1832
|
+
csld_close: function csld_close(idx) {
|
|
1833
|
+
this.csldList.splice(idx, 1);
|
|
1834
|
+
},
|
|
1835
|
+
|
|
1836
|
+
// 选择抄送人回调
|
|
1837
|
+
policeConfirm: function policeConfirm(policeList) {
|
|
1838
|
+
var _this14 = this;
|
|
1839
|
+
|
|
1840
|
+
this.csldList = policeList;
|
|
1841
|
+
|
|
1842
|
+
this.formValidate.csldbh = '';
|
|
1843
|
+
policeList.map(function (item, index) {
|
|
1844
|
+
if (index != 0) {
|
|
1845
|
+
_this14.formValidate.csldbh += ',';
|
|
1846
|
+
}
|
|
1847
|
+
_this14.formValidate.csldbh += item.idCard;
|
|
1848
|
+
});
|
|
1849
|
+
},
|
|
1850
|
+
|
|
1851
|
+
// 对话框取消事件
|
|
1852
|
+
cancel: function cancel() {
|
|
1853
|
+
this.$emit('cancel');
|
|
1854
|
+
},
|
|
1855
|
+
|
|
1856
|
+
// 打开审核审批
|
|
1857
|
+
openAudit: function openAudit() {
|
|
1858
|
+
var _this15 = this;
|
|
1859
|
+
|
|
1860
|
+
if (this.beforeOpen) {
|
|
1861
|
+
this.beforeOpen().then(function (data) {
|
|
1862
|
+
if (data) {
|
|
1863
|
+
_this15.initData();
|
|
1864
|
+
_this15.isOpen = true;
|
|
1865
|
+
}
|
|
1866
|
+
});
|
|
1867
|
+
} else {
|
|
1868
|
+
this.initData();
|
|
1869
|
+
this.isOpen = true;
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
warnSwal: function warnSwal(msg, callback) {
|
|
1873
|
+
this.$Modal.warning({
|
|
1874
|
+
title: '温馨提示',
|
|
1875
|
+
content: msg
|
|
1876
|
+
});
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
watch: {
|
|
1880
|
+
hasApproveAuth: function hasApproveAuth(val) {
|
|
1881
|
+
this.$emit('hasApproveAuth', val);
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
});
|
|
1885
|
+
|
|
1886
|
+
/***/ }),
|
|
1887
|
+
/* 11 */
|
|
1888
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1889
|
+
|
|
1890
|
+
"use strict";
|
|
1891
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_gs_user_selector__ = __webpack_require__(12);
|
|
1892
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_gs_user_selector___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_gs_user_selector__);
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
1896
|
+
props: {
|
|
1897
|
+
// 流程实例ID
|
|
1898
|
+
actInstId: {
|
|
1899
|
+
type: String
|
|
1900
|
+
},
|
|
1901
|
+
showRevokeBtn: {
|
|
1902
|
+
type: Boolean,
|
|
1903
|
+
default: false
|
|
1904
|
+
},
|
|
1905
|
+
showBack: {
|
|
1906
|
+
type: Boolean,
|
|
1907
|
+
default: false
|
|
1908
|
+
},
|
|
1909
|
+
operType: {
|
|
1910
|
+
type: String,
|
|
1911
|
+
default: '0' //新增 0 编辑 1
|
|
1912
|
+
},
|
|
1913
|
+
formId: {
|
|
1914
|
+
type: String,
|
|
1915
|
+
default: '' //1858415537667837952
|
|
1916
|
+
},
|
|
1917
|
+
defaultUsers: {
|
|
1918
|
+
type: Array,
|
|
1919
|
+
default: function _default() {
|
|
1920
|
+
return [];
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
// 中间节点审批不同意,直接终止流程
|
|
1924
|
+
isTerminateTask: {
|
|
1925
|
+
type: Boolean,
|
|
1926
|
+
default: false
|
|
1927
|
+
},
|
|
1928
|
+
// 审批用户ID(身份证号)
|
|
1929
|
+
assigneeUserId: String,
|
|
1930
|
+
// 审批用户姓名
|
|
1931
|
+
assigneeUserName: String,
|
|
1932
|
+
// 审批用户机构代码
|
|
1933
|
+
assigneeOrgId: String,
|
|
1934
|
+
// 审批用户机构名称
|
|
1935
|
+
assigneeOrgName: String,
|
|
1936
|
+
// 消息标题
|
|
1937
|
+
msgTit: {
|
|
1938
|
+
type: String,
|
|
1939
|
+
default: ''
|
|
1940
|
+
},
|
|
1941
|
+
// 消息地址
|
|
1942
|
+
msgUrl: {
|
|
1943
|
+
type: String,
|
|
1944
|
+
default: ''
|
|
1945
|
+
},
|
|
1946
|
+
businessId: {
|
|
1947
|
+
type: String,
|
|
1948
|
+
default: ''
|
|
1949
|
+
},
|
|
1950
|
+
// 来源应用
|
|
1951
|
+
module: {
|
|
1952
|
+
type: String,
|
|
1953
|
+
default: ''
|
|
1954
|
+
},
|
|
1955
|
+
variables: {
|
|
1956
|
+
type: Object,
|
|
1957
|
+
default: function _default() {
|
|
1958
|
+
return {};
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
// 来源消息平台
|
|
1962
|
+
platform: {
|
|
1963
|
+
type: String,
|
|
1964
|
+
default: 'pc'
|
|
1965
|
+
},
|
|
1966
|
+
// 流程审核完成后事件
|
|
1967
|
+
auditComplete: {
|
|
1968
|
+
type: Function,
|
|
1969
|
+
default: null
|
|
1970
|
+
},
|
|
1971
|
+
error: {
|
|
1972
|
+
type: Function,
|
|
1973
|
+
default: null
|
|
1974
|
+
},
|
|
1975
|
+
// 流程审核前事件
|
|
1976
|
+
beforeAudit: {
|
|
1977
|
+
type: Function,
|
|
1978
|
+
default: null
|
|
1979
|
+
},
|
|
1980
|
+
customSlotName: {
|
|
1981
|
+
type: String,
|
|
1982
|
+
default: ''
|
|
1983
|
+
},
|
|
1984
|
+
tit: {
|
|
1985
|
+
type: String,
|
|
1986
|
+
default: '审批'
|
|
1987
|
+
},
|
|
1988
|
+
beforeOpen: { //打开审批组件前置事件
|
|
1989
|
+
type: Function,
|
|
1990
|
+
default: null
|
|
1991
|
+
},
|
|
1992
|
+
// 自定义卡槽内容是否绑定点击事件
|
|
1993
|
+
bindEvent: {
|
|
1994
|
+
type: Boolean,
|
|
1995
|
+
default: true
|
|
1996
|
+
},
|
|
1997
|
+
showCustomSlot: {
|
|
1998
|
+
type: Boolean,
|
|
1999
|
+
default: false
|
|
2000
|
+
},
|
|
2001
|
+
/* showFileUpload: {
|
|
2002
|
+
type: Boolean,
|
|
2003
|
+
default: false
|
|
2004
|
+
}, */
|
|
2005
|
+
showcc: {
|
|
2006
|
+
type: Boolean,
|
|
2007
|
+
default: false
|
|
2008
|
+
},
|
|
2009
|
+
confirmBtnText: {
|
|
2010
|
+
type: String,
|
|
2011
|
+
default: "提 交"
|
|
2012
|
+
},
|
|
2013
|
+
cancelBtnText: {
|
|
2014
|
+
type: String,
|
|
2015
|
+
default: "取 消"
|
|
2016
|
+
},
|
|
2017
|
+
modalWidth: {
|
|
2018
|
+
type: String,
|
|
2019
|
+
default: "800"
|
|
2020
|
+
},
|
|
2021
|
+
modalHeight: {
|
|
2022
|
+
type: String,
|
|
2023
|
+
default: "500"
|
|
2024
|
+
},
|
|
2025
|
+
extraOrgId: {
|
|
2026
|
+
type: String,
|
|
2027
|
+
default: ''
|
|
2028
|
+
},
|
|
2029
|
+
extraRegId: {
|
|
2030
|
+
type: String,
|
|
2031
|
+
default: ''
|
|
2032
|
+
},
|
|
2033
|
+
selectUsers: {
|
|
2034
|
+
type: String,
|
|
2035
|
+
default: ''
|
|
2036
|
+
},
|
|
2037
|
+
extraCityId: {
|
|
2038
|
+
type: String,
|
|
2039
|
+
default: ''
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
components: {
|
|
2043
|
+
userSelector: __WEBPACK_IMPORTED_MODULE_0_gs_user_selector__["userSelector"]
|
|
2044
|
+
},
|
|
2045
|
+
data: function data() {
|
|
2046
|
+
return {
|
|
2047
|
+
formArr: [],
|
|
2048
|
+
formDataVarObj: {},
|
|
2049
|
+
ProcessVarObj: {},
|
|
2050
|
+
indeterminate: false,
|
|
2051
|
+
checkAll: true,
|
|
2052
|
+
bootData: {},
|
|
2053
|
+
custom_loading: false,
|
|
2054
|
+
hasApproveAuth: false,
|
|
2055
|
+
activeTab: "track",
|
|
2056
|
+
currentNodeName: "",
|
|
2057
|
+
currentNodeId: "",
|
|
2058
|
+
isLastUserTask: false,
|
|
2059
|
+
showApproveUser: true,
|
|
2060
|
+
showTc: true,
|
|
2061
|
+
formValidate: {
|
|
2062
|
+
taskId: "",
|
|
2063
|
+
isApprove: "1",
|
|
2064
|
+
isApproveStr: "同意上报",
|
|
2065
|
+
approvalContent: "同意上报",
|
|
2066
|
+
approvalDate: this.dateFormat(new Date()),
|
|
2067
|
+
csldbh: "",
|
|
2068
|
+
candidateUsers: [],
|
|
2069
|
+
isBack: false,
|
|
2070
|
+
isDelegateTask: false,
|
|
2071
|
+
delegateUserId: "",
|
|
2072
|
+
delegateUserName: ""
|
|
2073
|
+
},
|
|
2074
|
+
currTask: {},
|
|
2075
|
+
component: null,
|
|
2076
|
+
showSelectModal: false,
|
|
2077
|
+
formLabel: {
|
|
2078
|
+
approvalContent: "审核意见",
|
|
2079
|
+
approvalDate: "审核时间",
|
|
2080
|
+
approvalNode: "审核节点",
|
|
2081
|
+
approvalOrg: "审核部门",
|
|
2082
|
+
approvalUser: "审核人"
|
|
2083
|
+
},
|
|
2084
|
+
ruleValidate: {
|
|
2085
|
+
isApprove: [{
|
|
2086
|
+
required: true,
|
|
2087
|
+
message: "审核结果不能为空",
|
|
2088
|
+
trigger: "blur,change"
|
|
2089
|
+
}],
|
|
2090
|
+
approvalContent: [{
|
|
2091
|
+
required: true,
|
|
2092
|
+
message: "审核意见不能为空",
|
|
2093
|
+
trigger: "blur,change"
|
|
2094
|
+
}],
|
|
2095
|
+
approvalDate: [{
|
|
2096
|
+
required: true,
|
|
2097
|
+
message: "审核时间不能为空",
|
|
2098
|
+
trigger: "blur,change",
|
|
2099
|
+
pattern: /.+/
|
|
2100
|
+
}],
|
|
2101
|
+
delegateUserName: [{
|
|
2102
|
+
required: true,
|
|
2103
|
+
message: "委派人不能为空",
|
|
2104
|
+
trigger: "blur,change"
|
|
2105
|
+
}],
|
|
2106
|
+
approveCheckedUser: [{
|
|
2107
|
+
required: true,
|
|
2108
|
+
message: "审批人不能为空",
|
|
2109
|
+
trigger: "blur,change"
|
|
2110
|
+
}],
|
|
2111
|
+
backNodeId: [{
|
|
2112
|
+
required: true,
|
|
2113
|
+
message: "退回节点不能为空",
|
|
2114
|
+
trigger: "blur,change"
|
|
2115
|
+
}]
|
|
2116
|
+
},
|
|
2117
|
+
orgArr: [],
|
|
2118
|
+
selectOrgArr: [],
|
|
2119
|
+
orgUserList: [],
|
|
2120
|
+
checkedUser: [],
|
|
2121
|
+
trackArr: [],
|
|
2122
|
+
curNodeBtnMarkArr: [],
|
|
2123
|
+
delegationState: "",
|
|
2124
|
+
delegationName: "",
|
|
2125
|
+
disabledSubmit: false,
|
|
2126
|
+
// 审批意见型按钮数组
|
|
2127
|
+
optionsBtnArr: [],
|
|
2128
|
+
// 自定义类型按钮
|
|
2129
|
+
customBtnArr: [],
|
|
2130
|
+
isApprove: '1',
|
|
2131
|
+
rollbackNodeList: [],
|
|
2132
|
+
csldList: [], // 抄送领导
|
|
2133
|
+
isOpen: false,
|
|
2134
|
+
uploadList: [],
|
|
2135
|
+
reference: null,
|
|
2136
|
+
selectNode: '',
|
|
2137
|
+
nextNodeList: [],
|
|
2138
|
+
//所选择的节点是否需要法制审核
|
|
2139
|
+
selectNodeSffzsh: false,
|
|
2140
|
+
//当前节点是否是法制审核节点
|
|
2141
|
+
curNodeSffzsh: false,
|
|
2142
|
+
//当前同意按钮名称
|
|
2143
|
+
curAgreeButtonName: '',
|
|
2144
|
+
//委派人员
|
|
2145
|
+
delegateUser: {}
|
|
2146
|
+
};
|
|
2147
|
+
}
|
|
2148
|
+
});
|
|
2149
|
+
|
|
2150
|
+
/***/ }),
|
|
2151
|
+
/* 12 */
|
|
2152
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2153
|
+
|
|
2154
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2155
|
+
if(true)
|
|
2156
|
+
module.exports = factory();
|
|
2157
|
+
else if(typeof define === 'function' && define.amd)
|
|
2158
|
+
define("gs-user-selector", [], factory);
|
|
2159
|
+
else if(typeof exports === 'object')
|
|
2160
|
+
exports["gs-user-selector"] = factory();
|
|
2161
|
+
else
|
|
2162
|
+
root["gs-user-selector"] = factory();
|
|
2163
|
+
})(typeof self !== 'undefined' ? self : this, function() {
|
|
2164
|
+
return /******/ (function(modules) { // webpackBootstrap
|
|
2165
|
+
/******/ // The module cache
|
|
2166
|
+
/******/ var installedModules = {};
|
|
2167
|
+
/******/
|
|
2168
|
+
/******/ // The require function
|
|
2169
|
+
/******/ function __webpack_require__(moduleId) {
|
|
2170
|
+
/******/
|
|
2171
|
+
/******/ // Check if module is in cache
|
|
2172
|
+
/******/ if(installedModules[moduleId]) {
|
|
2173
|
+
/******/ return installedModules[moduleId].exports;
|
|
2174
|
+
/******/ }
|
|
2175
|
+
/******/ // Create a new module (and put it into the cache)
|
|
2176
|
+
/******/ var module = installedModules[moduleId] = {
|
|
2177
|
+
/******/ i: moduleId,
|
|
2178
|
+
/******/ l: false,
|
|
2179
|
+
/******/ exports: {}
|
|
2180
|
+
/******/ };
|
|
2181
|
+
/******/
|
|
2182
|
+
/******/ // Execute the module function
|
|
2183
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
2184
|
+
/******/
|
|
2185
|
+
/******/ // Flag the module as loaded
|
|
2186
|
+
/******/ module.l = true;
|
|
2187
|
+
/******/
|
|
2188
|
+
/******/ // Return the exports of the module
|
|
2189
|
+
/******/ return module.exports;
|
|
2190
|
+
/******/ }
|
|
2191
|
+
/******/
|
|
2192
|
+
/******/
|
|
2193
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
2194
|
+
/******/ __webpack_require__.m = modules;
|
|
2195
|
+
/******/
|
|
2196
|
+
/******/ // expose the module cache
|
|
2197
|
+
/******/ __webpack_require__.c = installedModules;
|
|
2198
|
+
/******/
|
|
2199
|
+
/******/ // define getter function for harmony exports
|
|
2200
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
2201
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
2202
|
+
/******/ Object.defineProperty(exports, name, {
|
|
2203
|
+
/******/ configurable: false,
|
|
2204
|
+
/******/ enumerable: true,
|
|
2205
|
+
/******/ get: getter
|
|
2206
|
+
/******/ });
|
|
2207
|
+
/******/ }
|
|
2208
|
+
/******/ };
|
|
2209
|
+
/******/
|
|
2210
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
2211
|
+
/******/ __webpack_require__.n = function(module) {
|
|
2212
|
+
/******/ var getter = module && module.__esModule ?
|
|
2213
|
+
/******/ function getDefault() { return module['default']; } :
|
|
2214
|
+
/******/ function getModuleExports() { return module; };
|
|
2215
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
2216
|
+
/******/ return getter;
|
|
2217
|
+
/******/ };
|
|
2218
|
+
/******/
|
|
2219
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
2220
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
2221
|
+
/******/
|
|
2222
|
+
/******/ // __webpack_public_path__
|
|
2223
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
2224
|
+
/******/
|
|
2225
|
+
/******/ // Load entry module and return exports
|
|
2226
|
+
/******/ return __webpack_require__(__webpack_require__.s = 1);
|
|
2227
|
+
/******/ })
|
|
2228
|
+
/************************************************************************/
|
|
2229
|
+
/******/ ([
|
|
2230
|
+
/* 0 */
|
|
2231
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2232
|
+
|
|
2233
|
+
"use strict";
|
|
2234
|
+
//
|
|
2235
|
+
//
|
|
2236
|
+
//
|
|
2237
|
+
//
|
|
2238
|
+
//
|
|
2239
|
+
//
|
|
2240
|
+
//
|
|
2241
|
+
//
|
|
2242
|
+
//
|
|
2243
|
+
//
|
|
2244
|
+
//
|
|
2245
|
+
//
|
|
2246
|
+
//
|
|
2247
|
+
//
|
|
2248
|
+
//
|
|
2249
|
+
//
|
|
2250
|
+
//
|
|
2251
|
+
//
|
|
2252
|
+
//
|
|
2253
|
+
//
|
|
2254
|
+
//
|
|
2255
|
+
//
|
|
2256
|
+
//
|
|
2257
|
+
//
|
|
2258
|
+
//
|
|
2259
|
+
//
|
|
2260
|
+
//
|
|
2261
|
+
//
|
|
2262
|
+
//
|
|
2263
|
+
//
|
|
2264
|
+
//
|
|
2265
|
+
//
|
|
2266
|
+
//
|
|
2267
|
+
//
|
|
2268
|
+
//
|
|
2269
|
+
//
|
|
2270
|
+
//
|
|
2271
|
+
//
|
|
2272
|
+
//
|
|
2273
|
+
//
|
|
2274
|
+
//
|
|
2275
|
+
//
|
|
2276
|
+
//
|
|
2277
|
+
//
|
|
2278
|
+
//
|
|
2279
|
+
//
|
|
2280
|
+
//
|
|
2281
|
+
//
|
|
2282
|
+
//
|
|
2283
|
+
//
|
|
2284
|
+
//
|
|
2285
|
+
//
|
|
2286
|
+
//
|
|
2287
|
+
//
|
|
2288
|
+
//
|
|
2289
|
+
//
|
|
2290
|
+
//
|
|
2291
|
+
//
|
|
2292
|
+
//
|
|
2293
|
+
//
|
|
2294
|
+
//
|
|
2295
|
+
//
|
|
2296
|
+
//
|
|
2297
|
+
//
|
|
2298
|
+
//
|
|
2299
|
+
//
|
|
2300
|
+
//
|
|
2301
|
+
//
|
|
2302
|
+
//
|
|
2303
|
+
//
|
|
2304
|
+
//
|
|
2305
|
+
//
|
|
2306
|
+
//
|
|
2307
|
+
//
|
|
2308
|
+
//
|
|
2309
|
+
//
|
|
2310
|
+
//
|
|
2311
|
+
//
|
|
2312
|
+
//
|
|
2313
|
+
//
|
|
2314
|
+
//
|
|
2315
|
+
//
|
|
2316
|
+
//
|
|
2317
|
+
//
|
|
2318
|
+
//
|
|
2319
|
+
//
|
|
2320
|
+
//
|
|
2321
|
+
//
|
|
2322
|
+
//
|
|
2323
|
+
//
|
|
2324
|
+
//
|
|
2325
|
+
//
|
|
2326
|
+
//
|
|
2327
|
+
//
|
|
2328
|
+
//
|
|
2329
|
+
//
|
|
2330
|
+
//
|
|
2331
|
+
//
|
|
2332
|
+
//
|
|
2333
|
+
//
|
|
2334
|
+
//
|
|
2335
|
+
//
|
|
2336
|
+
//
|
|
2337
|
+
//
|
|
2338
|
+
//
|
|
2339
|
+
//
|
|
2340
|
+
//
|
|
2341
|
+
//
|
|
2342
|
+
|
|
2343
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
2344
|
+
name: 'user-selector',
|
|
2345
|
+
props: {
|
|
2346
|
+
// 禁止选择人员
|
|
2347
|
+
disabledCard: {
|
|
2348
|
+
type: String,
|
|
2349
|
+
default: ''
|
|
2350
|
+
},
|
|
2351
|
+
// 选择框的值
|
|
2352
|
+
value: {
|
|
2353
|
+
type: String,
|
|
2354
|
+
default: ''
|
|
2355
|
+
},
|
|
2356
|
+
text: {
|
|
2357
|
+
type: String,
|
|
2358
|
+
default: ''
|
|
2359
|
+
},
|
|
2360
|
+
tit: {
|
|
2361
|
+
type: String,
|
|
2362
|
+
default: '民警选择'
|
|
2363
|
+
},
|
|
2364
|
+
// 页面上放置返回内容的id(id或loginId或idCard)
|
|
2365
|
+
idField: String,
|
|
2366
|
+
// 返回字段,结合idField使用(id或loginId或idCard)
|
|
2367
|
+
// 例如返回身份证展示在页面上:<input :id="test" value="" />,则idField为test,returnField为idCard
|
|
2368
|
+
returnField: {
|
|
2369
|
+
type: String,
|
|
2370
|
+
default: 'idCard'
|
|
2371
|
+
},
|
|
2372
|
+
button: {
|
|
2373
|
+
type: String,
|
|
2374
|
+
default: '选 择'
|
|
2375
|
+
},
|
|
2376
|
+
// 数量表达式(对选择人数的限制,例如num>2,num3)
|
|
2377
|
+
numExp: {
|
|
2378
|
+
type: String,
|
|
2379
|
+
default: ''
|
|
2380
|
+
},
|
|
2381
|
+
orgCode: {
|
|
2382
|
+
type: String,
|
|
2383
|
+
default: ''
|
|
2384
|
+
},
|
|
2385
|
+
bindEvent: {
|
|
2386
|
+
type: Boolean,
|
|
2387
|
+
default: true
|
|
2388
|
+
},
|
|
2389
|
+
// 不满足数量表达式时的提示信息
|
|
2390
|
+
msg: String,
|
|
2391
|
+
disabled: {
|
|
2392
|
+
type: Boolean,
|
|
2393
|
+
default: false
|
|
2394
|
+
},
|
|
2395
|
+
// 当传入显示文本为空时,默认是否查询显示文本内容
|
|
2396
|
+
defaultSearchText: {
|
|
2397
|
+
type: Boolean,
|
|
2398
|
+
default: false
|
|
2399
|
+
},
|
|
2400
|
+
orgChange: {
|
|
2401
|
+
type: Boolean,
|
|
2402
|
+
default: true
|
|
2403
|
+
},
|
|
2404
|
+
// 是否默认全选单位
|
|
2405
|
+
defaultSelectAll: {
|
|
2406
|
+
type: Boolean,
|
|
2407
|
+
default: false
|
|
2408
|
+
},
|
|
2409
|
+
// 岗位
|
|
2410
|
+
post: {
|
|
2411
|
+
type: String,
|
|
2412
|
+
default: ''
|
|
2413
|
+
},
|
|
2414
|
+
// 是否可选择岗位
|
|
2415
|
+
selectPost: {
|
|
2416
|
+
type: Boolean,
|
|
2417
|
+
default: false
|
|
2418
|
+
},
|
|
2419
|
+
// 岗位多选
|
|
2420
|
+
multiPost: {
|
|
2421
|
+
type: Boolean,
|
|
2422
|
+
default: true
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
data: function data() {
|
|
2426
|
+
return {
|
|
2427
|
+
title: '用户选择',
|
|
2428
|
+
modal: false,
|
|
2429
|
+
showmModal: false,
|
|
2430
|
+
// 单位编号(修改后id保存的其实就是code的值,后台只需维护一个字段,前端this.$store.state.common.orgCode依然保存的是单位编号)
|
|
2431
|
+
orgId: '',
|
|
2432
|
+
// 查询条件(姓名、登录名、身份证号等)
|
|
2433
|
+
condition: '',
|
|
2434
|
+
// 是否包含其他单位
|
|
2435
|
+
hasOthers: false,
|
|
2436
|
+
// 左侧已选民警身份证号数组
|
|
2437
|
+
selectedIdCardArr: [],
|
|
2438
|
+
// 右侧已选列表
|
|
2439
|
+
selectedList: [],
|
|
2440
|
+
// 左侧可选民警列表
|
|
2441
|
+
policeList: [],
|
|
2442
|
+
// 民警缓存,用于本地筛选
|
|
2443
|
+
policeCache: [],
|
|
2444
|
+
reference: null,
|
|
2445
|
+
timer: null,
|
|
2446
|
+
isSensitiveDataEncrypt: serverConfig.isSensitiveDataEncrypt,
|
|
2447
|
+
sensitiveDataEncryptMethod: serverConfig.sensitiveDataEncryptMethod,
|
|
2448
|
+
sensitiveDataProp: serverConfig.sensitiveDataProp,
|
|
2449
|
+
checkAll: false,
|
|
2450
|
+
postCode: this.post
|
|
2451
|
+
};
|
|
2452
|
+
},
|
|
2453
|
+
|
|
2454
|
+
watch: {
|
|
2455
|
+
value: function value(_value) {
|
|
2456
|
+
// 获取左侧民警数据
|
|
2457
|
+
this.getPoliceData();
|
|
2458
|
+
// 初始化已选择民警
|
|
2459
|
+
this.getPoliceByFieldData(_value);
|
|
2460
|
+
},
|
|
2461
|
+
selectedList: {
|
|
2462
|
+
handler: function handler(newvalue, oldvalue) {
|
|
2463
|
+
if (newvalue.length == 0) {
|
|
2464
|
+
this.checkAll = false;
|
|
2465
|
+
} else if (newvalue.length > 0 && newvalue.length == this.policeList.length) {
|
|
2466
|
+
this.checkAll = true;
|
|
2467
|
+
} else {
|
|
2468
|
+
this.checkAll = false;
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
|
|
2472
|
+
deep: true,
|
|
2473
|
+
immediate: true
|
|
2474
|
+
},
|
|
2475
|
+
// 监听禁止选择的用户信息
|
|
2476
|
+
disabledCard: {
|
|
2477
|
+
handler: function handler(newvalue, oldvalue) {
|
|
2478
|
+
var _this2 = this;
|
|
2479
|
+
|
|
2480
|
+
var arrnewvalue = newvalue ? newvalue.join(',') : [];
|
|
2481
|
+
// console.log('禁止选择的用户信息:', arrnewvalue)
|
|
2482
|
+
if (newvalue) {
|
|
2483
|
+
this.policeList.forEach(function (ele) {
|
|
2484
|
+
arrnewvalue.forEach(function (item) {
|
|
2485
|
+
if (item.idCard == ele.idCard) {
|
|
2486
|
+
_this2.$set(ele, 'disabled', true);
|
|
2487
|
+
}
|
|
2488
|
+
});
|
|
2489
|
+
});
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
|
|
2493
|
+
deep: true,
|
|
2494
|
+
immediate: true
|
|
2495
|
+
}
|
|
2496
|
+
},
|
|
2497
|
+
mounted: function mounted() {
|
|
2498
|
+
if (this.bindEvent && this.$slots.func) {
|
|
2499
|
+
this.reference = this.$slots.func[0].elm;
|
|
2500
|
+
this.reference.addEventListener('click', this.openDialog);
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
beforeDestroy: function beforeDestroy() {
|
|
2504
|
+
if (this.reference) {
|
|
2505
|
+
this.reference.removeEventListener('click', this.changeVisiable, false);
|
|
2506
|
+
}
|
|
2507
|
+
},
|
|
2508
|
+
|
|
2509
|
+
methods: {
|
|
2510
|
+
orgAll: function orgAll(val) {
|
|
2511
|
+
this.searchData();
|
|
2512
|
+
},
|
|
2513
|
+
openDialog: function openDialog(data, tag) {
|
|
2514
|
+
if (this.defaultSelectAll) this.hasOthers = true;
|
|
2515
|
+
this.orgId = this.orgCode ? this.orgCode : this.$store.state.common.orgCode;
|
|
2516
|
+
// 获取左侧民警数据
|
|
2517
|
+
this.getPoliceData();
|
|
2518
|
+
// 初始化已选择民警
|
|
2519
|
+
var openData = !tag ? data : this.value || data;
|
|
2520
|
+
this.getPoliceByFieldData(openData);
|
|
2521
|
+
this.showmModal = true;
|
|
2522
|
+
this.modal = true;
|
|
2523
|
+
},
|
|
2524
|
+
clearData: function clearData() {
|
|
2525
|
+
this.$emit('input', '');
|
|
2526
|
+
this.$emit('update:text', '');
|
|
2527
|
+
this.$emit('onClear');
|
|
2528
|
+
},
|
|
2529
|
+
|
|
2530
|
+
// 民警数据解密
|
|
2531
|
+
decrypt: function decrypt(userList) {
|
|
2532
|
+
var userListUncode = userList;
|
|
2533
|
+
// 加密的属性
|
|
2534
|
+
var propList = this.sensitiveDataProp.split(',');
|
|
2535
|
+
var _iteratorNormalCompletion = true;
|
|
2536
|
+
var _didIteratorError = false;
|
|
2537
|
+
var _iteratorError = undefined;
|
|
2538
|
+
|
|
2539
|
+
try {
|
|
2540
|
+
for (var _iterator = userListUncode[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
2541
|
+
var user = _step.value;
|
|
2542
|
+
var _iteratorNormalCompletion2 = true;
|
|
2543
|
+
var _didIteratorError2 = false;
|
|
2544
|
+
var _iteratorError2 = undefined;
|
|
2545
|
+
|
|
2546
|
+
try {
|
|
2547
|
+
for (var _iterator2 = propList[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
2548
|
+
var prop = _step2.value;
|
|
2549
|
+
|
|
2550
|
+
if (prop in user) {
|
|
2551
|
+
// 加密方式判断
|
|
2552
|
+
if (this.sensitiveDataEncryptMethod == "base64") {
|
|
2553
|
+
user[prop] = decodeURIComponent(atob(user[prop]));
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
} catch (err) {
|
|
2558
|
+
_didIteratorError2 = true;
|
|
2559
|
+
_iteratorError2 = err;
|
|
2560
|
+
} finally {
|
|
2561
|
+
try {
|
|
2562
|
+
if (!_iteratorNormalCompletion2 && _iterator2.return) {
|
|
2563
|
+
_iterator2.return();
|
|
2564
|
+
}
|
|
2565
|
+
} finally {
|
|
2566
|
+
if (_didIteratorError2) {
|
|
2567
|
+
throw _iteratorError2;
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
} catch (err) {
|
|
2573
|
+
_didIteratorError = true;
|
|
2574
|
+
_iteratorError = err;
|
|
2575
|
+
} finally {
|
|
2576
|
+
try {
|
|
2577
|
+
if (!_iteratorNormalCompletion && _iterator.return) {
|
|
2578
|
+
_iterator.return();
|
|
2579
|
+
}
|
|
2580
|
+
} finally {
|
|
2581
|
+
if (_didIteratorError) {
|
|
2582
|
+
throw _iteratorError;
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
return userListUncode;
|
|
2588
|
+
},
|
|
2589
|
+
|
|
2590
|
+
// 获取民警数据
|
|
2591
|
+
getPoliceData: function getPoliceData() {
|
|
2592
|
+
var _this3 = this;
|
|
2593
|
+
|
|
2594
|
+
var orgId = this.orgId;
|
|
2595
|
+
// 查询全部
|
|
2596
|
+
if (this.hasOthers) {
|
|
2597
|
+
orgId = '';
|
|
2598
|
+
}
|
|
2599
|
+
this.policeList = [];
|
|
2600
|
+
// 查询服务获取民警列表
|
|
2601
|
+
this.$store.dispatch('postRequest', {
|
|
2602
|
+
url: '/bsp-uac/uac/user/getOptionalPolice', params: { orgId: orgId, condition: this.condition, post: this.postCode }
|
|
2603
|
+
}).then(function (d) {
|
|
2604
|
+
if (d.success) {
|
|
2605
|
+
if (_this3.isSensitiveDataEncrypt) {
|
|
2606
|
+
d.data = _this3.decrypt(d.data);
|
|
2607
|
+
}
|
|
2608
|
+
d.data.forEach(function (item) {
|
|
2609
|
+
item.keyId = '' + item.idCard + item.orgId;
|
|
2610
|
+
});
|
|
2611
|
+
_this3.policeList = d.data;
|
|
2612
|
+
_this3.policeCache = d.data;
|
|
2613
|
+
_this3.selectedIdCardArr = [];
|
|
2614
|
+
if (_this3.selectedList.length > 0) {
|
|
2615
|
+
var _iteratorNormalCompletion3 = true;
|
|
2616
|
+
var _didIteratorError3 = false;
|
|
2617
|
+
var _iteratorError3 = undefined;
|
|
2618
|
+
|
|
2619
|
+
try {
|
|
2620
|
+
for (var _iterator3 = _this3.selectedList[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {
|
|
2621
|
+
var i = _step3.value;
|
|
2622
|
+
|
|
2623
|
+
if (_this3.isSensitiveDataEncrypt) {
|
|
2624
|
+
_this3.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
|
|
2625
|
+
} else {
|
|
2626
|
+
var obj = '' + i.idCard + i.orgId;
|
|
2627
|
+
_this3.selectedIdCardArr.push(obj);
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
// console.log(this.selectedIdCardArr,'this.selectedIdCardArr')
|
|
2631
|
+
} catch (err) {
|
|
2632
|
+
_didIteratorError3 = true;
|
|
2633
|
+
_iteratorError3 = err;
|
|
2634
|
+
} finally {
|
|
2635
|
+
try {
|
|
2636
|
+
if (!_iteratorNormalCompletion3 && _iterator3.return) {
|
|
2637
|
+
_iterator3.return();
|
|
2638
|
+
}
|
|
2639
|
+
} finally {
|
|
2640
|
+
if (_didIteratorError3) {
|
|
2641
|
+
throw _iteratorError3;
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
} else {
|
|
2647
|
+
console.log(d.msg);
|
|
2648
|
+
}
|
|
2649
|
+
});
|
|
2650
|
+
},
|
|
2651
|
+
|
|
2652
|
+
// 根据字段初始值获取民警信息
|
|
2653
|
+
getPoliceByFieldData: function getPoliceByFieldData(data) {
|
|
2654
|
+
var _this4 = this;
|
|
2655
|
+
|
|
2656
|
+
var _this = this;
|
|
2657
|
+
if (!data) {
|
|
2658
|
+
this.selectedIdCardArr = [];
|
|
2659
|
+
this.selectedList = [];
|
|
2660
|
+
return;
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
this.$store.dispatch('postRequest', { url: '/bsp-uac/uac/user/getByFieldData', params: { field: this.returnField, value: data } }).then(function (d) {
|
|
2664
|
+
if (d.success) {
|
|
2665
|
+
// 渲染右侧列表
|
|
2666
|
+
d.data.forEach(function (item, index) {
|
|
2667
|
+
item.keyId = '' + item.idCard + _this4.orgId;
|
|
2668
|
+
});
|
|
2669
|
+
_this.selectedList = d.data;
|
|
2670
|
+
_this4.selectedIdCardArr = [];
|
|
2671
|
+
if (_this4.policeList.length > 0) {
|
|
2672
|
+
var _iteratorNormalCompletion4 = true;
|
|
2673
|
+
var _didIteratorError4 = false;
|
|
2674
|
+
var _iteratorError4 = undefined;
|
|
2675
|
+
|
|
2676
|
+
try {
|
|
2677
|
+
for (var _iterator4 = _this4.selectedList[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
|
|
2678
|
+
var i = _step4.value;
|
|
2679
|
+
|
|
2680
|
+
if (_this4.isSensitiveDataEncrypt) {
|
|
2681
|
+
_this4.selectedIdCardArr.push(decodeURIComponent(atob(i.idCard)) + i.orgId);
|
|
2682
|
+
} else {
|
|
2683
|
+
var obj = '' + i.idCard + i.orgId;
|
|
2684
|
+
_this4.selectedIdCardArr.push(obj);
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
} catch (err) {
|
|
2688
|
+
_didIteratorError4 = true;
|
|
2689
|
+
_iteratorError4 = err;
|
|
2690
|
+
} finally {
|
|
2691
|
+
try {
|
|
2692
|
+
if (!_iteratorNormalCompletion4 && _iterator4.return) {
|
|
2693
|
+
_iterator4.return();
|
|
2694
|
+
}
|
|
2695
|
+
} finally {
|
|
2696
|
+
if (_didIteratorError4) {
|
|
2697
|
+
throw _iteratorError4;
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
// 渲染左侧选中状态
|
|
2704
|
+
setTimeout(function () {}, 1000);
|
|
2705
|
+
|
|
2706
|
+
// 渲染左侧选中状态
|
|
2707
|
+
// if (_this.selectedList != undefined && _this.selectedList != null) {
|
|
2708
|
+
// this.selectedIdCardArr = []
|
|
2709
|
+
// _this.selectedList.forEach((item, index) => {
|
|
2710
|
+
// this.selectedIdCardArr.push(item.keyId)
|
|
2711
|
+
// /* let idx = this.selectedIdCardArr.indexOf(item.idCard)
|
|
2712
|
+
// if(idx === -1){
|
|
2713
|
+
// this.selectedIdCardArr.push(item.idCard)
|
|
2714
|
+
// } */
|
|
2715
|
+
// if (!this.text && this.defaultSearchText) {
|
|
2716
|
+
// let names = []
|
|
2717
|
+
// let ids = []
|
|
2718
|
+
// this.selectedList.forEach(item => {
|
|
2719
|
+
// names.push(item.name)
|
|
2720
|
+
// ids.push(item[this.returnField])
|
|
2721
|
+
// })
|
|
2722
|
+
|
|
2723
|
+
// let textValue = names.join(',')
|
|
2724
|
+
// this.$emit('update:text', textValue)
|
|
2725
|
+
// }
|
|
2726
|
+
// })
|
|
2727
|
+
// }
|
|
2728
|
+
} else {
|
|
2729
|
+
_this4.$Modal.warning({
|
|
2730
|
+
title: '温馨提示',
|
|
2731
|
+
content: d.msg
|
|
2732
|
+
});
|
|
2733
|
+
}
|
|
2734
|
+
});
|
|
2735
|
+
},
|
|
2736
|
+
|
|
2737
|
+
// keyUp监听
|
|
2738
|
+
onKeyUp: function onKeyUp() {
|
|
2739
|
+
var _this = this;
|
|
2740
|
+
var oldValue = _this.condition;
|
|
2741
|
+
if (_this.timer) {
|
|
2742
|
+
clearInterval(_this.timer);
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
_this.timer = setInterval(function () {
|
|
2746
|
+
if (oldValue === _this.condition) {
|
|
2747
|
+
_this.searchData();
|
|
2748
|
+
clearInterval(_this.timer);
|
|
2749
|
+
}
|
|
2750
|
+
}, 500);
|
|
2751
|
+
},
|
|
2752
|
+
|
|
2753
|
+
// 改变单位
|
|
2754
|
+
changeOrg: function changeOrg() {
|
|
2755
|
+
this.condition = '';
|
|
2756
|
+
this.getPoliceData();
|
|
2757
|
+
},
|
|
2758
|
+
|
|
2759
|
+
// 改变岗位
|
|
2760
|
+
changePost: function changePost() {
|
|
2761
|
+
this.condition = '';
|
|
2762
|
+
this.getPoliceData();
|
|
2763
|
+
},
|
|
2764
|
+
|
|
2765
|
+
// 搜索
|
|
2766
|
+
searchData: function searchData() {
|
|
2767
|
+
if (this.hasOthers) {
|
|
2768
|
+
// 从服务器查询
|
|
2769
|
+
this.getPoliceData();
|
|
2770
|
+
} else {
|
|
2771
|
+
// 从缓存中查询
|
|
2772
|
+
this.policeList = [];
|
|
2773
|
+
|
|
2774
|
+
for (var i = 0; i < this.policeCache.length; i++) {
|
|
2775
|
+
var condition = this.condition;
|
|
2776
|
+
if (condition != '') {
|
|
2777
|
+
if (this.policeCache[i].name.indexOf(condition) != -1 || this.policeCache[i].loginId.indexOf(condition) != -1 || this.policeCache[i].idCard.toUpperCase().indexOf(condition.toUpperCase()) != -1) {
|
|
2778
|
+
this.policeList.push(this.policeCache[i]);
|
|
2779
|
+
// break;
|
|
2780
|
+
}
|
|
2781
|
+
} else {
|
|
2782
|
+
this.getPoliceData();
|
|
2783
|
+
break;
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
|
|
2789
|
+
// 左侧民警选择事件ss
|
|
2790
|
+
selectPolice: function selectPolice(index, item) {
|
|
2791
|
+
if (item.disabled) {
|
|
2792
|
+
return;
|
|
2793
|
+
}
|
|
2794
|
+
var idx = this.selectedIdCardArr.indexOf(item.keyId);
|
|
2795
|
+
if (idx != -1) {
|
|
2796
|
+
this.selectedIdCardArr.splice(idx, 1);
|
|
2797
|
+
this.selectedList = this.selectedList.filter(function (obj) {
|
|
2798
|
+
return obj.keyId !== item.keyId;
|
|
2799
|
+
});
|
|
2800
|
+
if (this.selectedList.length == 0) {
|
|
2801
|
+
return false;
|
|
2802
|
+
}
|
|
2803
|
+
} else {
|
|
2804
|
+
if (this.numExp === 'num==1') {
|
|
2805
|
+
this.selectedIdCardArr = [];
|
|
2806
|
+
this.selectedList = [];
|
|
2807
|
+
}
|
|
2808
|
+
this.selectedIdCardArr.push(item.keyId);
|
|
2809
|
+
|
|
2810
|
+
if (this.isSensitiveDataEncrypt) {
|
|
2811
|
+
item.idCard = window.btoa(unescape(encodeURIComponent(item.idCard)));
|
|
2812
|
+
}
|
|
2813
|
+
// 添加到右侧已选列表
|
|
2814
|
+
this.selectedList.push(item);
|
|
2815
|
+
}
|
|
2816
|
+
},
|
|
2817
|
+
|
|
2818
|
+
// 右侧删除事件
|
|
2819
|
+
cancelSelected: function cancelSelected(item, index) {
|
|
2820
|
+
// console.log(this.selectedIdCardArr, item, index, 'this.selectedIdCardArr')
|
|
2821
|
+
// this.$set(item,'idCardOrgid',item.idCard+item.orgId)
|
|
2822
|
+
var idx = this.selectedIdCardArr.indexOf(item.keyId);
|
|
2823
|
+
if (idx != -1) {
|
|
2824
|
+
this.selectedIdCardArr.splice(idx, 1);
|
|
2825
|
+
this.selectedList.splice(index, 1);
|
|
2826
|
+
} else {
|
|
2827
|
+
var ids = this.selectedList.findIndex(function (ele) {
|
|
2828
|
+
return item.keyId === ele.keyId;
|
|
2829
|
+
});
|
|
2830
|
+
this.selectedList.splice(ids, 1);
|
|
2831
|
+
}
|
|
2832
|
+
this.checkAll = false;
|
|
2833
|
+
},
|
|
2834
|
+
|
|
2835
|
+
// 对话框确定事件
|
|
2836
|
+
ok: function ok() {
|
|
2837
|
+
var _this5 = this;
|
|
2838
|
+
|
|
2839
|
+
// 是否选择人员
|
|
2840
|
+
// if (this.selectedList.length == 0) {
|
|
2841
|
+
// this.$Modal.warning({
|
|
2842
|
+
// title: '温馨提示',
|
|
2843
|
+
// content: this.msg
|
|
2844
|
+
// });
|
|
2845
|
+
// return false
|
|
2846
|
+
// }
|
|
2847
|
+
|
|
2848
|
+
// 人数条件判断
|
|
2849
|
+
var num = this.selectedList.length;
|
|
2850
|
+
if (this.selectedList.length == 0 || this.numExp && !eval(this.numExp)) {
|
|
2851
|
+
this.$Modal.warning({
|
|
2852
|
+
title: '温馨提示',
|
|
2853
|
+
content: this.msg
|
|
2854
|
+
});
|
|
2855
|
+
return false;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
var names = [];
|
|
2859
|
+
var ids = [];
|
|
2860
|
+
this.selectedList.forEach(function (item) {
|
|
2861
|
+
names.push(item.name);
|
|
2862
|
+
ids.push(item[_this5.returnField]);
|
|
2863
|
+
});
|
|
2864
|
+
this.$emit('input', ids.join(','));
|
|
2865
|
+
var textValue = names.join(',');
|
|
2866
|
+
this.$emit('update:text', textValue);
|
|
2867
|
+
this.$emit('onSelect', this.selectedList);
|
|
2868
|
+
this.cancel();
|
|
2869
|
+
},
|
|
2870
|
+
|
|
2871
|
+
// 对话框取消事件
|
|
2872
|
+
cancel: function cancel(bool) {
|
|
2873
|
+
this.modal = false;
|
|
2874
|
+
this.selectedIdCardArr = [];
|
|
2875
|
+
this.selectedList = [];
|
|
2876
|
+
if (bool) this.$emit('onCancel');
|
|
2877
|
+
},
|
|
2878
|
+
focus: function focus() {
|
|
2879
|
+
this.$refs['input'].focus();
|
|
2880
|
+
},
|
|
2881
|
+
|
|
2882
|
+
// 左侧民警选择事件(全选/反选)
|
|
2883
|
+
selectPoliceAll: function selectPoliceAll(index, item, checkAll) {
|
|
2884
|
+
var idx = this.selectedIdCardArr.indexOf(item.keyId);
|
|
2885
|
+
if (idx != -1) {
|
|
2886
|
+
if (!checkAll) {
|
|
2887
|
+
this.selectedIdCardArr.splice(idx, 1);
|
|
2888
|
+
this.selectedList = this.selectedList.filter(function (obj) {
|
|
2889
|
+
return obj.keyId !== item.keyId;
|
|
2890
|
+
});
|
|
2891
|
+
if (this.selectedList.length == 0) {
|
|
2892
|
+
return false;
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
} else {
|
|
2896
|
+
if (this.numExp === 'num==1') {
|
|
2897
|
+
this.selectedIdCardArr = [];
|
|
2898
|
+
this.selectedList = [];
|
|
2899
|
+
}
|
|
2900
|
+
this.selectedIdCardArr.push(item.keyId);
|
|
2901
|
+
|
|
2902
|
+
if (this.isSensitiveDataEncrypt) {
|
|
2903
|
+
item.idCard = window.btoa(unescape(encodeURIComponent(item.idCard)));
|
|
2904
|
+
}
|
|
2905
|
+
// 添加到右侧已选列表
|
|
2906
|
+
this.selectedList.push(item);
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
handleAllChecked: function handleAllChecked() {
|
|
2910
|
+
var _this6 = this;
|
|
2911
|
+
|
|
2912
|
+
this.checkAll = !this.checkAll;
|
|
2913
|
+
this.policeList.forEach(function (item, index) {
|
|
2914
|
+
_this6.selectPoliceAll(index, item, _this6.checkAll);
|
|
2915
|
+
});
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
});
|
|
2920
|
+
|
|
2921
|
+
/***/ }),
|
|
2922
|
+
/* 1 */
|
|
2923
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2924
|
+
|
|
2925
|
+
"use strict";
|
|
2926
|
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
2927
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__user_selector__ = __webpack_require__(2);
|
|
2928
|
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "userSelector", function() { return __WEBPACK_IMPORTED_MODULE_0__user_selector__["a"]; });
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
var Plugin = {
|
|
2932
|
+
install: function install(Vue) {
|
|
2933
|
+
Vue.component('user-selector', __WEBPACK_IMPORTED_MODULE_0__user_selector__["a" /* default */]);
|
|
2934
|
+
}
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2937
|
+
/* harmony default export */ __webpack_exports__["default"] = (Plugin);
|
|
2938
|
+
|
|
2939
|
+
/***/ }),
|
|
2940
|
+
/* 2 */
|
|
2941
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2942
|
+
|
|
2943
|
+
"use strict";
|
|
2944
|
+
/* 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);
|
|
2945
|
+
/* unused harmony namespace reexport */
|
|
2946
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_0fc04cd3_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);
|
|
2947
|
+
function injectStyle (ssrContext) {
|
|
2948
|
+
__webpack_require__(3)
|
|
2949
|
+
}
|
|
2950
|
+
var normalizeComponent = __webpack_require__(8)
|
|
2951
|
+
/* script */
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
/* template */
|
|
2955
|
+
|
|
2956
|
+
/* template functional */
|
|
2957
|
+
var __vue_template_functional__ = false
|
|
2958
|
+
/* styles */
|
|
2959
|
+
var __vue_styles__ = injectStyle
|
|
2960
|
+
/* scopeId */
|
|
2961
|
+
var __vue_scopeId__ = "data-v-0fc04cd3"
|
|
2962
|
+
/* moduleIdentifier (server only) */
|
|
2963
|
+
var __vue_module_identifier__ = null
|
|
2964
|
+
var Component = normalizeComponent(
|
|
2965
|
+
__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 */],
|
|
2966
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_0fc04cd3_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 */],
|
|
2967
|
+
__vue_template_functional__,
|
|
2968
|
+
__vue_styles__,
|
|
2969
|
+
__vue_scopeId__,
|
|
2970
|
+
__vue_module_identifier__
|
|
2971
|
+
)
|
|
2972
|
+
|
|
2973
|
+
/* harmony default export */ __webpack_exports__["a"] = (Component.exports);
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
/***/ }),
|
|
2977
|
+
/* 3 */
|
|
2978
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2979
|
+
|
|
2980
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2981
|
+
|
|
2982
|
+
// load the styles
|
|
2983
|
+
var content = __webpack_require__(4);
|
|
2984
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2985
|
+
if(content.locals) module.exports = content.locals;
|
|
2986
|
+
// add the styles to the DOM
|
|
2987
|
+
var update = __webpack_require__(6)("6ff4119c", content, true);
|
|
2988
|
+
|
|
2989
|
+
/***/ }),
|
|
2990
|
+
/* 4 */
|
|
2991
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2992
|
+
|
|
2993
|
+
exports = module.exports = __webpack_require__(5)(false);
|
|
2994
|
+
// imports
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
// module
|
|
2998
|
+
exports.push([module.i, "[data-v-0fc04cd3].ivu-input:hover{border:1px solid #cee0f0}[data-v-0fc04cd3].ivu-input:focus{border:1px solid #2b5fd9;box-shadow:none}[data-v-0fc04cd3].user-selector-modal .ivu-modal-header{padding:0!important}[data-v-0fc04cd3].user-selector-modal .ivu-modal-body{height:550px;padding:16px!important}[data-v-0fc04cd3].user-selector-modal .ivu-modal-footer{height:50px;line-height:50px;background:#f7faff;padding:0 18px}[data-v-0fc04cd3].user-selector-modal .ivu-modal-footer .ivu-btn>span{font-size:16px}[data-v-0fc04cd3].user-selector-modal .ivu-input{font-size:16px;height:32px;line-height:1.5}[data-v-0fc04cd3].user-selector-modal .ivu-checkbox-wrapper.ivu-checkbox-large{font-size:16px}[data-v-0fc04cd3].user-selector-input .ivu-input-icon{right:66px;font-size:20px}[data-v-0fc04cd3].user-selector-input .ivu-input{font-size:16px}[data-v-0fc04cd3].user-selector-modal .ivu-icon-ios-close{font-size:32px;line-height:40px}[data-v-0fc04cd3].user-selector-input .ivu-input-search{font-size:15px;padding:0!important;width:70px;max-width:70px}.user-selector-modal .bsp-warp[data-v-0fc04cd3]{width:100%;height:100%;color:#333}.user-selector-modal .bsp-user-search-box[data-v-0fc04cd3]{display:flex;box-sizing:border-box;padding-left:5px}.user-selector-modal .bsp-user-search-box>input[data-v-0fc04cd3]{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-0fc04cd3]{font-size:16px}.user-selector-modal .bsp-user-search-box>label[data-v-0fc04cd3]{font-size:16px;line-height:30px;margin:0 10px}[data-v-0fc04cd3].user-selector-modal .ivu-input{height:30px;line-height:30px}.user-selector-modal .bsp-user-Chebox[data-v-0fc04cd3]{line-height:30px;padding:0 0 0 16px}.user-selector-modal .bsp-user-center-in[data-v-0fc04cd3]{margin:10px 0 0}.user-selector-modal .bsp-user-lt_center[data-v-0fc04cd3]{width:100%;border-radius:2px}.user-selector-modal .bsp-user-lt_center>ul[data-v-0fc04cd3]{list-style:none;height:433px;overflow:auto;border:1px solid #cee0f0;border-top:none}.user-selector-modal .bsp-user-lt_center .cli[data-v-0fc04cd3],.user-selector-modal .bsp-user-lt_center_center .cli[data-v-0fc04cd3]{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-0fc04cd3]{padding:22px 40px 22px 10px}.user-selector-modal .bsp-user-lt_center_center .cli[data-v-0fc04cd3]{padding:22px 10px}.user-selector-modal .bsp-user-lt_center .cli[data-v-0fc04cd3]{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-0fc04cd3]{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-0fc04cd3]{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-0fc04cd3]:hover{background-color:#f0f5ff}.user-selector-modal .bsp-user-lt_center_center[data-v-0fc04cd3]{width:100%;background:#fafbff}.user-selector-modal .bsp-user-lt_center_center .bsp-user-lt_center_ul[data-v-0fc04cd3]{list-style:none;height:433px;overflow:auto;border:1px solid #cee0f0;border-top:none}.user-selector-modal .bsp-user-loginId[data-v-0fc04cd3]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 10px;width:70px;font-size:16px}.user-selector-modal .bsp-user-name[data-v-0fc04cd3]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:80px;font-size:16px}.user-selector-modal .bsp-user-orgId[data-v-0fc04cd3]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:200px;font-size:16px}.user-selector-modal .bsp-user-btn[data-v-0fc04cd3]{text-align:right}.user-selector-modal .bsp-user-btn button[data-v-0fc04cd3]{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-0fc04cd3]{background:none;border:1px solid #ddd;color:#666}.user-selector-modal .btn button[data-v-0fc04cd3]:hover{opacity:.9}.user-selector-modal .flow-modal-title[data-v-0fc04cd3]{height:40px;background:#2b5fda;width:100%;text-indent:1em;color:#fff;line-height:40px}.cancle_btn[data-v-0fc04cd3]{min-width:60px;height:30px;background:#fff;border:1px solid #2b5fd9;color:#2b5fd9;border-radius:2px}.sure_btn[data-v-0fc04cd3]{min-width:60px;height:30px;background:#2b5fd9;border-radius:2px}.bsp-user-lt_center_ul[data-v-0fc04cd3]::-webkit-scrollbar,.bsp-user-lt_ul[data-v-0fc04cd3]::-webkit-scrollbar{width:10px;height:10px}.bsp-user-lt_center_ul[data-v-0fc04cd3]::-webkit-scrollbar-thumb,.bsp-user-lt_ul[data-v-0fc04cd3]::-webkit-scrollbar-thumb{border-radius:3px;background:#b7c7dd}.bsp-user-lt_center_ul[data-v-0fc04cd3]::-webkit-scrollbar-track,.bsp-user-lt_ul[data-v-0fc04cd3]::-webkit-scrollbar-track{border-radius:3px;background:#ededed}table[data-v-0fc04cd3]{border-collapse:collapse;border-spacing:0}td[data-v-0fc04cd3]{border:1px solid #cee0f0}.postName[data-v-0fc04cd3]{width:100px}.textOverflow[data-v-0fc04cd3]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.disabledUser[data-v-0fc04cd3]{cursor:not-allowed!important}", ""]);
|
|
2999
|
+
|
|
3000
|
+
// exports
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
/***/ }),
|
|
3004
|
+
/* 5 */
|
|
3005
|
+
/***/ (function(module, exports) {
|
|
3006
|
+
|
|
3007
|
+
/*
|
|
3008
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
3009
|
+
Author Tobias Koppers @sokra
|
|
3010
|
+
*/
|
|
3011
|
+
// css base code, injected by the css-loader
|
|
3012
|
+
module.exports = function(useSourceMap) {
|
|
3013
|
+
var list = [];
|
|
3014
|
+
|
|
3015
|
+
// return the list of modules as css string
|
|
3016
|
+
list.toString = function toString() {
|
|
3017
|
+
return this.map(function (item) {
|
|
3018
|
+
var content = cssWithMappingToString(item, useSourceMap);
|
|
3019
|
+
if(item[2]) {
|
|
3020
|
+
return "@media " + item[2] + "{" + content + "}";
|
|
3021
|
+
} else {
|
|
3022
|
+
return content;
|
|
3023
|
+
}
|
|
3024
|
+
}).join("");
|
|
3025
|
+
};
|
|
3026
|
+
|
|
3027
|
+
// import a list of modules into the list
|
|
3028
|
+
list.i = function(modules, mediaQuery) {
|
|
3029
|
+
if(typeof modules === "string")
|
|
3030
|
+
modules = [[null, modules, ""]];
|
|
3031
|
+
var alreadyImportedModules = {};
|
|
3032
|
+
for(var i = 0; i < this.length; i++) {
|
|
3033
|
+
var id = this[i][0];
|
|
3034
|
+
if(typeof id === "number")
|
|
3035
|
+
alreadyImportedModules[id] = true;
|
|
3036
|
+
}
|
|
3037
|
+
for(i = 0; i < modules.length; i++) {
|
|
3038
|
+
var item = modules[i];
|
|
3039
|
+
// skip already imported module
|
|
3040
|
+
// this implementation is not 100% perfect for weird media query combinations
|
|
3041
|
+
// when a module is imported multiple times with different media queries.
|
|
3042
|
+
// I hope this will never occur (Hey this way we have smaller bundles)
|
|
3043
|
+
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
|
|
3044
|
+
if(mediaQuery && !item[2]) {
|
|
3045
|
+
item[2] = mediaQuery;
|
|
3046
|
+
} else if(mediaQuery) {
|
|
3047
|
+
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
|
|
3048
|
+
}
|
|
3049
|
+
list.push(item);
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
};
|
|
3053
|
+
return list;
|
|
3054
|
+
};
|
|
3055
|
+
|
|
3056
|
+
function cssWithMappingToString(item, useSourceMap) {
|
|
3057
|
+
var content = item[1] || '';
|
|
3058
|
+
var cssMapping = item[3];
|
|
3059
|
+
if (!cssMapping) {
|
|
3060
|
+
return content;
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
if (useSourceMap && typeof btoa === 'function') {
|
|
3064
|
+
var sourceMapping = toComment(cssMapping);
|
|
3065
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
3066
|
+
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
|
|
3067
|
+
});
|
|
3068
|
+
|
|
3069
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
return [content].join('\n');
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
// Adapted from convert-source-map (MIT)
|
|
3076
|
+
function toComment(sourceMap) {
|
|
3077
|
+
// eslint-disable-next-line no-undef
|
|
3078
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
|
3079
|
+
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
|
|
3080
|
+
|
|
3081
|
+
return '/*# ' + data + ' */';
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
/***/ }),
|
|
3086
|
+
/* 6 */
|
|
3087
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3088
|
+
|
|
3089
|
+
/*
|
|
3090
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
3091
|
+
Author Tobias Koppers @sokra
|
|
3092
|
+
Modified by Evan You @yyx990803
|
|
3093
|
+
*/
|
|
3094
|
+
|
|
3095
|
+
var hasDocument = typeof document !== 'undefined'
|
|
3096
|
+
|
|
3097
|
+
if (typeof DEBUG !== 'undefined' && DEBUG) {
|
|
3098
|
+
if (!hasDocument) {
|
|
3099
|
+
throw new Error(
|
|
3100
|
+
'vue-style-loader cannot be used in a non-browser environment. ' +
|
|
3101
|
+
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
3102
|
+
) }
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
var listToStyles = __webpack_require__(7)
|
|
3106
|
+
|
|
3107
|
+
/*
|
|
3108
|
+
type StyleObject = {
|
|
3109
|
+
id: number;
|
|
3110
|
+
parts: Array<StyleObjectPart>
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
type StyleObjectPart = {
|
|
3114
|
+
css: string;
|
|
3115
|
+
media: string;
|
|
3116
|
+
sourceMap: ?string
|
|
3117
|
+
}
|
|
3118
|
+
*/
|
|
3119
|
+
|
|
3120
|
+
var stylesInDom = {/*
|
|
3121
|
+
[id: number]: {
|
|
3122
|
+
id: number,
|
|
3123
|
+
refs: number,
|
|
3124
|
+
parts: Array<(obj?: StyleObjectPart) => void>
|
|
3125
|
+
}
|
|
3126
|
+
*/}
|
|
3127
|
+
|
|
3128
|
+
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
|
|
3129
|
+
var singletonElement = null
|
|
3130
|
+
var singletonCounter = 0
|
|
3131
|
+
var isProduction = false
|
|
3132
|
+
var noop = function () {}
|
|
3133
|
+
|
|
3134
|
+
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
3135
|
+
// tags it will allow on a page
|
|
3136
|
+
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
|
|
3137
|
+
|
|
3138
|
+
module.exports = function (parentId, list, _isProduction) {
|
|
3139
|
+
isProduction = _isProduction
|
|
3140
|
+
|
|
3141
|
+
var styles = listToStyles(parentId, list)
|
|
3142
|
+
addStylesToDom(styles)
|
|
3143
|
+
|
|
3144
|
+
return function update (newList) {
|
|
3145
|
+
var mayRemove = []
|
|
3146
|
+
for (var i = 0; i < styles.length; i++) {
|
|
3147
|
+
var item = styles[i]
|
|
3148
|
+
var domStyle = stylesInDom[item.id]
|
|
3149
|
+
domStyle.refs--
|
|
3150
|
+
mayRemove.push(domStyle)
|
|
3151
|
+
}
|
|
3152
|
+
if (newList) {
|
|
3153
|
+
styles = listToStyles(parentId, newList)
|
|
3154
|
+
addStylesToDom(styles)
|
|
3155
|
+
} else {
|
|
3156
|
+
styles = []
|
|
3157
|
+
}
|
|
3158
|
+
for (var i = 0; i < mayRemove.length; i++) {
|
|
3159
|
+
var domStyle = mayRemove[i]
|
|
3160
|
+
if (domStyle.refs === 0) {
|
|
3161
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
3162
|
+
domStyle.parts[j]()
|
|
3163
|
+
}
|
|
3164
|
+
delete stylesInDom[domStyle.id]
|
|
3165
|
+
}
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
function addStylesToDom (styles /* Array<StyleObject> */) {
|
|
3171
|
+
for (var i = 0; i < styles.length; i++) {
|
|
3172
|
+
var item = styles[i]
|
|
3173
|
+
var domStyle = stylesInDom[item.id]
|
|
3174
|
+
if (domStyle) {
|
|
3175
|
+
domStyle.refs++
|
|
3176
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
3177
|
+
domStyle.parts[j](item.parts[j])
|
|
3178
|
+
}
|
|
3179
|
+
for (; j < item.parts.length; j++) {
|
|
3180
|
+
domStyle.parts.push(addStyle(item.parts[j]))
|
|
3181
|
+
}
|
|
3182
|
+
if (domStyle.parts.length > item.parts.length) {
|
|
3183
|
+
domStyle.parts.length = item.parts.length
|
|
3184
|
+
}
|
|
3185
|
+
} else {
|
|
3186
|
+
var parts = []
|
|
3187
|
+
for (var j = 0; j < item.parts.length; j++) {
|
|
3188
|
+
parts.push(addStyle(item.parts[j]))
|
|
3189
|
+
}
|
|
3190
|
+
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
}
|
|
3194
|
+
|
|
3195
|
+
function createStyleElement () {
|
|
3196
|
+
var styleElement = document.createElement('style')
|
|
3197
|
+
styleElement.type = 'text/css'
|
|
3198
|
+
head.appendChild(styleElement)
|
|
3199
|
+
return styleElement
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
function addStyle (obj /* StyleObjectPart */) {
|
|
3203
|
+
var update, remove
|
|
3204
|
+
var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]')
|
|
3205
|
+
|
|
3206
|
+
if (styleElement) {
|
|
3207
|
+
if (isProduction) {
|
|
3208
|
+
// has SSR styles and in production mode.
|
|
3209
|
+
// simply do nothing.
|
|
3210
|
+
return noop
|
|
3211
|
+
} else {
|
|
3212
|
+
// has SSR styles but in dev mode.
|
|
3213
|
+
// for some reason Chrome can't handle source map in server-rendered
|
|
3214
|
+
// style tags - source maps in <style> only works if the style tag is
|
|
3215
|
+
// created and inserted dynamically. So we remove the server rendered
|
|
3216
|
+
// styles and inject new ones.
|
|
3217
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
3218
|
+
}
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
if (isOldIE) {
|
|
3222
|
+
// use singleton mode for IE9.
|
|
3223
|
+
var styleIndex = singletonCounter++
|
|
3224
|
+
styleElement = singletonElement || (singletonElement = createStyleElement())
|
|
3225
|
+
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
|
|
3226
|
+
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
|
|
3227
|
+
} else {
|
|
3228
|
+
// use multi-style-tag mode in all other cases
|
|
3229
|
+
styleElement = createStyleElement()
|
|
3230
|
+
update = applyToTag.bind(null, styleElement)
|
|
3231
|
+
remove = function () {
|
|
3232
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
update(obj)
|
|
3237
|
+
|
|
3238
|
+
return function updateStyle (newObj /* StyleObjectPart */) {
|
|
3239
|
+
if (newObj) {
|
|
3240
|
+
if (newObj.css === obj.css &&
|
|
3241
|
+
newObj.media === obj.media &&
|
|
3242
|
+
newObj.sourceMap === obj.sourceMap) {
|
|
3243
|
+
return
|
|
3244
|
+
}
|
|
3245
|
+
update(obj = newObj)
|
|
3246
|
+
} else {
|
|
3247
|
+
remove()
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
|
|
3252
|
+
var replaceText = (function () {
|
|
3253
|
+
var textStore = []
|
|
3254
|
+
|
|
3255
|
+
return function (index, replacement) {
|
|
3256
|
+
textStore[index] = replacement
|
|
3257
|
+
return textStore.filter(Boolean).join('\n')
|
|
3258
|
+
}
|
|
3259
|
+
})()
|
|
3260
|
+
|
|
3261
|
+
function applyToSingletonTag (styleElement, index, remove, obj) {
|
|
3262
|
+
var css = remove ? '' : obj.css
|
|
3263
|
+
|
|
3264
|
+
if (styleElement.styleSheet) {
|
|
3265
|
+
styleElement.styleSheet.cssText = replaceText(index, css)
|
|
3266
|
+
} else {
|
|
3267
|
+
var cssNode = document.createTextNode(css)
|
|
3268
|
+
var childNodes = styleElement.childNodes
|
|
3269
|
+
if (childNodes[index]) styleElement.removeChild(childNodes[index])
|
|
3270
|
+
if (childNodes.length) {
|
|
3271
|
+
styleElement.insertBefore(cssNode, childNodes[index])
|
|
3272
|
+
} else {
|
|
3273
|
+
styleElement.appendChild(cssNode)
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
function applyToTag (styleElement, obj) {
|
|
3279
|
+
var css = obj.css
|
|
3280
|
+
var media = obj.media
|
|
3281
|
+
var sourceMap = obj.sourceMap
|
|
3282
|
+
|
|
3283
|
+
if (media) {
|
|
3284
|
+
styleElement.setAttribute('media', media)
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
if (sourceMap) {
|
|
3288
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
3289
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
3290
|
+
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
|
|
3291
|
+
// http://stackoverflow.com/a/26603875
|
|
3292
|
+
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
if (styleElement.styleSheet) {
|
|
3296
|
+
styleElement.styleSheet.cssText = css
|
|
3297
|
+
} else {
|
|
3298
|
+
while (styleElement.firstChild) {
|
|
3299
|
+
styleElement.removeChild(styleElement.firstChild)
|
|
3300
|
+
}
|
|
3301
|
+
styleElement.appendChild(document.createTextNode(css))
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
|
|
3306
|
+
/***/ }),
|
|
3307
|
+
/* 7 */
|
|
3308
|
+
/***/ (function(module, exports) {
|
|
3309
|
+
|
|
3310
|
+
/**
|
|
3311
|
+
* Translates the list format produced by css-loader into something
|
|
3312
|
+
* easier to manipulate.
|
|
3313
|
+
*/
|
|
3314
|
+
module.exports = function listToStyles (parentId, list) {
|
|
3315
|
+
var styles = []
|
|
3316
|
+
var newStyles = {}
|
|
3317
|
+
for (var i = 0; i < list.length; i++) {
|
|
3318
|
+
var item = list[i]
|
|
3319
|
+
var id = item[0]
|
|
3320
|
+
var css = item[1]
|
|
3321
|
+
var media = item[2]
|
|
3322
|
+
var sourceMap = item[3]
|
|
3323
|
+
var part = {
|
|
3324
|
+
id: parentId + ':' + i,
|
|
3325
|
+
css: css,
|
|
3326
|
+
media: media,
|
|
3327
|
+
sourceMap: sourceMap
|
|
3328
|
+
}
|
|
3329
|
+
if (!newStyles[id]) {
|
|
3330
|
+
styles.push(newStyles[id] = { id: id, parts: [part] })
|
|
3331
|
+
} else {
|
|
3332
|
+
newStyles[id].parts.push(part)
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
return styles
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
/***/ }),
|
|
3340
|
+
/* 8 */
|
|
3341
|
+
/***/ (function(module, exports) {
|
|
3342
|
+
|
|
3343
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
3344
|
+
|
|
3345
|
+
// IMPORTANT: Do NOT use ES2015 features in this file.
|
|
3346
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
3347
|
+
// be included in the final webpack user bundle.
|
|
3348
|
+
|
|
3349
|
+
module.exports = function normalizeComponent (
|
|
3350
|
+
rawScriptExports,
|
|
3351
|
+
compiledTemplate,
|
|
3352
|
+
functionalTemplate,
|
|
3353
|
+
injectStyles,
|
|
3354
|
+
scopeId,
|
|
3355
|
+
moduleIdentifier /* server only */
|
|
3356
|
+
) {
|
|
3357
|
+
var esModule
|
|
3358
|
+
var scriptExports = rawScriptExports = rawScriptExports || {}
|
|
3359
|
+
|
|
3360
|
+
// ES6 modules interop
|
|
3361
|
+
var type = typeof rawScriptExports.default
|
|
3362
|
+
if (type === 'object' || type === 'function') {
|
|
3363
|
+
esModule = rawScriptExports
|
|
3364
|
+
scriptExports = rawScriptExports.default
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
// Vue.extend constructor export interop
|
|
3368
|
+
var options = typeof scriptExports === 'function'
|
|
3369
|
+
? scriptExports.options
|
|
3370
|
+
: scriptExports
|
|
3371
|
+
|
|
3372
|
+
// render functions
|
|
3373
|
+
if (compiledTemplate) {
|
|
3374
|
+
options.render = compiledTemplate.render
|
|
3375
|
+
options.staticRenderFns = compiledTemplate.staticRenderFns
|
|
3376
|
+
options._compiled = true
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
// functional template
|
|
3380
|
+
if (functionalTemplate) {
|
|
3381
|
+
options.functional = true
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
// scopedId
|
|
3385
|
+
if (scopeId) {
|
|
3386
|
+
options._scopeId = scopeId
|
|
3387
|
+
}
|
|
3388
|
+
|
|
3389
|
+
var hook
|
|
3390
|
+
if (moduleIdentifier) { // server build
|
|
3391
|
+
hook = function (context) {
|
|
3392
|
+
// 2.3 injection
|
|
3393
|
+
context =
|
|
3394
|
+
context || // cached call
|
|
3395
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
3396
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
3397
|
+
// 2.2 with runInNewContext: true
|
|
3398
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
3399
|
+
context = __VUE_SSR_CONTEXT__
|
|
3400
|
+
}
|
|
3401
|
+
// inject component styles
|
|
3402
|
+
if (injectStyles) {
|
|
3403
|
+
injectStyles.call(this, context)
|
|
3404
|
+
}
|
|
3405
|
+
// register component module identifier for async chunk inferrence
|
|
3406
|
+
if (context && context._registeredComponents) {
|
|
3407
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
// used by ssr in case component is cached and beforeCreate
|
|
3411
|
+
// never gets called
|
|
3412
|
+
options._ssrRegister = hook
|
|
3413
|
+
} else if (injectStyles) {
|
|
3414
|
+
hook = injectStyles
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
if (hook) {
|
|
3418
|
+
var functional = options.functional
|
|
3419
|
+
var existing = functional
|
|
3420
|
+
? options.render
|
|
3421
|
+
: options.beforeCreate
|
|
3422
|
+
|
|
3423
|
+
if (!functional) {
|
|
3424
|
+
// inject component registration as beforeCreate hook
|
|
3425
|
+
options.beforeCreate = existing
|
|
3426
|
+
? [].concat(existing, hook)
|
|
3427
|
+
: [hook]
|
|
3428
|
+
} else {
|
|
3429
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
3430
|
+
// go through the normalizer
|
|
3431
|
+
options._injectStyles = hook
|
|
3432
|
+
// register for functioal component in vue file
|
|
3433
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
3434
|
+
hook.call(context)
|
|
3435
|
+
return existing(h, context)
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
return {
|
|
3441
|
+
esModule: esModule,
|
|
3442
|
+
exports: scriptExports,
|
|
3443
|
+
options: options
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
|
|
3448
|
+
/***/ }),
|
|
3449
|
+
/* 9 */
|
|
3450
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3451
|
+
|
|
3452
|
+
"use strict";
|
|
3453
|
+
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":function (data) { return _vm.openDialog(data, true); }},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":"520px","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",staticStyle:{"width":"520px"}},_vm._l((_vm.policeList),function(item,index){return _c('li',{key:index + 'AA',staticClass:"cli",class:[_vm.selectedIdCardArr.indexOf(item.keyId) != -1 ? 'active' : '', item.disabled ? 'disabledUser' : ''],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",staticStyle:{"width":"520px"}},_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.name}},[_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"},[_c('div',[(_vm.numExp !== 'num==1')?_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("用户全选/反选\n ")]):_vm._e()],1),_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)}
|
|
3454
|
+
var staticRenderFns = []
|
|
3455
|
+
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
3456
|
+
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
|
3457
|
+
|
|
3458
|
+
/***/ })
|
|
3459
|
+
/******/ ]);
|
|
3460
|
+
});
|
|
3461
|
+
//# sourceMappingURL=gs-user-selector.js.map
|
|
3462
|
+
|
|
3463
|
+
/***/ }),
|
|
3464
|
+
/* 13 */
|
|
3465
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3466
|
+
|
|
3467
|
+
"use strict";
|
|
3468
|
+
/* 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);
|
|
3469
|
+
/* unused harmony namespace reexport */
|
|
3470
|
+
/* 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);
|
|
3471
|
+
function injectStyle (ssrContext) {
|
|
3472
|
+
__webpack_require__(14)
|
|
3473
|
+
}
|
|
3474
|
+
var normalizeComponent = __webpack_require__(2)
|
|
3475
|
+
/* script */
|
|
3476
|
+
|
|
3477
|
+
|
|
3478
|
+
/* template */
|
|
3479
|
+
|
|
3480
|
+
/* template functional */
|
|
3481
|
+
var __vue_template_functional__ = false
|
|
3482
|
+
/* styles */
|
|
3483
|
+
var __vue_styles__ = injectStyle
|
|
3484
|
+
/* scopeId */
|
|
3485
|
+
var __vue_scopeId__ = "data-v-4b0e953f"
|
|
3486
|
+
/* moduleIdentifier (server only) */
|
|
3487
|
+
var __vue_module_identifier__ = null
|
|
3488
|
+
var Component = normalizeComponent(
|
|
3489
|
+
__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 */],
|
|
3490
|
+
__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 */],
|
|
3491
|
+
__vue_template_functional__,
|
|
3492
|
+
__vue_styles__,
|
|
3493
|
+
__vue_scopeId__,
|
|
3494
|
+
__vue_module_identifier__
|
|
3495
|
+
)
|
|
3496
|
+
|
|
3497
|
+
/* harmony default export */ __webpack_exports__["a"] = (Component.exports);
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
/***/ }),
|
|
3501
|
+
/* 14 */
|
|
3502
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3503
|
+
|
|
3504
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
3505
|
+
|
|
3506
|
+
// load the styles
|
|
3507
|
+
var content = __webpack_require__(15);
|
|
3508
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
3509
|
+
if(content.locals) module.exports = content.locals;
|
|
3510
|
+
// add the styles to the DOM
|
|
3511
|
+
var update = __webpack_require__(1)("d3d99126", content, true);
|
|
3512
|
+
|
|
3513
|
+
/***/ }),
|
|
3514
|
+
/* 15 */
|
|
3515
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3516
|
+
|
|
3517
|
+
exports = module.exports = __webpack_require__(0)(false);
|
|
3518
|
+
// imports
|
|
3519
|
+
|
|
3520
|
+
|
|
3521
|
+
// module
|
|
3522
|
+
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%}", ""]);
|
|
3523
|
+
|
|
3524
|
+
// exports
|
|
3525
|
+
|
|
3526
|
+
|
|
3527
|
+
/***/ }),
|
|
3528
|
+
/* 16 */
|
|
3529
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3530
|
+
|
|
3531
|
+
!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}])});
|
|
3532
|
+
//# sourceMappingURL=sd-modify-approve-user.js.map
|
|
3533
|
+
|
|
3534
|
+
/***/ }),
|
|
3535
|
+
/* 17 */
|
|
3536
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3537
|
+
|
|
3538
|
+
"use strict";
|
|
3539
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__data__ = __webpack_require__(18);
|
|
3540
|
+
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"); }); }; }
|
|
3541
|
+
|
|
3542
|
+
/* 审批轨迹相关方法 */
|
|
3543
|
+
|
|
3544
|
+
|
|
3545
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
3546
|
+
mixins: [__WEBPACK_IMPORTED_MODULE_0__data__["a" /* default */]],
|
|
3547
|
+
methods: {
|
|
3548
|
+
// 获取流程轨迹
|
|
3549
|
+
getApprovalTrack: function getApprovalTrack() {
|
|
3550
|
+
var _this = this;
|
|
3551
|
+
|
|
3552
|
+
this.$store.dispatch('postRequest', {
|
|
3553
|
+
url: 'bsp-bpm/bpm/approveProcess/approveTrack',
|
|
3554
|
+
params: { actInstId: this.actInstId }
|
|
3555
|
+
}).then(function (resp) {
|
|
3556
|
+
if (resp.success) {
|
|
3557
|
+
if (!resp.data) return;
|
|
3558
|
+
resp.data.map(function (item) {
|
|
3559
|
+
if (item.createTime) {
|
|
3560
|
+
if (item.endTime) {
|
|
3561
|
+
item.taskStatus = '2';
|
|
3562
|
+
} else {
|
|
3563
|
+
item.taskStatus = '1';
|
|
3564
|
+
}
|
|
3565
|
+
} else {
|
|
3566
|
+
item.taskStatus = '0';
|
|
3567
|
+
}
|
|
3568
|
+
});
|
|
3569
|
+
_this.trackArr = resp.data;
|
|
3570
|
+
} else {
|
|
3571
|
+
_this.trackArr = [];
|
|
3572
|
+
}
|
|
3573
|
+
});
|
|
3574
|
+
},
|
|
3575
|
+
|
|
3576
|
+
// 撤回流程
|
|
3577
|
+
revoke: function revoke(taskId, preIsBeginTask) {
|
|
3578
|
+
var _this2 = this;
|
|
3579
|
+
|
|
3580
|
+
this.$Modal.confirm({
|
|
3581
|
+
title: '是否确认撤回?',
|
|
3582
|
+
// loading: true,
|
|
3583
|
+
onOk: function () {
|
|
3584
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
3585
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
3586
|
+
while (1) {
|
|
3587
|
+
switch (_context.prev = _context.next) {
|
|
3588
|
+
case 0:
|
|
3589
|
+
_this2.loading = true;
|
|
3590
|
+
_this2.$store.dispatch('postRequest', {
|
|
3591
|
+
url: 'bsp-bpm/bpm/approveProcess/revokeProcess',
|
|
3592
|
+
params: { actInstId: _this2.actInstId, taskId: taskId, preIsBeginTask: preIsBeginTask }
|
|
3593
|
+
}).then(function (resp) {
|
|
3594
|
+
if (resp.success) {
|
|
3595
|
+
if (_this2.revokeCallback) {
|
|
3596
|
+
_this2.revokeCallback(resp).then(function (data) {
|
|
3597
|
+
_this2.loading = false;
|
|
3598
|
+
if (data.success) {
|
|
3599
|
+
// window.location.reload()
|
|
3600
|
+
_this2.getApprovalTrack();
|
|
3601
|
+
}
|
|
3602
|
+
});
|
|
3603
|
+
} else {
|
|
3604
|
+
_this2.loading = false;
|
|
3605
|
+
_this2.$Modal.success({
|
|
3606
|
+
title: '温馨提示',
|
|
3607
|
+
content: '操作成功',
|
|
3608
|
+
onOk: function onOk() {
|
|
3609
|
+
// window.location.reload()
|
|
3610
|
+
_this2.getApprovalTrack();
|
|
3611
|
+
}
|
|
3612
|
+
});
|
|
3613
|
+
}
|
|
3614
|
+
}
|
|
3615
|
+
});
|
|
3616
|
+
|
|
3617
|
+
case 2:
|
|
3618
|
+
case 'end':
|
|
3619
|
+
return _context.stop();
|
|
3620
|
+
}
|
|
3621
|
+
}
|
|
3622
|
+
}, _callee, _this2);
|
|
3623
|
+
}));
|
|
3624
|
+
|
|
3625
|
+
return function onOk() {
|
|
3626
|
+
return _ref.apply(this, arguments);
|
|
3627
|
+
};
|
|
3628
|
+
}()
|
|
3629
|
+
});
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
});
|
|
3633
|
+
|
|
3634
|
+
/***/ }),
|
|
3635
|
+
/* 18 */
|
|
3636
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3637
|
+
|
|
3638
|
+
"use strict";
|
|
3639
|
+
|
|
3640
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
3641
|
+
props: {
|
|
3642
|
+
// 流程实例ID
|
|
3643
|
+
actInstId: {
|
|
3644
|
+
type: String
|
|
3645
|
+
},
|
|
3646
|
+
// 是否显示撤回按钮
|
|
3647
|
+
showRevokeBtn: {
|
|
3648
|
+
type: Boolean,
|
|
3649
|
+
default: true
|
|
3650
|
+
},
|
|
3651
|
+
// 是否显示修改审批人按钮
|
|
3652
|
+
showModifyBtn: {
|
|
3653
|
+
type: Boolean,
|
|
3654
|
+
default: false
|
|
3655
|
+
},
|
|
3656
|
+
modifyBtnText: {
|
|
3657
|
+
type: String,
|
|
3658
|
+
default: '修改审批人'
|
|
3659
|
+
},
|
|
3660
|
+
extraOrgId: {
|
|
3661
|
+
type: String,
|
|
3662
|
+
default: ''
|
|
3663
|
+
},
|
|
3664
|
+
extraRegId: {
|
|
3665
|
+
type: String,
|
|
3666
|
+
default: ''
|
|
3667
|
+
},
|
|
3668
|
+
extraCityId: {
|
|
3669
|
+
type: String,
|
|
3670
|
+
default: ''
|
|
3671
|
+
},
|
|
3672
|
+
revokeCallback: {
|
|
3673
|
+
type: Function,
|
|
3674
|
+
default: null
|
|
3675
|
+
},
|
|
3676
|
+
modifyUserCallback: {
|
|
3677
|
+
type: Function,
|
|
3678
|
+
default: null
|
|
3679
|
+
}
|
|
3680
|
+
},
|
|
3681
|
+
data: function data() {
|
|
3682
|
+
return {
|
|
3683
|
+
trackArr: [],
|
|
3684
|
+
loading: false,
|
|
3685
|
+
activeName: ''
|
|
3686
|
+
};
|
|
3687
|
+
}
|
|
3688
|
+
});
|
|
3689
|
+
|
|
3690
|
+
/***/ }),
|
|
3691
|
+
/* 19 */
|
|
3692
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3693
|
+
|
|
3694
|
+
"use strict";
|
|
3695
|
+
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)}
|
|
3696
|
+
var staticRenderFns = []
|
|
3697
|
+
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
3698
|
+
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
|
3699
|
+
|
|
3700
|
+
/***/ }),
|
|
3701
|
+
/* 20 */
|
|
3702
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3703
|
+
|
|
3704
|
+
"use strict";
|
|
3705
|
+
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,"showRevokeBtn":_vm.showRevokeBtn}}):_vm._e()],1):_vm._e()])],1)],1)}
|
|
3706
|
+
var staticRenderFns = []
|
|
3707
|
+
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
3708
|
+
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
|
3709
|
+
|
|
3710
|
+
/***/ })
|
|
3711
|
+
/******/ ]);
|
|
3712
|
+
});
|
|
3713
|
+
//# sourceMappingURL=gxx-general-approve.js.map
|