bl-common-vue3 3.7.49 → 3.7.51-beta1
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/lib/vue3common.common.js +1598 -245
- package/lib/vue3common.umd.js +1598 -245
- package/lib/vue3common.umd.min.js +17 -17
- package/package.json +1 -1
package/lib/vue3common.common.js
CHANGED
|
@@ -32927,6 +32927,22 @@ exports.push([module.i, ".primary-color-text[data-v-0005ab9a]{color:#2681f3}.ima
|
|
|
32927
32927
|
module.exports = exports;
|
|
32928
32928
|
|
|
32929
32929
|
|
|
32930
|
+
/***/ }),
|
|
32931
|
+
|
|
32932
|
+
/***/ "11e0":
|
|
32933
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
32934
|
+
|
|
32935
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32936
|
+
|
|
32937
|
+
// load the styles
|
|
32938
|
+
var content = __webpack_require__("d9ea");
|
|
32939
|
+
if(content.__esModule) content = content.default;
|
|
32940
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
32941
|
+
if(content.locals) module.exports = content.locals;
|
|
32942
|
+
// add the styles to the DOM
|
|
32943
|
+
var add = __webpack_require__("499e").default
|
|
32944
|
+
var update = add("61ab3e44", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32945
|
+
|
|
32930
32946
|
/***/ }),
|
|
32931
32947
|
|
|
32932
32948
|
/***/ "1212":
|
|
@@ -32972,6 +32988,48 @@ module.exports = version;
|
|
|
32972
32988
|
|
|
32973
32989
|
/***/ }),
|
|
32974
32990
|
|
|
32991
|
+
/***/ "127d":
|
|
32992
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
32993
|
+
|
|
32994
|
+
"use strict";
|
|
32995
|
+
|
|
32996
|
+
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
32997
|
+
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
32998
|
+
|
|
32999
|
+
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DragOutlined.js
|
|
33000
|
+
// This icon file is generated automatically.
|
|
33001
|
+
var DragOutlined_DragOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z" } }] }, "name": "drag", "theme": "outlined" };
|
|
33002
|
+
/* harmony default export */ var asn_DragOutlined = (DragOutlined_DragOutlined);
|
|
33003
|
+
|
|
33004
|
+
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/components/AntdIcon.js + 2 modules
|
|
33005
|
+
var AntdIcon = __webpack_require__("b3f0");
|
|
33006
|
+
|
|
33007
|
+
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-vue/es/icons/DragOutlined.js
|
|
33008
|
+
|
|
33009
|
+
|
|
33010
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
33011
|
+
|
|
33012
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
33013
|
+
|
|
33014
|
+
// GENERATE BY ./scripts/generate.ts
|
|
33015
|
+
// DON NOT EDIT IT MANUALLY
|
|
33016
|
+
|
|
33017
|
+
|
|
33018
|
+
|
|
33019
|
+
var icons_DragOutlined_DragOutlined = function DragOutlined(props, context) {
|
|
33020
|
+
var p = _objectSpread({}, props, context.attrs);
|
|
33021
|
+
|
|
33022
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(AntdIcon["a" /* default */], _objectSpread({}, p, {
|
|
33023
|
+
"icon": asn_DragOutlined
|
|
33024
|
+
}), null);
|
|
33025
|
+
};
|
|
33026
|
+
|
|
33027
|
+
icons_DragOutlined_DragOutlined.displayName = 'DragOutlined';
|
|
33028
|
+
icons_DragOutlined_DragOutlined.inheritAttrs = false;
|
|
33029
|
+
/* harmony default export */ var icons_DragOutlined = __webpack_exports__["a"] = (icons_DragOutlined_DragOutlined);
|
|
33030
|
+
|
|
33031
|
+
/***/ }),
|
|
33032
|
+
|
|
32975
33033
|
/***/ "129c":
|
|
32976
33034
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
32977
33035
|
|
|
@@ -43063,6 +43121,204 @@ function _objectWithoutProperties(e, t) {
|
|
|
43063
43121
|
}
|
|
43064
43122
|
|
|
43065
43123
|
|
|
43124
|
+
/***/ }),
|
|
43125
|
+
|
|
43126
|
+
/***/ "160c":
|
|
43127
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43128
|
+
|
|
43129
|
+
"use strict";
|
|
43130
|
+
/* unused harmony export SwitchSizes */
|
|
43131
|
+
/* unused harmony export switchProps */
|
|
43132
|
+
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5530");
|
|
43133
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ade3");
|
|
43134
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("8bbf");
|
|
43135
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_2__);
|
|
43136
|
+
/* harmony import */ var _ant_design_icons_vue_es_icons_LoadingOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("8fe6");
|
|
43137
|
+
/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("4d91");
|
|
43138
|
+
/* harmony import */ var _util_KeyCode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("18a7");
|
|
43139
|
+
/* harmony import */ var _util_wave__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("a9d4");
|
|
43140
|
+
/* harmony import */ var _util_warning__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("6a21");
|
|
43141
|
+
/* harmony import */ var _util_type__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("46b7");
|
|
43142
|
+
/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("1d6f");
|
|
43143
|
+
/* harmony import */ var _util_hooks_useConfigInject__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("207c");
|
|
43144
|
+
/* harmony import */ var _form_FormItemContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("22c3");
|
|
43145
|
+
/* harmony import */ var _util_omit__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("aca3");
|
|
43146
|
+
|
|
43147
|
+
|
|
43148
|
+
|
|
43149
|
+
|
|
43150
|
+
|
|
43151
|
+
|
|
43152
|
+
|
|
43153
|
+
|
|
43154
|
+
|
|
43155
|
+
|
|
43156
|
+
|
|
43157
|
+
|
|
43158
|
+
|
|
43159
|
+
|
|
43160
|
+
var SwitchSizes = Object(_util_type__WEBPACK_IMPORTED_MODULE_8__[/* tuple */ "a"])('small', 'default');
|
|
43161
|
+
var switchProps = function switchProps() {
|
|
43162
|
+
return {
|
|
43163
|
+
id: String,
|
|
43164
|
+
prefixCls: String,
|
|
43165
|
+
size: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].oneOf(SwitchSizes),
|
|
43166
|
+
disabled: {
|
|
43167
|
+
type: Boolean,
|
|
43168
|
+
default: undefined
|
|
43169
|
+
},
|
|
43170
|
+
checkedChildren: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].any,
|
|
43171
|
+
unCheckedChildren: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].any,
|
|
43172
|
+
tabindex: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].number]),
|
|
43173
|
+
autofocus: {
|
|
43174
|
+
type: Boolean,
|
|
43175
|
+
default: undefined
|
|
43176
|
+
},
|
|
43177
|
+
loading: {
|
|
43178
|
+
type: Boolean,
|
|
43179
|
+
default: undefined
|
|
43180
|
+
},
|
|
43181
|
+
checked: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].number, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].looseBool]),
|
|
43182
|
+
checkedValue: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].number, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].looseBool]).def(true),
|
|
43183
|
+
unCheckedValue: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].number, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].looseBool]).def(false),
|
|
43184
|
+
onChange: {
|
|
43185
|
+
type: Function
|
|
43186
|
+
},
|
|
43187
|
+
onClick: {
|
|
43188
|
+
type: Function
|
|
43189
|
+
},
|
|
43190
|
+
onKeydown: {
|
|
43191
|
+
type: Function
|
|
43192
|
+
},
|
|
43193
|
+
onMouseup: {
|
|
43194
|
+
type: Function
|
|
43195
|
+
},
|
|
43196
|
+
'onUpdate:checked': {
|
|
43197
|
+
type: Function
|
|
43198
|
+
},
|
|
43199
|
+
onBlur: Function,
|
|
43200
|
+
onFocus: Function
|
|
43201
|
+
};
|
|
43202
|
+
};
|
|
43203
|
+
var Switch = Object(vue__WEBPACK_IMPORTED_MODULE_2__["defineComponent"])({
|
|
43204
|
+
compatConfig: {
|
|
43205
|
+
MODE: 3
|
|
43206
|
+
},
|
|
43207
|
+
name: 'ASwitch',
|
|
43208
|
+
__ANT_SWITCH: true,
|
|
43209
|
+
inheritAttrs: false,
|
|
43210
|
+
props: switchProps(),
|
|
43211
|
+
slots: ['checkedChildren', 'unCheckedChildren'],
|
|
43212
|
+
// emits: ['update:checked', 'mouseup', 'change', 'click', 'keydown', 'blur'],
|
|
43213
|
+
setup: function setup(props, _ref) {
|
|
43214
|
+
var attrs = _ref.attrs,
|
|
43215
|
+
slots = _ref.slots,
|
|
43216
|
+
expose = _ref.expose,
|
|
43217
|
+
emit = _ref.emit;
|
|
43218
|
+
var formItemContext = Object(_form_FormItemContext__WEBPACK_IMPORTED_MODULE_11__[/* useInjectFormItemContext */ "b"])();
|
|
43219
|
+
Object(vue__WEBPACK_IMPORTED_MODULE_2__["onBeforeMount"])(function () {
|
|
43220
|
+
Object(_util_warning__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(!('defaultChecked' in attrs), 'Switch', "'defaultChecked' is deprecated, please use 'v-model:checked'");
|
|
43221
|
+
Object(_util_warning__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(!('value' in attrs), 'Switch', '`value` is not validate prop, do you mean `checked`?');
|
|
43222
|
+
});
|
|
43223
|
+
var checked = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])(props.checked !== undefined ? props.checked : attrs.defaultChecked);
|
|
43224
|
+
var checkedStatus = Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () {
|
|
43225
|
+
return checked.value === props.checkedValue;
|
|
43226
|
+
});
|
|
43227
|
+
Object(vue__WEBPACK_IMPORTED_MODULE_2__["watch"])(function () {
|
|
43228
|
+
return props.checked;
|
|
43229
|
+
}, function () {
|
|
43230
|
+
checked.value = props.checked;
|
|
43231
|
+
});
|
|
43232
|
+
var _useConfigInject = Object(_util_hooks_useConfigInject__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"])('switch', props),
|
|
43233
|
+
prefixCls = _useConfigInject.prefixCls,
|
|
43234
|
+
direction = _useConfigInject.direction,
|
|
43235
|
+
size = _useConfigInject.size;
|
|
43236
|
+
var refSwitchNode = Object(vue__WEBPACK_IMPORTED_MODULE_2__["ref"])();
|
|
43237
|
+
var focus = function focus() {
|
|
43238
|
+
var _refSwitchNode$value;
|
|
43239
|
+
(_refSwitchNode$value = refSwitchNode.value) === null || _refSwitchNode$value === void 0 ? void 0 : _refSwitchNode$value.focus();
|
|
43240
|
+
};
|
|
43241
|
+
var blur = function blur() {
|
|
43242
|
+
var _refSwitchNode$value2;
|
|
43243
|
+
(_refSwitchNode$value2 = refSwitchNode.value) === null || _refSwitchNode$value2 === void 0 ? void 0 : _refSwitchNode$value2.blur();
|
|
43244
|
+
};
|
|
43245
|
+
expose({
|
|
43246
|
+
focus: focus,
|
|
43247
|
+
blur: blur
|
|
43248
|
+
});
|
|
43249
|
+
Object(vue__WEBPACK_IMPORTED_MODULE_2__["onMounted"])(function () {
|
|
43250
|
+
Object(vue__WEBPACK_IMPORTED_MODULE_2__["nextTick"])(function () {
|
|
43251
|
+
if (props.autofocus && !props.disabled) {
|
|
43252
|
+
refSwitchNode.value.focus();
|
|
43253
|
+
}
|
|
43254
|
+
});
|
|
43255
|
+
});
|
|
43256
|
+
var setChecked = function setChecked(check, e) {
|
|
43257
|
+
if (props.disabled) {
|
|
43258
|
+
return;
|
|
43259
|
+
}
|
|
43260
|
+
emit('update:checked', check);
|
|
43261
|
+
emit('change', check, e);
|
|
43262
|
+
formItemContext.onFieldChange();
|
|
43263
|
+
};
|
|
43264
|
+
var handleBlur = function handleBlur(e) {
|
|
43265
|
+
emit('blur', e);
|
|
43266
|
+
};
|
|
43267
|
+
var handleClick = function handleClick(e) {
|
|
43268
|
+
focus();
|
|
43269
|
+
var newChecked = checkedStatus.value ? props.unCheckedValue : props.checkedValue;
|
|
43270
|
+
setChecked(newChecked, e);
|
|
43271
|
+
emit('click', newChecked, e);
|
|
43272
|
+
};
|
|
43273
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
43274
|
+
if (e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"].LEFT) {
|
|
43275
|
+
setChecked(props.unCheckedValue, e);
|
|
43276
|
+
} else if (e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"].RIGHT) {
|
|
43277
|
+
setChecked(props.checkedValue, e);
|
|
43278
|
+
}
|
|
43279
|
+
emit('keydown', e);
|
|
43280
|
+
};
|
|
43281
|
+
var handleMouseUp = function handleMouseUp(e) {
|
|
43282
|
+
var _refSwitchNode$value3;
|
|
43283
|
+
(_refSwitchNode$value3 = refSwitchNode.value) === null || _refSwitchNode$value3 === void 0 ? void 0 : _refSwitchNode$value3.blur();
|
|
43284
|
+
emit('mouseup', e);
|
|
43285
|
+
};
|
|
43286
|
+
var classNames = Object(vue__WEBPACK_IMPORTED_MODULE_2__["computed"])(function () {
|
|
43287
|
+
var _ref2;
|
|
43288
|
+
return _ref2 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, "".concat(prefixCls.value, "-small"), size.value === 'small'), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, "".concat(prefixCls.value, "-loading"), props.loading), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, "".concat(prefixCls.value, "-checked"), checkedStatus.value), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, "".concat(prefixCls.value, "-disabled"), props.disabled), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, prefixCls.value, true), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, "".concat(prefixCls.value, "-rtl"), direction.value === 'rtl'), _ref2;
|
|
43289
|
+
});
|
|
43290
|
+
return function () {
|
|
43291
|
+
var _props$id;
|
|
43292
|
+
return Object(vue__WEBPACK_IMPORTED_MODULE_2__["createVNode"])(_util_wave__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
|
|
43293
|
+
"insertExtraNode": true
|
|
43294
|
+
}, {
|
|
43295
|
+
default: function _default() {
|
|
43296
|
+
return [Object(vue__WEBPACK_IMPORTED_MODULE_2__["createVNode"])("button", Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, Object(_util_omit__WEBPACK_IMPORTED_MODULE_12__[/* default */ "a"])(props, ['prefixCls', 'checkedChildren', 'unCheckedChildren', 'checked', 'autofocus', 'checkedValue', 'unCheckedValue', 'id', 'onChange', 'onUpdate:checked'])), attrs), {}, {
|
|
43297
|
+
"id": (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : formItemContext.id.value,
|
|
43298
|
+
"onKeydown": handleKeyDown,
|
|
43299
|
+
"onClick": handleClick,
|
|
43300
|
+
"onBlur": handleBlur,
|
|
43301
|
+
"onMouseup": handleMouseUp,
|
|
43302
|
+
"type": "button",
|
|
43303
|
+
"role": "switch",
|
|
43304
|
+
"aria-checked": checked.value,
|
|
43305
|
+
"disabled": props.disabled || props.loading,
|
|
43306
|
+
"class": [attrs.class, classNames.value],
|
|
43307
|
+
"ref": refSwitchNode
|
|
43308
|
+
}), [Object(vue__WEBPACK_IMPORTED_MODULE_2__["createVNode"])("div", {
|
|
43309
|
+
"class": "".concat(prefixCls.value, "-handle")
|
|
43310
|
+
}, [props.loading ? Object(vue__WEBPACK_IMPORTED_MODULE_2__["createVNode"])(_ant_design_icons_vue_es_icons_LoadingOutlined__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], {
|
|
43311
|
+
"class": "".concat(prefixCls.value, "-loading-icon")
|
|
43312
|
+
}, null) : null]), Object(vue__WEBPACK_IMPORTED_MODULE_2__["createVNode"])("span", {
|
|
43313
|
+
"class": "".concat(prefixCls.value, "-inner")
|
|
43314
|
+
}, [checkedStatus.value ? Object(_util_props_util__WEBPACK_IMPORTED_MODULE_9__[/* getPropsSlot */ "i"])(slots, props, 'checkedChildren') : Object(_util_props_util__WEBPACK_IMPORTED_MODULE_9__[/* getPropsSlot */ "i"])(slots, props, 'unCheckedChildren')])])];
|
|
43315
|
+
}
|
|
43316
|
+
});
|
|
43317
|
+
};
|
|
43318
|
+
}
|
|
43319
|
+
});
|
|
43320
|
+
/* harmony default export */ __webpack_exports__["a"] = (Object(_util_type__WEBPACK_IMPORTED_MODULE_8__[/* withInstall */ "b"])(Switch));
|
|
43321
|
+
|
|
43066
43322
|
/***/ }),
|
|
43067
43323
|
|
|
43068
43324
|
/***/ "1626":
|
|
@@ -46891,7 +47147,7 @@ var ExportComponents = __webpack_require__("a2da");
|
|
|
46891
47147
|
// EXTERNAL MODULE: ./src/components/TenantComponent/index.vue + 4 modules
|
|
46892
47148
|
var TenantComponent = __webpack_require__("0f69");
|
|
46893
47149
|
|
|
46894
|
-
// EXTERNAL MODULE: ./src/components/ExtraManage/index.vue +
|
|
47150
|
+
// EXTERNAL MODULE: ./src/components/ExtraManage/index.vue + 9 modules
|
|
46895
47151
|
var ExtraManage = __webpack_require__("f3e2");
|
|
46896
47152
|
|
|
46897
47153
|
// EXTERNAL MODULE: ./src/components/ChooseOrgMember/index.vue + 8 modules
|
|
@@ -94899,6 +95155,17 @@ var getInstance = /*#__PURE__*/function () {
|
|
|
94899
95155
|
}();
|
|
94900
95156
|
/* harmony default export */ __webpack_exports__["a"] = (api);
|
|
94901
95157
|
|
|
95158
|
+
/***/ }),
|
|
95159
|
+
|
|
95160
|
+
/***/ "56d4":
|
|
95161
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
95162
|
+
|
|
95163
|
+
"use strict";
|
|
95164
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_31c5229e_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6f1d");
|
|
95165
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_31c5229e_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_31c5229e_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
95166
|
+
/* unused harmony reexport * */
|
|
95167
|
+
|
|
95168
|
+
|
|
94902
95169
|
/***/ }),
|
|
94903
95170
|
|
|
94904
95171
|
/***/ "56ef":
|
|
@@ -96165,6 +96432,20 @@ exports.push([module.i, ".primary-color-text[data-v-34c71d5e]{color:#2681f3}.com
|
|
|
96165
96432
|
module.exports = exports;
|
|
96166
96433
|
|
|
96167
96434
|
|
|
96435
|
+
/***/ }),
|
|
96436
|
+
|
|
96437
|
+
/***/ "61d5":
|
|
96438
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
96439
|
+
|
|
96440
|
+
// Imports
|
|
96441
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
96442
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
96443
|
+
// Module
|
|
96444
|
+
exports.push([module.i, ".primary-color-text[data-v-31c5229e]{color:#2681f3}.bg-warp[data-v-31c5229e]{display:grid;grid-gap:4px;grid-template-columns:repeat(auto-fill,minmax(30px,1fr))}.color-item[data-v-31c5229e]{width:30px;height:30px;border-radius:4px;border:1px solid #e6e6e6;position:relative;cursor:pointer;font-size:14px}.select-color[data-v-31c5229e]{padding:0;height:100%;border:none}.color-select-warp[data-v-31c5229e]{position:relative}input[type=color][data-v-31c5229e]::-webkit-color-swatch-wrapper{padding:0}.ant-input[type=color][data-v-31c5229e]{height:100%}input[type=color][data-v-31c5229e]::-webkit-color-swatch{border:none}.select-icon[data-v-31c5229e]{position:absolute;pointer-events:none;top:50%;left:50%;transform:translate(-50%,-50%)}.no-color[data-v-31c5229e]:before{content:\"\";position:absolute;top:0;left:0;width:140%;height:1px;background:linear-gradient(45deg,#e6e6e6,#e6e6e6);transform:rotate(45deg);transform-origin:0 0}.active-color[data-v-31c5229e]{border:1px solid #388cf4}.active-icon[data-v-31c5229e]{color:#388cf4;position:absolute;pointer-events:none;top:50%;left:50%;transform:translate(-50%,-50%)}", ""]);
|
|
96445
|
+
// Exports
|
|
96446
|
+
module.exports = exports;
|
|
96447
|
+
|
|
96448
|
+
|
|
96168
96449
|
/***/ }),
|
|
96169
96450
|
|
|
96170
96451
|
/***/ "6247":
|
|
@@ -100022,6 +100303,22 @@ module.exports = function (error, C, stack, dropEntries) {
|
|
|
100022
100303
|
};
|
|
100023
100304
|
|
|
100024
100305
|
|
|
100306
|
+
/***/ }),
|
|
100307
|
+
|
|
100308
|
+
/***/ "6f1d":
|
|
100309
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
100310
|
+
|
|
100311
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
100312
|
+
|
|
100313
|
+
// load the styles
|
|
100314
|
+
var content = __webpack_require__("61d5");
|
|
100315
|
+
if(content.__esModule) content = content.default;
|
|
100316
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
100317
|
+
if(content.locals) module.exports = content.locals;
|
|
100318
|
+
// add the styles to the DOM
|
|
100319
|
+
var add = __webpack_require__("499e").default
|
|
100320
|
+
var update = add("a92c9618", content, true, {"sourceMap":false,"shadowMode":false});
|
|
100321
|
+
|
|
100025
100322
|
/***/ }),
|
|
100026
100323
|
|
|
100027
100324
|
/***/ "6f76":
|
|
@@ -109533,6 +109830,17 @@ icons_LoadingOutlined_LoadingOutlined.displayName = 'LoadingOutlined';
|
|
|
109533
109830
|
icons_LoadingOutlined_LoadingOutlined.inheritAttrs = false;
|
|
109534
109831
|
/* harmony default export */ var icons_LoadingOutlined = __webpack_exports__["a"] = (icons_LoadingOutlined_LoadingOutlined);
|
|
109535
109832
|
|
|
109833
|
+
/***/ }),
|
|
109834
|
+
|
|
109835
|
+
/***/ "9038":
|
|
109836
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
109837
|
+
|
|
109838
|
+
"use strict";
|
|
109839
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_ExtraManageEdit_vue_vue_type_style_index_0_id_78d9f013_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("11e0");
|
|
109840
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_ExtraManageEdit_vue_vue_type_style_index_0_id_78d9f013_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_ExtraManageEdit_vue_vue_type_style_index_0_id_78d9f013_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
109841
|
+
/* unused harmony reexport * */
|
|
109842
|
+
|
|
109843
|
+
|
|
109536
109844
|
/***/ }),
|
|
109537
109845
|
|
|
109538
109846
|
/***/ "907a":
|
|
@@ -138077,6 +138385,20 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
|
138077
138385
|
});
|
|
138078
138386
|
|
|
138079
138387
|
|
|
138388
|
+
/***/ }),
|
|
138389
|
+
|
|
138390
|
+
/***/ "d9ea":
|
|
138391
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
138392
|
+
|
|
138393
|
+
// Imports
|
|
138394
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
138395
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
138396
|
+
// Module
|
|
138397
|
+
exports.push([module.i, ".primary-color-text[data-v-78d9f013]{color:#2681f3}.text-title[data-v-78d9f013]{height:40px;width:100%;font-size:14px;font-weight:700;color:rgba(0,0,0,.8);position:relative;padding:20px 10px;display:flex;align-items:center}.text-title[data-v-78d9f013]:before{position:absolute;content:\"\";left:0;top:12px;bottom:12px;width:4px;background-color:#2681f3}", ""]);
|
|
138398
|
+
// Exports
|
|
138399
|
+
module.exports = exports;
|
|
138400
|
+
|
|
138401
|
+
|
|
138080
138402
|
/***/ }),
|
|
138081
138403
|
|
|
138082
138404
|
/***/ "da05":
|
|
@@ -145038,218 +145360,9 @@ var input_number = __webpack_require__("09d9");
|
|
|
145038
145360
|
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/select/index.js
|
|
145039
145361
|
var es_select = __webpack_require__("9839");
|
|
145040
145362
|
|
|
145041
|
-
// EXTERNAL MODULE: ./node_modules
|
|
145042
|
-
var
|
|
145043
|
-
|
|
145044
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
145045
|
-
var defineProperty = __webpack_require__("ade3");
|
|
145046
|
-
|
|
145047
|
-
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/icons/LoadingOutlined.js + 1 modules
|
|
145048
|
-
var LoadingOutlined = __webpack_require__("8fe6");
|
|
145049
|
-
|
|
145050
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/vue-types/index.js + 1 modules
|
|
145051
|
-
var vue_types = __webpack_require__("4d91");
|
|
145052
|
-
|
|
145053
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/KeyCode.js
|
|
145054
|
-
var KeyCode = __webpack_require__("18a7");
|
|
145055
|
-
|
|
145056
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/wave.js + 1 modules
|
|
145057
|
-
var wave = __webpack_require__("a9d4");
|
|
145058
|
-
|
|
145059
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/warning.js
|
|
145060
|
-
var warning = __webpack_require__("6a21");
|
|
145061
|
-
|
|
145062
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/type.js
|
|
145063
|
-
var type = __webpack_require__("46b7");
|
|
145064
|
-
|
|
145065
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/props-util/index.js
|
|
145066
|
-
var props_util = __webpack_require__("1d6f");
|
|
145067
|
-
|
|
145068
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/hooks/useConfigInject.js
|
|
145069
|
-
var useConfigInject = __webpack_require__("207c");
|
|
145070
|
-
|
|
145071
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/form/FormItemContext.js
|
|
145072
|
-
var FormItemContext = __webpack_require__("22c3");
|
|
145073
|
-
|
|
145074
|
-
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/omit.js
|
|
145075
|
-
var omit = __webpack_require__("aca3");
|
|
145076
|
-
|
|
145077
|
-
// CONCATENATED MODULE: ./node_modules/ant-design-vue/es/switch/index.js
|
|
145078
|
-
|
|
145079
|
-
|
|
145080
|
-
|
|
145081
|
-
|
|
145082
|
-
|
|
145083
|
-
|
|
145363
|
+
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/switch/index.js
|
|
145364
|
+
var es_switch = __webpack_require__("160c");
|
|
145084
145365
|
|
|
145085
|
-
|
|
145086
|
-
|
|
145087
|
-
|
|
145088
|
-
|
|
145089
|
-
|
|
145090
|
-
|
|
145091
|
-
|
|
145092
|
-
var SwitchSizes = Object(type["a" /* tuple */])('small', 'default');
|
|
145093
|
-
var switch_switchProps = function switchProps() {
|
|
145094
|
-
return {
|
|
145095
|
-
id: String,
|
|
145096
|
-
prefixCls: String,
|
|
145097
|
-
size: vue_types["a" /* default */].oneOf(SwitchSizes),
|
|
145098
|
-
disabled: {
|
|
145099
|
-
type: Boolean,
|
|
145100
|
-
default: undefined
|
|
145101
|
-
},
|
|
145102
|
-
checkedChildren: vue_types["a" /* default */].any,
|
|
145103
|
-
unCheckedChildren: vue_types["a" /* default */].any,
|
|
145104
|
-
tabindex: vue_types["a" /* default */].oneOfType([vue_types["a" /* default */].string, vue_types["a" /* default */].number]),
|
|
145105
|
-
autofocus: {
|
|
145106
|
-
type: Boolean,
|
|
145107
|
-
default: undefined
|
|
145108
|
-
},
|
|
145109
|
-
loading: {
|
|
145110
|
-
type: Boolean,
|
|
145111
|
-
default: undefined
|
|
145112
|
-
},
|
|
145113
|
-
checked: vue_types["a" /* default */].oneOfType([vue_types["a" /* default */].string, vue_types["a" /* default */].number, vue_types["a" /* default */].looseBool]),
|
|
145114
|
-
checkedValue: vue_types["a" /* default */].oneOfType([vue_types["a" /* default */].string, vue_types["a" /* default */].number, vue_types["a" /* default */].looseBool]).def(true),
|
|
145115
|
-
unCheckedValue: vue_types["a" /* default */].oneOfType([vue_types["a" /* default */].string, vue_types["a" /* default */].number, vue_types["a" /* default */].looseBool]).def(false),
|
|
145116
|
-
onChange: {
|
|
145117
|
-
type: Function
|
|
145118
|
-
},
|
|
145119
|
-
onClick: {
|
|
145120
|
-
type: Function
|
|
145121
|
-
},
|
|
145122
|
-
onKeydown: {
|
|
145123
|
-
type: Function
|
|
145124
|
-
},
|
|
145125
|
-
onMouseup: {
|
|
145126
|
-
type: Function
|
|
145127
|
-
},
|
|
145128
|
-
'onUpdate:checked': {
|
|
145129
|
-
type: Function
|
|
145130
|
-
},
|
|
145131
|
-
onBlur: Function,
|
|
145132
|
-
onFocus: Function
|
|
145133
|
-
};
|
|
145134
|
-
};
|
|
145135
|
-
var Switch = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
145136
|
-
compatConfig: {
|
|
145137
|
-
MODE: 3
|
|
145138
|
-
},
|
|
145139
|
-
name: 'ASwitch',
|
|
145140
|
-
__ANT_SWITCH: true,
|
|
145141
|
-
inheritAttrs: false,
|
|
145142
|
-
props: switch_switchProps(),
|
|
145143
|
-
slots: ['checkedChildren', 'unCheckedChildren'],
|
|
145144
|
-
// emits: ['update:checked', 'mouseup', 'change', 'click', 'keydown', 'blur'],
|
|
145145
|
-
setup: function setup(props, _ref) {
|
|
145146
|
-
var attrs = _ref.attrs,
|
|
145147
|
-
slots = _ref.slots,
|
|
145148
|
-
expose = _ref.expose,
|
|
145149
|
-
emit = _ref.emit;
|
|
145150
|
-
var formItemContext = Object(FormItemContext["b" /* useInjectFormItemContext */])();
|
|
145151
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onBeforeMount"])(function () {
|
|
145152
|
-
Object(warning["a" /* default */])(!('defaultChecked' in attrs), 'Switch', "'defaultChecked' is deprecated, please use 'v-model:checked'");
|
|
145153
|
-
Object(warning["a" /* default */])(!('value' in attrs), 'Switch', '`value` is not validate prop, do you mean `checked`?');
|
|
145154
|
-
});
|
|
145155
|
-
var checked = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(props.checked !== undefined ? props.checked : attrs.defaultChecked);
|
|
145156
|
-
var checkedStatus = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
145157
|
-
return checked.value === props.checkedValue;
|
|
145158
|
-
});
|
|
145159
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
145160
|
-
return props.checked;
|
|
145161
|
-
}, function () {
|
|
145162
|
-
checked.value = props.checked;
|
|
145163
|
-
});
|
|
145164
|
-
var _useConfigInject = Object(useConfigInject["a" /* default */])('switch', props),
|
|
145165
|
-
prefixCls = _useConfigInject.prefixCls,
|
|
145166
|
-
direction = _useConfigInject.direction,
|
|
145167
|
-
size = _useConfigInject.size;
|
|
145168
|
-
var refSwitchNode = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])();
|
|
145169
|
-
var focus = function focus() {
|
|
145170
|
-
var _refSwitchNode$value;
|
|
145171
|
-
(_refSwitchNode$value = refSwitchNode.value) === null || _refSwitchNode$value === void 0 ? void 0 : _refSwitchNode$value.focus();
|
|
145172
|
-
};
|
|
145173
|
-
var blur = function blur() {
|
|
145174
|
-
var _refSwitchNode$value2;
|
|
145175
|
-
(_refSwitchNode$value2 = refSwitchNode.value) === null || _refSwitchNode$value2 === void 0 ? void 0 : _refSwitchNode$value2.blur();
|
|
145176
|
-
};
|
|
145177
|
-
expose({
|
|
145178
|
-
focus: focus,
|
|
145179
|
-
blur: blur
|
|
145180
|
-
});
|
|
145181
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["onMounted"])(function () {
|
|
145182
|
-
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
145183
|
-
if (props.autofocus && !props.disabled) {
|
|
145184
|
-
refSwitchNode.value.focus();
|
|
145185
|
-
}
|
|
145186
|
-
});
|
|
145187
|
-
});
|
|
145188
|
-
var setChecked = function setChecked(check, e) {
|
|
145189
|
-
if (props.disabled) {
|
|
145190
|
-
return;
|
|
145191
|
-
}
|
|
145192
|
-
emit('update:checked', check);
|
|
145193
|
-
emit('change', check, e);
|
|
145194
|
-
formItemContext.onFieldChange();
|
|
145195
|
-
};
|
|
145196
|
-
var handleBlur = function handleBlur(e) {
|
|
145197
|
-
emit('blur', e);
|
|
145198
|
-
};
|
|
145199
|
-
var handleClick = function handleClick(e) {
|
|
145200
|
-
focus();
|
|
145201
|
-
var newChecked = checkedStatus.value ? props.unCheckedValue : props.checkedValue;
|
|
145202
|
-
setChecked(newChecked, e);
|
|
145203
|
-
emit('click', newChecked, e);
|
|
145204
|
-
};
|
|
145205
|
-
var handleKeyDown = function handleKeyDown(e) {
|
|
145206
|
-
if (e.keyCode === KeyCode["a" /* default */].LEFT) {
|
|
145207
|
-
setChecked(props.unCheckedValue, e);
|
|
145208
|
-
} else if (e.keyCode === KeyCode["a" /* default */].RIGHT) {
|
|
145209
|
-
setChecked(props.checkedValue, e);
|
|
145210
|
-
}
|
|
145211
|
-
emit('keydown', e);
|
|
145212
|
-
};
|
|
145213
|
-
var handleMouseUp = function handleMouseUp(e) {
|
|
145214
|
-
var _refSwitchNode$value3;
|
|
145215
|
-
(_refSwitchNode$value3 = refSwitchNode.value) === null || _refSwitchNode$value3 === void 0 ? void 0 : _refSwitchNode$value3.blur();
|
|
145216
|
-
emit('mouseup', e);
|
|
145217
|
-
};
|
|
145218
|
-
var classNames = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(function () {
|
|
145219
|
-
var _ref2;
|
|
145220
|
-
return _ref2 = {}, Object(defineProperty["a" /* default */])(_ref2, "".concat(prefixCls.value, "-small"), size.value === 'small'), Object(defineProperty["a" /* default */])(_ref2, "".concat(prefixCls.value, "-loading"), props.loading), Object(defineProperty["a" /* default */])(_ref2, "".concat(prefixCls.value, "-checked"), checkedStatus.value), Object(defineProperty["a" /* default */])(_ref2, "".concat(prefixCls.value, "-disabled"), props.disabled), Object(defineProperty["a" /* default */])(_ref2, prefixCls.value, true), Object(defineProperty["a" /* default */])(_ref2, "".concat(prefixCls.value, "-rtl"), direction.value === 'rtl'), _ref2;
|
|
145221
|
-
});
|
|
145222
|
-
return function () {
|
|
145223
|
-
var _props$id;
|
|
145224
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(wave["a" /* default */], {
|
|
145225
|
-
"insertExtraNode": true
|
|
145226
|
-
}, {
|
|
145227
|
-
default: function _default() {
|
|
145228
|
-
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("button", Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, Object(omit["a" /* default */])(props, ['prefixCls', 'checkedChildren', 'unCheckedChildren', 'checked', 'autofocus', 'checkedValue', 'unCheckedValue', 'id', 'onChange', 'onUpdate:checked'])), attrs), {}, {
|
|
145229
|
-
"id": (_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : formItemContext.id.value,
|
|
145230
|
-
"onKeydown": handleKeyDown,
|
|
145231
|
-
"onClick": handleClick,
|
|
145232
|
-
"onBlur": handleBlur,
|
|
145233
|
-
"onMouseup": handleMouseUp,
|
|
145234
|
-
"type": "button",
|
|
145235
|
-
"role": "switch",
|
|
145236
|
-
"aria-checked": checked.value,
|
|
145237
|
-
"disabled": props.disabled || props.loading,
|
|
145238
|
-
"class": [attrs.class, classNames.value],
|
|
145239
|
-
"ref": refSwitchNode
|
|
145240
|
-
}), [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
|
145241
|
-
"class": "".concat(prefixCls.value, "-handle")
|
|
145242
|
-
}, [props.loading ? Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(LoadingOutlined["a" /* default */], {
|
|
145243
|
-
"class": "".concat(prefixCls.value, "-loading-icon")
|
|
145244
|
-
}, null) : null]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", {
|
|
145245
|
-
"class": "".concat(prefixCls.value, "-inner")
|
|
145246
|
-
}, [checkedStatus.value ? Object(props_util["i" /* getPropsSlot */])(slots, props, 'checkedChildren') : Object(props_util["i" /* getPropsSlot */])(slots, props, 'unCheckedChildren')])])];
|
|
145247
|
-
}
|
|
145248
|
-
});
|
|
145249
|
-
};
|
|
145250
|
-
}
|
|
145251
|
-
});
|
|
145252
|
-
/* harmony default export */ var es_switch = (Object(type["b" /* withInstall */])(Switch));
|
|
145253
145366
|
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/message/index.js
|
|
145254
145367
|
var message = __webpack_require__("f64c");
|
|
145255
145368
|
|
|
@@ -145263,37 +145376,9 @@ var util = __webpack_require__("f348");
|
|
|
145263
145376
|
var vuedraggable_umd = __webpack_require__("b76a");
|
|
145264
145377
|
var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_umd);
|
|
145265
145378
|
|
|
145266
|
-
//
|
|
145267
|
-
|
|
145268
|
-
var DragOutlined_DragOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z" } }] }, "name": "drag", "theme": "outlined" };
|
|
145269
|
-
/* harmony default export */ var asn_DragOutlined = (DragOutlined_DragOutlined);
|
|
145270
|
-
|
|
145271
|
-
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/components/AntdIcon.js + 2 modules
|
|
145272
|
-
var AntdIcon = __webpack_require__("b3f0");
|
|
145379
|
+
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/icons/DragOutlined.js + 1 modules
|
|
145380
|
+
var DragOutlined = __webpack_require__("127d");
|
|
145273
145381
|
|
|
145274
|
-
// CONCATENATED MODULE: ./node_modules/@ant-design/icons-vue/es/icons/DragOutlined.js
|
|
145275
|
-
|
|
145276
|
-
|
|
145277
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
145278
|
-
|
|
145279
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
145280
|
-
|
|
145281
|
-
// GENERATE BY ./scripts/generate.ts
|
|
145282
|
-
// DON NOT EDIT IT MANUALLY
|
|
145283
|
-
|
|
145284
|
-
|
|
145285
|
-
|
|
145286
|
-
var icons_DragOutlined_DragOutlined = function DragOutlined(props, context) {
|
|
145287
|
-
var p = _objectSpread({}, props, context.attrs);
|
|
145288
|
-
|
|
145289
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(AntdIcon["a" /* default */], _objectSpread({}, p, {
|
|
145290
|
-
"icon": asn_DragOutlined
|
|
145291
|
-
}), null);
|
|
145292
|
-
};
|
|
145293
|
-
|
|
145294
|
-
icons_DragOutlined_DragOutlined.displayName = 'DragOutlined';
|
|
145295
|
-
icons_DragOutlined_DragOutlined.inheritAttrs = false;
|
|
145296
|
-
/* harmony default export */ var icons_DragOutlined = (icons_DragOutlined_DragOutlined);
|
|
145297
145382
|
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/icons/DeleteOutlined.js + 1 modules
|
|
145298
145383
|
var DeleteOutlined = __webpack_require__("b1c8");
|
|
145299
145384
|
|
|
@@ -145380,9 +145465,9 @@ const useForm = es_form["a" /* default */].useForm;
|
|
|
145380
145465
|
"a-input": input["a" /* default */],
|
|
145381
145466
|
"a-input-number": input_number["a" /* default */],
|
|
145382
145467
|
"a-select": es_select["b" /* default */],
|
|
145383
|
-
"a-switch": es_switch,
|
|
145468
|
+
"a-switch": es_switch["a" /* default */],
|
|
145384
145469
|
draggable: vuedraggable_umd_default.a,
|
|
145385
|
-
DragOutlined:
|
|
145470
|
+
DragOutlined: DragOutlined["a" /* default */],
|
|
145386
145471
|
DeleteOutlined: DeleteOutlined["a" /* default */],
|
|
145387
145472
|
TextTip: TextTip["a" /* default */],
|
|
145388
145473
|
QuestionCircleOutlined: QuestionCircleOutlined["a" /* default */]
|
|
@@ -148314,6 +148399,8 @@ __webpack_require__.d(__webpack_exports__, "ReportLang", function() { return /*
|
|
|
148314
148399
|
__webpack_require__.d(__webpack_exports__, "ColorPicker", function() { return /* reexport */ ColorPicker; });
|
|
148315
148400
|
__webpack_require__.d(__webpack_exports__, "ApprovalDetail", function() { return /* reexport */ ApprovalDetail; });
|
|
148316
148401
|
__webpack_require__.d(__webpack_exports__, "BlMobileAnnexUpload", function() { return /* reexport */ BlMobileAnnexUpload; });
|
|
148402
|
+
__webpack_require__.d(__webpack_exports__, "SelectColor", function() { return /* reexport */ SelectColor; });
|
|
148403
|
+
__webpack_require__.d(__webpack_exports__, "PublicExtensionField", function() { return /* reexport */ PublicExtensionField; });
|
|
148317
148404
|
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ install; });
|
|
148318
148405
|
|
|
148319
148406
|
// NAMESPACE OBJECT: ./src/components/components.js
|
|
@@ -148362,6 +148449,8 @@ __webpack_require__.d(components_namespaceObject, "ReportLang", function() { ret
|
|
|
148362
148449
|
__webpack_require__.d(components_namespaceObject, "ColorPicker", function() { return ColorPicker; });
|
|
148363
148450
|
__webpack_require__.d(components_namespaceObject, "ApprovalDetail", function() { return ApprovalDetail; });
|
|
148364
148451
|
__webpack_require__.d(components_namespaceObject, "BlMobileAnnexUpload", function() { return BlMobileAnnexUpload; });
|
|
148452
|
+
__webpack_require__.d(components_namespaceObject, "SelectColor", function() { return SelectColor; });
|
|
148453
|
+
__webpack_require__.d(components_namespaceObject, "PublicExtensionField", function() { return PublicExtensionField; });
|
|
148365
148454
|
|
|
148366
148455
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
148367
148456
|
// This file is imported into lib/wc client bundles.
|
|
@@ -177815,7 +177904,7 @@ var BlTextTranslationModal = __webpack_require__("9665");
|
|
|
177815
177904
|
// EXTERNAL MODULE: ./src/components/BlTextTranslationBtn/index.vue + 6 modules
|
|
177816
177905
|
var BlTextTranslationBtn = __webpack_require__("b4b2");
|
|
177817
177906
|
|
|
177818
|
-
// EXTERNAL MODULE: ./src/components/ExtraManage/index.vue +
|
|
177907
|
+
// EXTERNAL MODULE: ./src/components/ExtraManage/index.vue + 9 modules
|
|
177819
177908
|
var ExtraManage = __webpack_require__("f3e2");
|
|
177820
177909
|
|
|
177821
177910
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/ExtraFieldsItem/index.vue?vue&type=template&id=0005ab9a&scoped=true
|
|
@@ -184231,6 +184320,1268 @@ var ApprovalDetailvue_type_style_index_0_id_96225246_lang_less_scoped_true = __w
|
|
|
184231
184320
|
const ApprovalDetail_exports_ = /*#__PURE__*/exportHelper_default()(ApprovalDetailvue_type_script_lang_js, [['render',ApprovalDetailvue_type_template_id_96225246_scoped_true_render],['__scopeId',"data-v-96225246"]])
|
|
184232
184321
|
|
|
184233
184322
|
/* harmony default export */ var ApprovalDetail = (ApprovalDetail_exports_);
|
|
184323
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/SelectColor/index.vue?vue&type=template&id=31c5229e&scoped=true
|
|
184324
|
+
|
|
184325
|
+
const SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_1 = {
|
|
184326
|
+
class: "bg-warp"
|
|
184327
|
+
};
|
|
184328
|
+
const SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_2 = ["onClick"];
|
|
184329
|
+
const SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_3 = {
|
|
184330
|
+
key: 0,
|
|
184331
|
+
class: "no-color"
|
|
184332
|
+
};
|
|
184333
|
+
const SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_4 = {
|
|
184334
|
+
key: 1,
|
|
184335
|
+
class: "active-icon"
|
|
184336
|
+
};
|
|
184337
|
+
const SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_5 = {
|
|
184338
|
+
class: "color-item color-select-warp"
|
|
184339
|
+
};
|
|
184340
|
+
function SelectColorvue_type_template_id_31c5229e_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
184341
|
+
var _ctx$colorOptions;
|
|
184342
|
+
const _component_CheckOutlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("CheckOutlined");
|
|
184343
|
+
const _component_a_input = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-input");
|
|
184344
|
+
const _component_bl_icon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("bl-icon");
|
|
184345
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_1, [(_ctx$colorOptions = _ctx.colorOptions) !== null && _ctx$colorOptions !== void 0 && _ctx$colorOptions.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
184346
|
+
key: 0
|
|
184347
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.colorOptions, (color, index) => {
|
|
184348
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
184349
|
+
key: index,
|
|
184350
|
+
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])({
|
|
184351
|
+
background: color
|
|
184352
|
+
}),
|
|
184353
|
+
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["color-item", _ctx.modelValue == color ? 'active-color' : '']),
|
|
184354
|
+
onClick: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])($event => _ctx.$emit('update:modelValue', color), ["stop"])
|
|
184355
|
+
}, [!color ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_3)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.modelValue === color ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_CheckOutlined)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 14, SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_2);
|
|
184356
|
+
}), 128)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", SelectColorvue_type_template_id_31c5229e_scoped_true_hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input, {
|
|
184357
|
+
class: "select-color",
|
|
184358
|
+
type: "color",
|
|
184359
|
+
value: _ctx.modelValue,
|
|
184360
|
+
onInput: _cache[0] || (_cache[0] = $event => _ctx.$emit('update:modelValue', $event.target.value))
|
|
184361
|
+
}, null, 8, ["value"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
184362
|
+
class: "select-icon",
|
|
184363
|
+
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])({
|
|
184364
|
+
color: _ctx.iconColor
|
|
184365
|
+
})
|
|
184366
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_bl_icon, {
|
|
184367
|
+
type: "icon_xise"
|
|
184368
|
+
})], 4)])]);
|
|
184369
|
+
}
|
|
184370
|
+
// CONCATENATED MODULE: ./src/components/SelectColor/index.vue?vue&type=template&id=31c5229e&scoped=true
|
|
184371
|
+
|
|
184372
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/SelectColor/index.vue?vue&type=script&lang=js
|
|
184373
|
+
|
|
184374
|
+
|
|
184375
|
+
|
|
184376
|
+
|
|
184377
|
+
|
|
184378
|
+
/* harmony default export */ var SelectColorvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
184379
|
+
name: "SelectColor",
|
|
184380
|
+
props: {
|
|
184381
|
+
colorOptions: {
|
|
184382
|
+
type: Array,
|
|
184383
|
+
default: () => []
|
|
184384
|
+
},
|
|
184385
|
+
modelValue: {
|
|
184386
|
+
type: String,
|
|
184387
|
+
default: ''
|
|
184388
|
+
}
|
|
184389
|
+
},
|
|
184390
|
+
emits: ['update:modelValue'],
|
|
184391
|
+
components: {
|
|
184392
|
+
"bl-icon": BLIcon["a" /* default */],
|
|
184393
|
+
CheckOutlined: CheckOutlined["a" /* default */],
|
|
184394
|
+
"a-input": input["a" /* default */]
|
|
184395
|
+
},
|
|
184396
|
+
setup(props, {
|
|
184397
|
+
slots,
|
|
184398
|
+
emit
|
|
184399
|
+
}) {
|
|
184400
|
+
const calculateLuminance = (r, g, b) => {
|
|
184401
|
+
// 使用W3C推荐算法计算相对亮度
|
|
184402
|
+
const a = [r, g, b].map(v => {
|
|
184403
|
+
v /= 255;
|
|
184404
|
+
return v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
|
|
184405
|
+
});
|
|
184406
|
+
return a[0] * 0.2126 + a[1] * 0.7152 + a[2] * 0.0722;
|
|
184407
|
+
};
|
|
184408
|
+
const iconColor = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
184409
|
+
if (props.modelValue) {
|
|
184410
|
+
// 转换为RGB
|
|
184411
|
+
const r = parseInt(props.modelValue.substr(1, 2), 16);
|
|
184412
|
+
const g = parseInt(props.modelValue.substr(3, 2), 16);
|
|
184413
|
+
const b = parseInt(props.modelValue.substr(5, 2), 16);
|
|
184414
|
+
|
|
184415
|
+
// 计算相对亮度(0-1)
|
|
184416
|
+
const luminance = calculateLuminance(r, g, b);
|
|
184417
|
+
|
|
184418
|
+
// 根据亮度设置图标颜色
|
|
184419
|
+
if (luminance <= 0.4) {
|
|
184420
|
+
return '#fff';
|
|
184421
|
+
} else {
|
|
184422
|
+
return '#2681f3';
|
|
184423
|
+
}
|
|
184424
|
+
} else {
|
|
184425
|
+
return '#fff';
|
|
184426
|
+
}
|
|
184427
|
+
});
|
|
184428
|
+
return {
|
|
184429
|
+
iconColor
|
|
184430
|
+
};
|
|
184431
|
+
}
|
|
184432
|
+
}));
|
|
184433
|
+
// CONCATENATED MODULE: ./src/components/SelectColor/index.vue?vue&type=script&lang=js
|
|
184434
|
+
|
|
184435
|
+
// EXTERNAL MODULE: ./src/components/SelectColor/index.vue?vue&type=style&index=0&id=31c5229e&lang=less&scoped=true
|
|
184436
|
+
var SelectColorvue_type_style_index_0_id_31c5229e_lang_less_scoped_true = __webpack_require__("56d4");
|
|
184437
|
+
|
|
184438
|
+
// CONCATENATED MODULE: ./src/components/SelectColor/index.vue
|
|
184439
|
+
|
|
184440
|
+
|
|
184441
|
+
|
|
184442
|
+
|
|
184443
|
+
|
|
184444
|
+
|
|
184445
|
+
|
|
184446
|
+
const SelectColor_exports_ = /*#__PURE__*/exportHelper_default()(SelectColorvue_type_script_lang_js, [['render',SelectColorvue_type_template_id_31c5229e_scoped_true_render],['__scopeId',"data-v-31c5229e"]])
|
|
184447
|
+
|
|
184448
|
+
/* harmony default export */ var SelectColor = (SelectColor_exports_);
|
|
184449
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/PublicExtensionField/index.vue?vue&type=template&id=622ed48d
|
|
184450
|
+
|
|
184451
|
+
const PublicExtensionFieldvue_type_template_id_622ed48d_hoisted_1 = {
|
|
184452
|
+
key: 0
|
|
184453
|
+
};
|
|
184454
|
+
const PublicExtensionFieldvue_type_template_id_622ed48d_hoisted_2 = {
|
|
184455
|
+
key: 1
|
|
184456
|
+
};
|
|
184457
|
+
function PublicExtensionFieldvue_type_template_id_622ed48d_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
184458
|
+
const _component_a_button = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-button");
|
|
184459
|
+
const _component_a_tooltip = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tooltip");
|
|
184460
|
+
const _component_CustomTable = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("CustomTable");
|
|
184461
|
+
const _component_ExtraManageEdit = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("ExtraManageEdit");
|
|
184462
|
+
const _component_a_drawer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-drawer");
|
|
184463
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_drawer, {
|
|
184464
|
+
title: _ctx.t('ExtraManage.index.845270-0'),
|
|
184465
|
+
maskClosable: false,
|
|
184466
|
+
visible: _ctx.visible,
|
|
184467
|
+
width: 1000,
|
|
184468
|
+
destroyOnClose: true,
|
|
184469
|
+
footer: false,
|
|
184470
|
+
"body-style": {
|
|
184471
|
+
padding: '10px 10px 80px 10px',
|
|
184472
|
+
background: '#f0f2f5',
|
|
184473
|
+
flex: 1
|
|
184474
|
+
},
|
|
184475
|
+
onClose: _ctx.closeModal
|
|
184476
|
+
}, {
|
|
184477
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_CustomTable, {
|
|
184478
|
+
ref: "customTable",
|
|
184479
|
+
search: {
|
|
184480
|
+
columns: [],
|
|
184481
|
+
colSpan: 6
|
|
184482
|
+
},
|
|
184483
|
+
requestInfo: _ctx.requestListInfo,
|
|
184484
|
+
hasPagination: false,
|
|
184485
|
+
extraParams: _ctx.listParams,
|
|
184486
|
+
hasMoreAction: false,
|
|
184487
|
+
rightButtons: _ctx.rightButtons,
|
|
184488
|
+
columns: _ctx.columns,
|
|
184489
|
+
onRequest: _ctx.handleRequest,
|
|
184490
|
+
tableConfig: _ctx.tableConfig
|
|
184491
|
+
}, {
|
|
184492
|
+
"column-action": Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(({
|
|
184493
|
+
record
|
|
184494
|
+
}) => [record.is_system == 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", PublicExtensionFieldvue_type_template_id_622ed48d_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_tooltip, null, {
|
|
184495
|
+
title: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[1] || (_cache[1] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("系统内置字段,无法操作")])),
|
|
184496
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_button, {
|
|
184497
|
+
disabled: "",
|
|
184498
|
+
type: "link"
|
|
184499
|
+
}, {
|
|
184500
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[2] || (_cache[2] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("编辑")])),
|
|
184501
|
+
_: 1
|
|
184502
|
+
})]),
|
|
184503
|
+
_: 1
|
|
184504
|
+
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_tooltip, null, {
|
|
184505
|
+
title: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[3] || (_cache[3] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("系统内置字段,无法操作")])),
|
|
184506
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_button, {
|
|
184507
|
+
disabled: "",
|
|
184508
|
+
type: "link",
|
|
184509
|
+
danger: ""
|
|
184510
|
+
}, {
|
|
184511
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[4] || (_cache[4] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("删除")])),
|
|
184512
|
+
_: 1
|
|
184513
|
+
})]),
|
|
184514
|
+
_: 1
|
|
184515
|
+
})])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", PublicExtensionFieldvue_type_template_id_622ed48d_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_button, {
|
|
184516
|
+
onClick: $event => _ctx.handleEdit(record),
|
|
184517
|
+
type: "link"
|
|
184518
|
+
}, {
|
|
184519
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[5] || (_cache[5] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("编辑")])),
|
|
184520
|
+
_: 2
|
|
184521
|
+
}, 1032, ["onClick"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_button, {
|
|
184522
|
+
onClick: $event => _ctx.handleDelete(record),
|
|
184523
|
+
type: "link",
|
|
184524
|
+
danger: ""
|
|
184525
|
+
}, {
|
|
184526
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[6] || (_cache[6] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])("删除")])),
|
|
184527
|
+
_: 2
|
|
184528
|
+
}, 1032, ["onClick"])]))]),
|
|
184529
|
+
_: 1
|
|
184530
|
+
}, 8, ["requestInfo", "extraParams", "rightButtons", "columns", "onRequest", "tableConfig"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_ExtraManageEdit, {
|
|
184531
|
+
visible: _ctx.editVisible,
|
|
184532
|
+
displayCompany: _ctx.displayCompany,
|
|
184533
|
+
expandFieldsExtraParams: _ctx.expandFieldsExtraParams,
|
|
184534
|
+
id: _ctx.editId,
|
|
184535
|
+
hasVillageSelect: _ctx.hasVillageSelect,
|
|
184536
|
+
onCloseModal: _cache[0] || (_cache[0] = $event => _ctx.editVisible = false),
|
|
184537
|
+
onSuccess: _ctx.editSuccess,
|
|
184538
|
+
onRequest: _ctx.handleRequest
|
|
184539
|
+
}, null, 8, ["visible", "displayCompany", "expandFieldsExtraParams", "id", "hasVillageSelect", "onSuccess", "onRequest"])]),
|
|
184540
|
+
_: 1
|
|
184541
|
+
}, 8, ["title", "visible", "onClose"]);
|
|
184542
|
+
}
|
|
184543
|
+
// CONCATENATED MODULE: ./src/components/PublicExtensionField/index.vue?vue&type=template&id=622ed48d
|
|
184544
|
+
|
|
184545
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/PublicExtensionField/components/ExtraManageEdit.vue?vue&type=template&id=78d9f013&scoped=true
|
|
184546
|
+
|
|
184547
|
+
const ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_1 = {
|
|
184548
|
+
class: "text-title"
|
|
184549
|
+
};
|
|
184550
|
+
const ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_2 = {
|
|
184551
|
+
style: {
|
|
184552
|
+
"margin-bottom": "10px"
|
|
184553
|
+
}
|
|
184554
|
+
};
|
|
184555
|
+
const ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_3 = {
|
|
184556
|
+
style: {
|
|
184557
|
+
"display": "inline-block"
|
|
184558
|
+
}
|
|
184559
|
+
};
|
|
184560
|
+
const ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_4 = {
|
|
184561
|
+
key: 0
|
|
184562
|
+
};
|
|
184563
|
+
const ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_5 = {
|
|
184564
|
+
key: 1
|
|
184565
|
+
};
|
|
184566
|
+
const ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_6 = {
|
|
184567
|
+
key: 2
|
|
184568
|
+
};
|
|
184569
|
+
function ExtraManageEditvue_type_template_id_78d9f013_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
184570
|
+
const _component_a_input = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-input");
|
|
184571
|
+
const _component_a_form_item = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-form-item");
|
|
184572
|
+
const _component_a_col = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-col");
|
|
184573
|
+
const _component_text_tip = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("text-tip");
|
|
184574
|
+
const _component_a_select_option = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-select-option");
|
|
184575
|
+
const _component_a_select = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-select");
|
|
184576
|
+
const _component_a_input_number = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-input-number");
|
|
184577
|
+
const _component_a_switch = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-switch");
|
|
184578
|
+
const _component_drag_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("drag-outlined");
|
|
184579
|
+
const _component_delete_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("delete-outlined");
|
|
184580
|
+
const _component_draggable = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("draggable");
|
|
184581
|
+
const _component_a_button = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-button");
|
|
184582
|
+
const _component_question_circle_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("question-circle-outlined");
|
|
184583
|
+
const _component_a_tooltip = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tooltip");
|
|
184584
|
+
const _component_a_row = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-row");
|
|
184585
|
+
const _component_a_form = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-form");
|
|
184586
|
+
const _component_a_modal = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-modal");
|
|
184587
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_modal, {
|
|
184588
|
+
visible: _ctx.visible,
|
|
184589
|
+
title: _ctx.title,
|
|
184590
|
+
onCancel: _ctx.closeModal,
|
|
184591
|
+
onOk: _ctx.onSubmit,
|
|
184592
|
+
"destroy-on-close": "",
|
|
184593
|
+
confirmLoading: _ctx.submitLoading,
|
|
184594
|
+
bodyStyle: {
|
|
184595
|
+
padding: '10px 16px',
|
|
184596
|
+
height: '492px',
|
|
184597
|
+
overflowY: 'auto'
|
|
184598
|
+
},
|
|
184599
|
+
width: 800,
|
|
184600
|
+
cancelText: _ctx.t('common.button.cancel'),
|
|
184601
|
+
okText: _ctx.t('common.button.submit')
|
|
184602
|
+
}, {
|
|
184603
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form, {
|
|
184604
|
+
layout: "vertical"
|
|
184605
|
+
}, {
|
|
184606
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_row, {
|
|
184607
|
+
gutter: 24,
|
|
184608
|
+
wrap: true
|
|
184609
|
+
}, {
|
|
184610
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_col, {
|
|
184611
|
+
span: 8
|
|
184612
|
+
}, {
|
|
184613
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["mergeProps"])({
|
|
184614
|
+
label: _ctx.t('components.ExtraManageEdit.301828-0')
|
|
184615
|
+
}, _ctx.validateInfos.fields_name), {
|
|
184616
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input, {
|
|
184617
|
+
class: "w-100p",
|
|
184618
|
+
value: _ctx.formState.fields_name,
|
|
184619
|
+
"onUpdate:value": _cache[0] || (_cache[0] = $event => _ctx.formState.fields_name = $event)
|
|
184620
|
+
}, null, 8, ["value"])]),
|
|
184621
|
+
_: 1
|
|
184622
|
+
}, 16, ["label"])]),
|
|
184623
|
+
_: 1
|
|
184624
|
+
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_col, {
|
|
184625
|
+
span: 8
|
|
184626
|
+
}, {
|
|
184627
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeProps"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["guardReactiveProps"])(_ctx.validateInfos.fields_type)), {
|
|
184628
|
+
label: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.249040-0')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_text_tip, {
|
|
184629
|
+
tips: [_ctx.t('components.ExtraManageEdit.736555-0')]
|
|
184630
|
+
}, null, 8, ["tips"])]),
|
|
184631
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_select, {
|
|
184632
|
+
placeholder: _ctx.t('common.please.choose'),
|
|
184633
|
+
value: _ctx.formState.fields_type,
|
|
184634
|
+
"onUpdate:value": _cache[1] || (_cache[1] = $event => _ctx.formState.fields_type = $event),
|
|
184635
|
+
disabled: _ctx.id ? true : false,
|
|
184636
|
+
onChange: _ctx.fieldsTypechage
|
|
184637
|
+
}, {
|
|
184638
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.fieldsTypeList, (item, index) => {
|
|
184639
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_select_option, {
|
|
184640
|
+
value: item.value,
|
|
184641
|
+
key: index
|
|
184642
|
+
}, {
|
|
184643
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.i18nMapShow(item, ['label'], ['label'])), 1)]),
|
|
184644
|
+
_: 2
|
|
184645
|
+
}, 1032, ["value"]);
|
|
184646
|
+
}), 128))]),
|
|
184647
|
+
_: 1
|
|
184648
|
+
}, 8, ["placeholder", "value", "disabled", "onChange"])]),
|
|
184649
|
+
_: 1
|
|
184650
|
+
}, 16)]),
|
|
184651
|
+
_: 1
|
|
184652
|
+
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_col, {
|
|
184653
|
+
span: 8
|
|
184654
|
+
}, {
|
|
184655
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeProps"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["guardReactiveProps"])(_ctx.validateInfos.sort)), {
|
|
184656
|
+
label: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.301828-1')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_text_tip, {
|
|
184657
|
+
tips: [_ctx.t('components.ExtraManageEdit.301828-2')]
|
|
184658
|
+
}, null, 8, ["tips"])]),
|
|
184659
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input_number, {
|
|
184660
|
+
style: {
|
|
184661
|
+
"width": "100%"
|
|
184662
|
+
},
|
|
184663
|
+
placeholder: _ctx.t('common.please.enter'),
|
|
184664
|
+
value: _ctx.formState.sort,
|
|
184665
|
+
"onUpdate:value": _cache[2] || (_cache[2] = $event => _ctx.formState.sort = $event),
|
|
184666
|
+
min: 0,
|
|
184667
|
+
precision: 0
|
|
184668
|
+
}, null, 8, ["placeholder", "value"])]),
|
|
184669
|
+
_: 1
|
|
184670
|
+
}, 16)]),
|
|
184671
|
+
_: 1
|
|
184672
|
+
}), _ctx.displayCompany ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184673
|
+
key: 0,
|
|
184674
|
+
span: 8
|
|
184675
|
+
}, {
|
|
184676
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeProps"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["guardReactiveProps"])(_ctx.validateInfos.org_branch_id)), {
|
|
184677
|
+
label: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.301828-3')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_text_tip, {
|
|
184678
|
+
tips: [_ctx.t('components.ExtraManageEdit.301828-4')]
|
|
184679
|
+
}, null, 8, ["tips"])]),
|
|
184680
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_select, {
|
|
184681
|
+
value: _ctx.formState.org_branch_id,
|
|
184682
|
+
"onUpdate:value": _cache[3] || (_cache[3] = $event => _ctx.formState.org_branch_id = $event),
|
|
184683
|
+
"show-search": "",
|
|
184684
|
+
placeholder: _ctx.t('common.please.choose'),
|
|
184685
|
+
allowClear: true,
|
|
184686
|
+
class: "w-100p",
|
|
184687
|
+
options: _ctx.companyList,
|
|
184688
|
+
"filter-option": _ctx.filterOption,
|
|
184689
|
+
onChange: _ctx.changeCompany
|
|
184690
|
+
}, null, 8, ["value", "placeholder", "options", "filter-option", "onChange"])]),
|
|
184691
|
+
_: 1
|
|
184692
|
+
}, 16)]),
|
|
184693
|
+
_: 1
|
|
184694
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.hasVillageSelect ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184695
|
+
key: 1,
|
|
184696
|
+
span: 8
|
|
184697
|
+
}, {
|
|
184698
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeProps"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["guardReactiveProps"])(_ctx.validateInfos.village_id)), {
|
|
184699
|
+
label: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('ExtraManage.index.845270-7')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_text_tip, {
|
|
184700
|
+
tips: [_ctx.t('modules.ExtraManageEdit.828230-5')]
|
|
184701
|
+
}, null, 8, ["tips"])]),
|
|
184702
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_select, {
|
|
184703
|
+
value: _ctx.formState.village_id,
|
|
184704
|
+
"onUpdate:value": _cache[4] || (_cache[4] = $event => _ctx.formState.village_id = $event),
|
|
184705
|
+
"show-search": "",
|
|
184706
|
+
placeholder: _ctx.t('common.please.choose'),
|
|
184707
|
+
allowClear: true,
|
|
184708
|
+
class: "w-100p",
|
|
184709
|
+
options: _ctx.villageList,
|
|
184710
|
+
"filter-option": _ctx.filterOption
|
|
184711
|
+
}, null, 8, ["value", "placeholder", "options", "filter-option"])]),
|
|
184712
|
+
_: 1
|
|
184713
|
+
}, 16)]),
|
|
184714
|
+
_: 1
|
|
184715
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_col, {
|
|
184716
|
+
span: 8
|
|
184717
|
+
}, {
|
|
184718
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["mergeProps"])({
|
|
184719
|
+
label: _ctx.t('components.ExtraManageEdit.301828-5')
|
|
184720
|
+
}, _ctx.validateInfos.fill), {
|
|
184721
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_switch, {
|
|
184722
|
+
checked: _ctx.formState.fill,
|
|
184723
|
+
"onUpdate:checked": _cache[5] || (_cache[5] = $event => _ctx.formState.fill = $event),
|
|
184724
|
+
checkedValue: 1,
|
|
184725
|
+
unCheckedValue: 0
|
|
184726
|
+
}, null, 8, ["checked"])]),
|
|
184727
|
+
_: 1
|
|
184728
|
+
}, 16, ["label"])]),
|
|
184729
|
+
_: 1
|
|
184730
|
+
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_col, {
|
|
184731
|
+
span: 24
|
|
184732
|
+
}, {
|
|
184733
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_1, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.extraManageEdit.enterSetting')), 1)]),
|
|
184734
|
+
_: 1
|
|
184735
|
+
}), _ctx.formState.fields_type == 'single_text' || _ctx.formState.fields_type == 'multiple_text' || _ctx.formState.fields_type == 'number' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184736
|
+
key: 2,
|
|
184737
|
+
span: 8
|
|
184738
|
+
}, {
|
|
184739
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, {
|
|
184740
|
+
label: _ctx.t('components.ExtraManageEdit.249040-3')
|
|
184741
|
+
}, {
|
|
184742
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input, {
|
|
184743
|
+
value: _ctx.formState.default_value,
|
|
184744
|
+
"onUpdate:value": _cache[6] || (_cache[6] = $event => _ctx.formState.default_value = $event)
|
|
184745
|
+
}, null, 8, ["value"])]),
|
|
184746
|
+
_: 1
|
|
184747
|
+
}, 8, ["label"])]),
|
|
184748
|
+
_: 1
|
|
184749
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'single_text' || _ctx.formState.fields_type == 'multiple_text' || _ctx.formState.fields_type == 'number' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184750
|
+
key: 3,
|
|
184751
|
+
span: 8
|
|
184752
|
+
}, {
|
|
184753
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, {
|
|
184754
|
+
label: _ctx.t('components.ExtraManageEdit.249040-4')
|
|
184755
|
+
}, {
|
|
184756
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input_number, {
|
|
184757
|
+
style: {
|
|
184758
|
+
"width": "70px"
|
|
184759
|
+
},
|
|
184760
|
+
value: _ctx.formState.min_length,
|
|
184761
|
+
"onUpdate:value": _cache[7] || (_cache[7] = $event => _ctx.formState.min_length = $event),
|
|
184762
|
+
onBlur: _ctx.blurNumber
|
|
184763
|
+
}, null, 8, ["value", "onBlur"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.249040-5')) + " ", 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input_number, {
|
|
184764
|
+
style: {
|
|
184765
|
+
"width": "70px"
|
|
184766
|
+
},
|
|
184767
|
+
value: _ctx.formState.max_length,
|
|
184768
|
+
"onUpdate:value": _cache[8] || (_cache[8] = $event => _ctx.formState.max_length = $event),
|
|
184769
|
+
onBlur: _ctx.blurNumber
|
|
184770
|
+
}, null, 8, ["value", "onBlur"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.249040-6')), 1)]),
|
|
184771
|
+
_: 1
|
|
184772
|
+
}, 8, ["label"])]),
|
|
184773
|
+
_: 1
|
|
184774
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'single_text' || _ctx.formState.fields_type == 'multiple_text' || _ctx.formState.fields_type == 'number' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184775
|
+
key: 4,
|
|
184776
|
+
span: 8
|
|
184777
|
+
}, {
|
|
184778
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, {
|
|
184779
|
+
label: _ctx.t('components.ExtraManageEdit.933363-0')
|
|
184780
|
+
}, {
|
|
184781
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input, {
|
|
184782
|
+
value: _ctx.formState.placeholder,
|
|
184783
|
+
"onUpdate:value": _cache[9] || (_cache[9] = $event => _ctx.formState.placeholder = $event)
|
|
184784
|
+
}, null, 8, ["value"])]),
|
|
184785
|
+
_: 1
|
|
184786
|
+
}, 8, ["label"])]),
|
|
184787
|
+
_: 1
|
|
184788
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'date' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184789
|
+
key: 5,
|
|
184790
|
+
span: 8
|
|
184791
|
+
}, {
|
|
184792
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, {
|
|
184793
|
+
label: _ctx.t('components.ExtraManageEdit.249040-8')
|
|
184794
|
+
}, {
|
|
184795
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_select, {
|
|
184796
|
+
placeholder: _ctx.t('common.please.choose'),
|
|
184797
|
+
value: _ctx.formState.date_type,
|
|
184798
|
+
"onUpdate:value": _cache[10] || (_cache[10] = $event => _ctx.formState.date_type = $event)
|
|
184799
|
+
}, {
|
|
184800
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.dateTypeList, (item, index) => {
|
|
184801
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_select_option, {
|
|
184802
|
+
value: item.value,
|
|
184803
|
+
key: index
|
|
184804
|
+
}, {
|
|
184805
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.label), 1)]),
|
|
184806
|
+
_: 2
|
|
184807
|
+
}, 1032, ["value"]);
|
|
184808
|
+
}), 128))]),
|
|
184809
|
+
_: 1
|
|
184810
|
+
}, 8, ["placeholder", "value"])]),
|
|
184811
|
+
_: 1
|
|
184812
|
+
}, 8, ["label"])]),
|
|
184813
|
+
_: 1
|
|
184814
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'radio' || _ctx.formState.fields_type == 'multiple_choice' || _ctx.formState.fields_type == 'select_single' || _ctx.formState.fields_type == 'select_multiple' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184815
|
+
key: 6,
|
|
184816
|
+
span: 8
|
|
184817
|
+
}, {
|
|
184818
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, {
|
|
184819
|
+
label: _ctx.t('components.ExtraManageEdit.249040-9')
|
|
184820
|
+
}, {
|
|
184821
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_draggable, {
|
|
184822
|
+
class: "list-group",
|
|
184823
|
+
group: "transition-group",
|
|
184824
|
+
modelValue: _ctx.formState.option_value,
|
|
184825
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => _ctx.formState.option_value = $event),
|
|
184826
|
+
filter: ".forbid",
|
|
184827
|
+
"item-key": "id"
|
|
184828
|
+
}, {
|
|
184829
|
+
item: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(({
|
|
184830
|
+
element,
|
|
184831
|
+
index
|
|
184832
|
+
}) => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("li", ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_drag_outlined, {
|
|
184833
|
+
style: {
|
|
184834
|
+
"color": "#999999",
|
|
184835
|
+
"font-size": "20px",
|
|
184836
|
+
"padding-right": "15px"
|
|
184837
|
+
}
|
|
184838
|
+
}), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input, {
|
|
184839
|
+
value: element.label,
|
|
184840
|
+
"onUpdate:value": $event => element.label = $event,
|
|
184841
|
+
style: {
|
|
184842
|
+
"width": "160px"
|
|
184843
|
+
}
|
|
184844
|
+
}, null, 8, ["value", "onUpdate:value"])]), _ctx.formState.option_value.length > 1 ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_delete_outlined, {
|
|
184845
|
+
key: 0,
|
|
184846
|
+
onClick: $event => _ctx.belerasure(index),
|
|
184847
|
+
style: {
|
|
184848
|
+
"color": "#999999",
|
|
184849
|
+
"font-size": "18px",
|
|
184850
|
+
"padding-left": "15px"
|
|
184851
|
+
}
|
|
184852
|
+
}, null, 8, ["onClick"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])]),
|
|
184853
|
+
_: 1
|
|
184854
|
+
}, 8, ["modelValue"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_button, {
|
|
184855
|
+
onClick: _ctx.addclick,
|
|
184856
|
+
type: "link"
|
|
184857
|
+
}, {
|
|
184858
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.249040-10')), 1)]),
|
|
184859
|
+
_: 1
|
|
184860
|
+
}, 8, ["onClick"])]),
|
|
184861
|
+
_: 1
|
|
184862
|
+
}, 8, ["label"])]),
|
|
184863
|
+
_: 1
|
|
184864
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'select_multiple' || _ctx.formState.fields_type == 'image' || _ctx.formState.fields_type == 'attachment' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184865
|
+
key: 7,
|
|
184866
|
+
span: 8
|
|
184867
|
+
}, {
|
|
184868
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, null, {
|
|
184869
|
+
label: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [_ctx.formState.fields_type == 'select_multiple' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_4, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.249040-11')), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'image' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_5, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.249040-12')), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'attachment' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", ExtraManageEditvue_type_template_id_78d9f013_scoped_true_hoisted_6, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('components.ExtraManageEdit.249040-12')), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]),
|
|
184870
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [_ctx.formState.fields_type == 'attachment' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_input_number, {
|
|
184871
|
+
key: 0,
|
|
184872
|
+
style: {
|
|
184873
|
+
"width": "100%"
|
|
184874
|
+
},
|
|
184875
|
+
min: 1,
|
|
184876
|
+
value: _ctx.formState.option_max,
|
|
184877
|
+
"onUpdate:value": _cache[12] || (_cache[12] = $event => _ctx.formState.option_max = $event)
|
|
184878
|
+
}, null, 8, ["value"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_input_number, {
|
|
184879
|
+
key: 1,
|
|
184880
|
+
style: {
|
|
184881
|
+
"width": "100%"
|
|
184882
|
+
},
|
|
184883
|
+
value: _ctx.formState.option_max,
|
|
184884
|
+
"onUpdate:value": _cache[13] || (_cache[13] = $event => _ctx.formState.option_max = $event)
|
|
184885
|
+
}, null, 8, ["value"]))]),
|
|
184886
|
+
_: 1
|
|
184887
|
+
})]),
|
|
184888
|
+
_: 1
|
|
184889
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.formState.fields_type == 'attachment' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_col, {
|
|
184890
|
+
key: 8,
|
|
184891
|
+
span: 8
|
|
184892
|
+
}, {
|
|
184893
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_form_item, null, {
|
|
184894
|
+
label: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.t('VisitorPage.index.924333-0')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_tooltip, null, {
|
|
184895
|
+
title: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.$t('VisitorPage.index.924333-1')), 1)]),
|
|
184896
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_question_circle_outlined)]),
|
|
184897
|
+
_: 1
|
|
184898
|
+
})]),
|
|
184899
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_a_input, {
|
|
184900
|
+
style: {
|
|
184901
|
+
"width": "100%"
|
|
184902
|
+
},
|
|
184903
|
+
value: _ctx.formState.file_type,
|
|
184904
|
+
"onUpdate:value": _cache[14] || (_cache[14] = $event => _ctx.formState.file_type = $event)
|
|
184905
|
+
}, null, 8, ["value"])]),
|
|
184906
|
+
_: 1
|
|
184907
|
+
})]),
|
|
184908
|
+
_: 1
|
|
184909
|
+
})) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]),
|
|
184910
|
+
_: 1
|
|
184911
|
+
})]),
|
|
184912
|
+
_: 1
|
|
184913
|
+
})]),
|
|
184914
|
+
_: 1
|
|
184915
|
+
}, 8, ["visible", "title", "onCancel", "onOk", "confirmLoading", "cancelText", "okText"]);
|
|
184916
|
+
}
|
|
184917
|
+
// CONCATENATED MODULE: ./src/components/PublicExtensionField/components/ExtraManageEdit.vue?vue&type=template&id=78d9f013&scoped=true
|
|
184918
|
+
|
|
184919
|
+
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/switch/index.js
|
|
184920
|
+
var es_switch = __webpack_require__("160c");
|
|
184921
|
+
|
|
184922
|
+
// EXTERNAL MODULE: ./node_modules/vuedraggable/dist/vuedraggable.umd.js
|
|
184923
|
+
var vuedraggable_umd = __webpack_require__("b76a");
|
|
184924
|
+
var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_umd);
|
|
184925
|
+
|
|
184926
|
+
// EXTERNAL MODULE: ./node_modules/@ant-design/icons-vue/es/icons/DragOutlined.js + 1 modules
|
|
184927
|
+
var DragOutlined = __webpack_require__("127d");
|
|
184928
|
+
|
|
184929
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/PublicExtensionField/components/ExtraManageEdit.vue?vue&type=script&lang=js
|
|
184930
|
+
|
|
184931
|
+
|
|
184932
|
+
|
|
184933
|
+
|
|
184934
|
+
|
|
184935
|
+
|
|
184936
|
+
|
|
184937
|
+
|
|
184938
|
+
const ExtraManageEditvue_type_script_lang_js_useForm = es_form["a" /* default */].useForm;
|
|
184939
|
+
|
|
184940
|
+
|
|
184941
|
+
|
|
184942
|
+
|
|
184943
|
+
/* harmony default export */ var ExtraManageEditvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
184944
|
+
name: "ExtraManageEdit",
|
|
184945
|
+
props: {
|
|
184946
|
+
visible: {
|
|
184947
|
+
type: Boolean,
|
|
184948
|
+
default: false
|
|
184949
|
+
},
|
|
184950
|
+
id: {
|
|
184951
|
+
type: [Number, String],
|
|
184952
|
+
default: 0
|
|
184953
|
+
},
|
|
184954
|
+
expandFieldsExtraParams: {
|
|
184955
|
+
type: Object,
|
|
184956
|
+
default: () => {}
|
|
184957
|
+
},
|
|
184958
|
+
hasVillageSelect: {
|
|
184959
|
+
type: Boolean,
|
|
184960
|
+
default: false
|
|
184961
|
+
},
|
|
184962
|
+
// 是否有所属公司筛选项
|
|
184963
|
+
displayCompany: {
|
|
184964
|
+
type: Boolean,
|
|
184965
|
+
default: true
|
|
184966
|
+
},
|
|
184967
|
+
alise: {
|
|
184968
|
+
type: String,
|
|
184969
|
+
default: ''
|
|
184970
|
+
},
|
|
184971
|
+
server: {
|
|
184972
|
+
type: String,
|
|
184973
|
+
default: ''
|
|
184974
|
+
}
|
|
184975
|
+
},
|
|
184976
|
+
components: {
|
|
184977
|
+
"a-modal": modal["a" /* default */],
|
|
184978
|
+
"a-button": es_button["a" /* default */],
|
|
184979
|
+
"a-form": es_form["a" /* default */],
|
|
184980
|
+
"a-row": row["a" /* default */],
|
|
184981
|
+
"a-col": col["a" /* default */],
|
|
184982
|
+
"a-form-item": FormItem["a" /* default */],
|
|
184983
|
+
"a-input": input["a" /* default */],
|
|
184984
|
+
"a-input-number": input_number["a" /* default */],
|
|
184985
|
+
"a-select": es_select["b" /* default */],
|
|
184986
|
+
"a-switch": es_switch["a" /* default */],
|
|
184987
|
+
draggable: vuedraggable_umd_default.a,
|
|
184988
|
+
DragOutlined: DragOutlined["a" /* default */],
|
|
184989
|
+
DeleteOutlined: DeleteOutlined["a" /* default */],
|
|
184990
|
+
TextTip: TextTip["a" /* default */],
|
|
184991
|
+
QuestionCircleOutlined: QuestionCircleOutlined["a" /* default */]
|
|
184992
|
+
},
|
|
184993
|
+
setup(props, {
|
|
184994
|
+
emit
|
|
184995
|
+
}) {
|
|
184996
|
+
const fieldsTypeList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])([]);
|
|
184997
|
+
const state = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({
|
|
184998
|
+
formState: {
|
|
184999
|
+
fields_name: '',
|
|
185000
|
+
sort: 1,
|
|
185001
|
+
org_branch_id: undefined,
|
|
185002
|
+
fill: 0,
|
|
185003
|
+
fields_type: null,
|
|
185004
|
+
default_value: '',
|
|
185005
|
+
min_length: '',
|
|
185006
|
+
max_length: '',
|
|
185007
|
+
placeholder: '',
|
|
185008
|
+
date_type: 1,
|
|
185009
|
+
option_max: '',
|
|
185010
|
+
option_value: [],
|
|
185011
|
+
village_id: undefined,
|
|
185012
|
+
file_type: ''
|
|
185013
|
+
},
|
|
185014
|
+
submitLoading: false,
|
|
185015
|
+
companyList: [],
|
|
185016
|
+
villageList: [],
|
|
185017
|
+
dateTypeList: [{
|
|
185018
|
+
value: 1,
|
|
185019
|
+
label: Object(src_locale["e" /* t */])('components.ExtraManageEdit.249040-13')
|
|
185020
|
+
}, {
|
|
185021
|
+
value: 2,
|
|
185022
|
+
label: Object(src_locale["e" /* t */])('components.ExtraManageEdit.249040-14')
|
|
185023
|
+
}, {
|
|
185024
|
+
value: 3,
|
|
185025
|
+
label: Object(src_locale["e" /* t */])('components.ExtraManageEdit.249040-15')
|
|
185026
|
+
}]
|
|
185027
|
+
});
|
|
185028
|
+
const rulesRef = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
185029
|
+
return {
|
|
185030
|
+
fields_name: [{
|
|
185031
|
+
required: true,
|
|
185032
|
+
message: Object(src_locale["e" /* t */])('components.ExtraManageEdit.301828-6')
|
|
185033
|
+
}],
|
|
185034
|
+
fields_type: [{
|
|
185035
|
+
required: true,
|
|
185036
|
+
message: Object(src_locale["e" /* t */])('components.ExtraManageEdit.249040-16')
|
|
185037
|
+
}],
|
|
185038
|
+
sort: [{
|
|
185039
|
+
required: true,
|
|
185040
|
+
message: Object(src_locale["e" /* t */])('components.ExtraManageEdit.249040-17')
|
|
185041
|
+
}]
|
|
185042
|
+
};
|
|
185043
|
+
});
|
|
185044
|
+
const title = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
185045
|
+
return props.id ? Object(src_locale["e" /* t */])('components.ExtraManageEdit.301828-7') : Object(src_locale["e" /* t */])('components.ExtraManageEdit.301828-8');
|
|
185046
|
+
});
|
|
185047
|
+
const {
|
|
185048
|
+
resetFields,
|
|
185049
|
+
validate,
|
|
185050
|
+
validateInfos
|
|
185051
|
+
} = ExtraManageEditvue_type_script_lang_js_useForm(state.formState, rulesRef);
|
|
185052
|
+
const closeModal = () => {
|
|
185053
|
+
emit("closeModal");
|
|
185054
|
+
};
|
|
185055
|
+
const onSubmit = () => {
|
|
185056
|
+
validate().then(() => {
|
|
185057
|
+
state.submitLoading = true;
|
|
185058
|
+
if (props !== null && props !== void 0 && props.id) {
|
|
185059
|
+
// 编辑
|
|
185060
|
+
let params = {
|
|
185061
|
+
alise: props.alise
|
|
185062
|
+
};
|
|
185063
|
+
params.id = props.id;
|
|
185064
|
+
let formData = lodash_default.a.cloneDeep(state.formState);
|
|
185065
|
+
if (!props.hasVillageSelect) {
|
|
185066
|
+
delete formData.village_id;
|
|
185067
|
+
}
|
|
185068
|
+
params = {
|
|
185069
|
+
...params,
|
|
185070
|
+
...formData,
|
|
185071
|
+
...props.expandFieldsExtraParams
|
|
185072
|
+
};
|
|
185073
|
+
emit("request", {
|
|
185074
|
+
params: {
|
|
185075
|
+
method: 'put',
|
|
185076
|
+
server: props.server,
|
|
185077
|
+
url: `/org/property/extra/info/field/${props.id}`,
|
|
185078
|
+
extra: {
|
|
185079
|
+
...params
|
|
185080
|
+
}
|
|
185081
|
+
},
|
|
185082
|
+
success: res => {
|
|
185083
|
+
es_message["a" /* default */].success((res === null || res === void 0 ? void 0 : res.msg) || Object(src_locale["e" /* t */])('common.save.success'));
|
|
185084
|
+
state.submitLoading = false;
|
|
185085
|
+
emit('success');
|
|
185086
|
+
},
|
|
185087
|
+
fail: () => {
|
|
185088
|
+
state.submitLoading = false;
|
|
185089
|
+
}
|
|
185090
|
+
});
|
|
185091
|
+
} else {
|
|
185092
|
+
// 添加
|
|
185093
|
+
let params = {
|
|
185094
|
+
alise: props.alise
|
|
185095
|
+
};
|
|
185096
|
+
let formData = lodash_default.a.cloneDeep(state.formState);
|
|
185097
|
+
if (!props.hasVillageSelect) {
|
|
185098
|
+
delete formData.village_id;
|
|
185099
|
+
}
|
|
185100
|
+
params = {
|
|
185101
|
+
...params,
|
|
185102
|
+
...formData,
|
|
185103
|
+
...props.expandFieldsExtraParams
|
|
185104
|
+
};
|
|
185105
|
+
emit("request", {
|
|
185106
|
+
params: {
|
|
185107
|
+
method: 'post',
|
|
185108
|
+
server: props.server,
|
|
185109
|
+
url: `/org/property/extra/info/field`,
|
|
185110
|
+
extra: {
|
|
185111
|
+
...params
|
|
185112
|
+
}
|
|
185113
|
+
},
|
|
185114
|
+
success: res => {
|
|
185115
|
+
es_message["a" /* default */].success((res === null || res === void 0 ? void 0 : res.msg) || Object(src_locale["e" /* t */])('components.ExtraManageEdit.301828-10'));
|
|
185116
|
+
state.submitLoading = false;
|
|
185117
|
+
emit('success');
|
|
185118
|
+
},
|
|
185119
|
+
fail: () => {
|
|
185120
|
+
state.submitLoading = false;
|
|
185121
|
+
}
|
|
185122
|
+
});
|
|
185123
|
+
}
|
|
185124
|
+
});
|
|
185125
|
+
};
|
|
185126
|
+
const setModelRef = info => {
|
|
185127
|
+
for (let key in state.formState) {
|
|
185128
|
+
if (['org_branch_id', 'village_id'].includes(key)) {
|
|
185129
|
+
state.formState[key] = info[key] || undefined;
|
|
185130
|
+
} else {
|
|
185131
|
+
state.formState[key] = info[key];
|
|
185132
|
+
}
|
|
185133
|
+
}
|
|
185134
|
+
};
|
|
185135
|
+
const getCompanyList = () => {
|
|
185136
|
+
emit("request", {
|
|
185137
|
+
params: {
|
|
185138
|
+
method: "get",
|
|
185139
|
+
server: "/org",
|
|
185140
|
+
url: "/company/authBranchList",
|
|
185141
|
+
extra: {}
|
|
185142
|
+
},
|
|
185143
|
+
success: res => {
|
|
185144
|
+
state.companyList = res.list.map(item => {
|
|
185145
|
+
return {
|
|
185146
|
+
label: item.name ? item.name : item.company,
|
|
185147
|
+
value: item.id
|
|
185148
|
+
};
|
|
185149
|
+
});
|
|
185150
|
+
}
|
|
185151
|
+
});
|
|
185152
|
+
};
|
|
185153
|
+
const filterOption = (input, option) => {
|
|
185154
|
+
return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
185155
|
+
};
|
|
185156
|
+
const blurNumber = () => {
|
|
185157
|
+
if (state.formState.min_length && state.formState.max_length) {
|
|
185158
|
+
if (state.formState.max_length < state.formState.min_length) {
|
|
185159
|
+
state.formState.max_length = state.formState.min_length + 1;
|
|
185160
|
+
es_message["a" /* default */].warning(Object(src_locale["e" /* t */])('components.ExtraManageEdit.249040-18'));
|
|
185161
|
+
}
|
|
185162
|
+
}
|
|
185163
|
+
};
|
|
185164
|
+
const belerasure = index => {
|
|
185165
|
+
state.formState.option_value.splice(index, 1);
|
|
185166
|
+
};
|
|
185167
|
+
const addclick = () => {
|
|
185168
|
+
let num = state.formState.option_value[0].value;
|
|
185169
|
+
for (let j = 0; j < state.formState.option_value.length; j++) {
|
|
185170
|
+
if (state.formState.option_value[j].value > num) {
|
|
185171
|
+
num = state.formState.option_value[j].value;
|
|
185172
|
+
}
|
|
185173
|
+
}
|
|
185174
|
+
state.formState.option_value.push({
|
|
185175
|
+
label: '',
|
|
185176
|
+
value: num + 1
|
|
185177
|
+
});
|
|
185178
|
+
};
|
|
185179
|
+
const gettypelist = text => {
|
|
185180
|
+
emit("request", {
|
|
185181
|
+
params: {
|
|
185182
|
+
method: 'get',
|
|
185183
|
+
server: '/org',
|
|
185184
|
+
url: `/system/dict/data`,
|
|
185185
|
+
extra: {
|
|
185186
|
+
dict_type: text
|
|
185187
|
+
}
|
|
185188
|
+
},
|
|
185189
|
+
success: res => {
|
|
185190
|
+
fieldsTypeList.value = res.list.map(item => ({
|
|
185191
|
+
...item,
|
|
185192
|
+
value: item.value,
|
|
185193
|
+
label: item.label
|
|
185194
|
+
}));
|
|
185195
|
+
if (!props.id) {
|
|
185196
|
+
state.formState.fields_type = fieldsTypeList.value[0].value;
|
|
185197
|
+
}
|
|
185198
|
+
}
|
|
185199
|
+
});
|
|
185200
|
+
};
|
|
185201
|
+
const fieldsTypechage = () => {
|
|
185202
|
+
if (state.formState.fields_type == 'radio' || state.formState.fields_type == 'multiple_choice' || state.formState.fields_type == 'select_single' || state.formState.fields_type == 'select_multiple') {
|
|
185203
|
+
state.formState.option_value = [{
|
|
185204
|
+
label: '',
|
|
185205
|
+
value: 1
|
|
185206
|
+
}];
|
|
185207
|
+
} else {
|
|
185208
|
+
state.formState.option_value = [];
|
|
185209
|
+
}
|
|
185210
|
+
if (state.formState.fields_type == 'attachment') {
|
|
185211
|
+
state.formState.option_max = 1;
|
|
185212
|
+
} else {
|
|
185213
|
+
state.formState.option_max = '';
|
|
185214
|
+
}
|
|
185215
|
+
};
|
|
185216
|
+
const getVillageList = (isDetail = false) => {
|
|
185217
|
+
if (props.hasVillageSelect) {
|
|
185218
|
+
if (!isDetail) {
|
|
185219
|
+
// 不是编辑详情来的
|
|
185220
|
+
state.formState.village_id = undefined;
|
|
185221
|
+
}
|
|
185222
|
+
if (state.formState.org_branch_id) {
|
|
185223
|
+
emit("request", {
|
|
185224
|
+
params: {
|
|
185225
|
+
method: "get",
|
|
185226
|
+
server: "/org",
|
|
185227
|
+
url: "/build/villageAndBuildList/v2",
|
|
185228
|
+
extra: {
|
|
185229
|
+
checked: 1,
|
|
185230
|
+
org_branch_id: state.formState.org_branch_id
|
|
185231
|
+
}
|
|
185232
|
+
},
|
|
185233
|
+
success: res => {
|
|
185234
|
+
var _res$list$;
|
|
185235
|
+
let resVillageList = (res === null || res === void 0 || (_res$list$ = res.list[0]) === null || _res$list$ === void 0 ? void 0 : _res$list$.villageList) || [];
|
|
185236
|
+
let vList = [];
|
|
185237
|
+
resVillageList.forEach(item => {
|
|
185238
|
+
vList.push({
|
|
185239
|
+
label: item.name,
|
|
185240
|
+
value: item.id
|
|
185241
|
+
});
|
|
185242
|
+
});
|
|
185243
|
+
state.villageList = vList;
|
|
185244
|
+
}
|
|
185245
|
+
});
|
|
185246
|
+
} else {
|
|
185247
|
+
state.formState.village_id = undefined;
|
|
185248
|
+
state.villageList = [];
|
|
185249
|
+
}
|
|
185250
|
+
}
|
|
185251
|
+
};
|
|
185252
|
+
const changeCompany = () => {
|
|
185253
|
+
getVillageList();
|
|
185254
|
+
};
|
|
185255
|
+
const init = () => {
|
|
185256
|
+
gettypelist('extra_field_type');
|
|
185257
|
+
getCompanyList();
|
|
185258
|
+
if (props.id) {
|
|
185259
|
+
var _params;
|
|
185260
|
+
// 编辑
|
|
185261
|
+
|
|
185262
|
+
let params = {
|
|
185263
|
+
alise: props.alise
|
|
185264
|
+
};
|
|
185265
|
+
if ((_params = params) !== null && _params !== void 0 && _params.length) {
|
|
185266
|
+
params.id = props.id;
|
|
185267
|
+
}
|
|
185268
|
+
params = {
|
|
185269
|
+
...params,
|
|
185270
|
+
...props.expandFieldsExtraParams
|
|
185271
|
+
};
|
|
185272
|
+
emit("request", {
|
|
185273
|
+
params: {
|
|
185274
|
+
method: 'get',
|
|
185275
|
+
server: props.server,
|
|
185276
|
+
url: `/org/property/extra/info/field/${props.id}`,
|
|
185277
|
+
extra: {
|
|
185278
|
+
...params
|
|
185279
|
+
}
|
|
185280
|
+
},
|
|
185281
|
+
success: res => {
|
|
185282
|
+
const {
|
|
185283
|
+
detail
|
|
185284
|
+
} = res;
|
|
185285
|
+
setModelRef(detail);
|
|
185286
|
+
getVillageList(true);
|
|
185287
|
+
state.formState.fields_type = detail.fields_type;
|
|
185288
|
+
state.formState.option_value = detail.option_value;
|
|
185289
|
+
}
|
|
185290
|
+
});
|
|
185291
|
+
}
|
|
185292
|
+
};
|
|
185293
|
+
const reset = () => {
|
|
185294
|
+
resetFields();
|
|
185295
|
+
state.submitLoading = false;
|
|
185296
|
+
state.companyList = [];
|
|
185297
|
+
state.villageList = [];
|
|
185298
|
+
};
|
|
185299
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(() => props.visible, val => {
|
|
185300
|
+
if (val) {
|
|
185301
|
+
init();
|
|
185302
|
+
} else {
|
|
185303
|
+
reset();
|
|
185304
|
+
}
|
|
185305
|
+
});
|
|
185306
|
+
Object(src_locale["d" /* loadLanguageAsync */])(util["a" /* default */].getLang());
|
|
185307
|
+
window.addEventListener('setBLLang', event => {
|
|
185308
|
+
const newLang = event.newValue; // 获取新的语言值
|
|
185309
|
+
Object(src_locale["d" /* loadLanguageAsync */])(newLang);
|
|
185310
|
+
});
|
|
185311
|
+
const i18nMapShow = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
185312
|
+
return util["a" /* default */].i18nMapShow;
|
|
185313
|
+
});
|
|
185314
|
+
return {
|
|
185315
|
+
t: src_locale["e" /* t */],
|
|
185316
|
+
...Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRefs"])(state),
|
|
185317
|
+
validateInfos,
|
|
185318
|
+
title,
|
|
185319
|
+
closeModal,
|
|
185320
|
+
onSubmit,
|
|
185321
|
+
filterOption,
|
|
185322
|
+
gettypelist,
|
|
185323
|
+
fieldsTypeList,
|
|
185324
|
+
blurNumber,
|
|
185325
|
+
belerasure,
|
|
185326
|
+
addclick,
|
|
185327
|
+
fieldsTypechage,
|
|
185328
|
+
i18nMapShow,
|
|
185329
|
+
changeCompany
|
|
185330
|
+
};
|
|
185331
|
+
}
|
|
185332
|
+
}));
|
|
185333
|
+
// CONCATENATED MODULE: ./src/components/PublicExtensionField/components/ExtraManageEdit.vue?vue&type=script&lang=js
|
|
185334
|
+
|
|
185335
|
+
// EXTERNAL MODULE: ./src/components/PublicExtensionField/components/ExtraManageEdit.vue?vue&type=style&index=0&id=78d9f013&lang=less&scoped=true
|
|
185336
|
+
var ExtraManageEditvue_type_style_index_0_id_78d9f013_lang_less_scoped_true = __webpack_require__("9038");
|
|
185337
|
+
|
|
185338
|
+
// CONCATENATED MODULE: ./src/components/PublicExtensionField/components/ExtraManageEdit.vue
|
|
185339
|
+
|
|
185340
|
+
|
|
185341
|
+
|
|
185342
|
+
|
|
185343
|
+
|
|
185344
|
+
|
|
185345
|
+
|
|
185346
|
+
const ExtraManageEdit_exports_ = /*#__PURE__*/exportHelper_default()(ExtraManageEditvue_type_script_lang_js, [['render',ExtraManageEditvue_type_template_id_78d9f013_scoped_true_render],['__scopeId',"data-v-78d9f013"]])
|
|
185347
|
+
|
|
185348
|
+
/* harmony default export */ var ExtraManageEdit = (ExtraManageEdit_exports_);
|
|
185349
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/PublicExtensionField/index.vue?vue&type=script&lang=js
|
|
185350
|
+
|
|
185351
|
+
|
|
185352
|
+
|
|
185353
|
+
|
|
185354
|
+
|
|
185355
|
+
|
|
185356
|
+
const PublicExtensionFieldvue_type_script_lang_js_CustomTable = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineAsyncComponent"])(() => Promise.resolve(/* import() */).then(__webpack_require__.bind(null, "1a0a")));
|
|
185357
|
+
/* harmony default export */ var PublicExtensionFieldvue_type_script_lang_js = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
|
|
185358
|
+
name: "extraManage",
|
|
185359
|
+
props: {
|
|
185360
|
+
visible: {
|
|
185361
|
+
type: Boolean,
|
|
185362
|
+
default: false
|
|
185363
|
+
},
|
|
185364
|
+
tableConfig: {
|
|
185365
|
+
type: Object,
|
|
185366
|
+
default: () => {}
|
|
185367
|
+
},
|
|
185368
|
+
expandFieldsExtraParams: {
|
|
185369
|
+
type: Object,
|
|
185370
|
+
default: () => {}
|
|
185371
|
+
},
|
|
185372
|
+
// 是否有所属项目筛选项
|
|
185373
|
+
hasVillageSelect: {
|
|
185374
|
+
type: Boolean,
|
|
185375
|
+
default: false
|
|
185376
|
+
},
|
|
185377
|
+
// 是否有所属公司筛选项
|
|
185378
|
+
displayCompany: {
|
|
185379
|
+
type: Boolean,
|
|
185380
|
+
default: true
|
|
185381
|
+
},
|
|
185382
|
+
alise: {
|
|
185383
|
+
type: String,
|
|
185384
|
+
default: ''
|
|
185385
|
+
},
|
|
185386
|
+
server: {
|
|
185387
|
+
type: String,
|
|
185388
|
+
default: ''
|
|
185389
|
+
}
|
|
185390
|
+
},
|
|
185391
|
+
components: {
|
|
185392
|
+
"a-drawer": drawer["a" /* default */],
|
|
185393
|
+
ExtraManageEdit: ExtraManageEdit,
|
|
185394
|
+
CustomTable: PublicExtensionFieldvue_type_script_lang_js_CustomTable
|
|
185395
|
+
},
|
|
185396
|
+
setup(props, {
|
|
185397
|
+
emit
|
|
185398
|
+
}) {
|
|
185399
|
+
const state = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])({
|
|
185400
|
+
editVisible: false,
|
|
185401
|
+
editId: 0,
|
|
185402
|
+
customTable: null
|
|
185403
|
+
});
|
|
185404
|
+
const closeModal = () => {
|
|
185405
|
+
emit("closeModal");
|
|
185406
|
+
};
|
|
185407
|
+
const requestListInfo = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
185408
|
+
return {
|
|
185409
|
+
service: props.server,
|
|
185410
|
+
// 请求服务
|
|
185411
|
+
serviceUrl: '/org/property/extra/info/field/query',
|
|
185412
|
+
// 请求url
|
|
185413
|
+
serviceType: 'post',
|
|
185414
|
+
// 请求方式
|
|
185415
|
+
params: {
|
|
185416
|
+
alise: props.alise
|
|
185417
|
+
}
|
|
185418
|
+
};
|
|
185419
|
+
});
|
|
185420
|
+
const listParams = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
185421
|
+
var _requestListInfo$valu;
|
|
185422
|
+
return ((_requestListInfo$valu = requestListInfo.value) === null || _requestListInfo$valu === void 0 ? void 0 : _requestListInfo$valu.params) || {};
|
|
185423
|
+
});
|
|
185424
|
+
const handleEdit = record => {
|
|
185425
|
+
state.editId = (record === null || record === void 0 ? void 0 : record.id) || 0;
|
|
185426
|
+
state.editVisible = true;
|
|
185427
|
+
};
|
|
185428
|
+
const rightButtons = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
185429
|
+
return [{
|
|
185430
|
+
name: `+${Object(src_locale["e" /* t */])('common.button.add')}`,
|
|
185431
|
+
props: {
|
|
185432
|
+
type: 'primary'
|
|
185433
|
+
},
|
|
185434
|
+
onClick: () => {
|
|
185435
|
+
handleEdit();
|
|
185436
|
+
}
|
|
185437
|
+
}];
|
|
185438
|
+
});
|
|
185439
|
+
const handleDelete = record => {
|
|
185440
|
+
let params = {};
|
|
185441
|
+
if (params.length) {
|
|
185442
|
+
params.id = record.id;
|
|
185443
|
+
}
|
|
185444
|
+
params = {
|
|
185445
|
+
alise: props.alise
|
|
185446
|
+
};
|
|
185447
|
+
emit("request", {
|
|
185448
|
+
params: {
|
|
185449
|
+
method: 'del',
|
|
185450
|
+
server: props.server,
|
|
185451
|
+
url: `/org/property/extra/info/field/${record.id}`,
|
|
185452
|
+
extra: {
|
|
185453
|
+
...params
|
|
185454
|
+
}
|
|
185455
|
+
},
|
|
185456
|
+
success: res => {
|
|
185457
|
+
var _state$customTable;
|
|
185458
|
+
es_message["a" /* default */].success((res === null || res === void 0 ? void 0 : res.msg) || Object(src_locale["e" /* t */])('ExtraManage.index.845270-1'));
|
|
185459
|
+
(_state$customTable = state.customTable) === null || _state$customTable === void 0 || _state$customTable.refresh();
|
|
185460
|
+
}
|
|
185461
|
+
});
|
|
185462
|
+
};
|
|
185463
|
+
const columns = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["computed"])(() => {
|
|
185464
|
+
let defaultColumns = [{
|
|
185465
|
+
title: Object(src_locale["e" /* t */])('ExtraManage.index.845270-2'),
|
|
185466
|
+
dataIndex: "fields_name",
|
|
185467
|
+
key: 'fields_name',
|
|
185468
|
+
search: {
|
|
185469
|
+
input_type: "input",
|
|
185470
|
+
search_type: "like"
|
|
185471
|
+
}
|
|
185472
|
+
}, {
|
|
185473
|
+
title: Object(src_locale["e" /* t */])('ExtraManage.index.695943-2'),
|
|
185474
|
+
dataIndex: "fields_type",
|
|
185475
|
+
key: 'fields_type',
|
|
185476
|
+
columnType: 'dictionary',
|
|
185477
|
+
dictType: 'extra_field_type',
|
|
185478
|
+
search: {
|
|
185479
|
+
input_type: "select",
|
|
185480
|
+
search_type: "equal"
|
|
185481
|
+
}
|
|
185482
|
+
}, {
|
|
185483
|
+
title: Object(src_locale["e" /* t */])('ExtraManage.index.845270-5'),
|
|
185484
|
+
dataIndex: "fill",
|
|
185485
|
+
key: 'fill',
|
|
185486
|
+
width: 80,
|
|
185487
|
+
customRender: ({
|
|
185488
|
+
text
|
|
185489
|
+
}) => {
|
|
185490
|
+
return text ? Object(src_locale["e" /* t */])('common.form.required') : Object(src_locale["e" /* t */])('common.form.notRequired');
|
|
185491
|
+
}
|
|
185492
|
+
}, {
|
|
185493
|
+
title: Object(src_locale["e" /* t */])('ExtraManage.index.845270-6'),
|
|
185494
|
+
width: 80,
|
|
185495
|
+
dataIndex: "sort",
|
|
185496
|
+
key: 'sort'
|
|
185497
|
+
}, {
|
|
185498
|
+
title: Object(src_locale["e" /* t */])('common.table.operation'),
|
|
185499
|
+
dataIndex: "id",
|
|
185500
|
+
width: 120,
|
|
185501
|
+
key: "action",
|
|
185502
|
+
fixed: "right"
|
|
185503
|
+
}];
|
|
185504
|
+
let _deepColumns = lodash_default.a.cloneDeep(defaultColumns);
|
|
185505
|
+
if (props.hasVillageSelect) {
|
|
185506
|
+
_deepColumns.splice(2, 0, {
|
|
185507
|
+
title: Object(src_locale["e" /* t */])('ExtraManage.index.845270-7'),
|
|
185508
|
+
dataIndex: "village_name",
|
|
185509
|
+
key: 'village_name',
|
|
185510
|
+
width: 120,
|
|
185511
|
+
customRender: ({
|
|
185512
|
+
text
|
|
185513
|
+
}) => {
|
|
185514
|
+
return text || Object(src_locale["e" /* t */])('ExtraManage.index.845270-4');
|
|
185515
|
+
}
|
|
185516
|
+
});
|
|
185517
|
+
}
|
|
185518
|
+
if (props.displayCompany) {
|
|
185519
|
+
let index = 0;
|
|
185520
|
+
if (props.hasVillageSelect) {
|
|
185521
|
+
index = 3;
|
|
185522
|
+
} else {
|
|
185523
|
+
index = 2;
|
|
185524
|
+
}
|
|
185525
|
+
_deepColumns.splice(index, 0, {
|
|
185526
|
+
title: Object(src_locale["e" /* t */])('ExtraManage.index.845270-3'),
|
|
185527
|
+
dataIndex: "org_branch_txt",
|
|
185528
|
+
key: 'org_branch_txt',
|
|
185529
|
+
width: 120,
|
|
185530
|
+
customRender: ({
|
|
185531
|
+
text
|
|
185532
|
+
}) => {
|
|
185533
|
+
return text || Object(src_locale["e" /* t */])('ExtraManage.index.845270-4');
|
|
185534
|
+
},
|
|
185535
|
+
search: {
|
|
185536
|
+
field: 'org_branch_id',
|
|
185537
|
+
//传参名称
|
|
185538
|
+
input_type: "select",
|
|
185539
|
+
search_type: "equal"
|
|
185540
|
+
}
|
|
185541
|
+
});
|
|
185542
|
+
}
|
|
185543
|
+
return _deepColumns;
|
|
185544
|
+
});
|
|
185545
|
+
const editSuccess = () => {
|
|
185546
|
+
var _state$customTable2;
|
|
185547
|
+
// 编辑成功
|
|
185548
|
+
(_state$customTable2 = state.customTable) === null || _state$customTable2 === void 0 || _state$customTable2.refresh();
|
|
185549
|
+
state.editVisible = false;
|
|
185550
|
+
};
|
|
185551
|
+
const handleRequest = emitObj => {
|
|
185552
|
+
emit("request", emitObj);
|
|
185553
|
+
};
|
|
185554
|
+
Object(src_locale["d" /* loadLanguageAsync */])(util["a" /* default */].getLang());
|
|
185555
|
+
window.addEventListener('setBLLang', event => {
|
|
185556
|
+
const newLang = event.newValue; // 获取新的语言值
|
|
185557
|
+
Object(src_locale["d" /* loadLanguageAsync */])(newLang);
|
|
185558
|
+
});
|
|
185559
|
+
return {
|
|
185560
|
+
t: src_locale["e" /* t */],
|
|
185561
|
+
...Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRefs"])(state),
|
|
185562
|
+
columns,
|
|
185563
|
+
rightButtons,
|
|
185564
|
+
requestListInfo,
|
|
185565
|
+
listParams,
|
|
185566
|
+
handleRequest,
|
|
185567
|
+
closeModal,
|
|
185568
|
+
handleDelete,
|
|
185569
|
+
handleEdit,
|
|
185570
|
+
editSuccess
|
|
185571
|
+
};
|
|
185572
|
+
}
|
|
185573
|
+
}));
|
|
185574
|
+
// CONCATENATED MODULE: ./src/components/PublicExtensionField/index.vue?vue&type=script&lang=js
|
|
185575
|
+
|
|
185576
|
+
// CONCATENATED MODULE: ./src/components/PublicExtensionField/index.vue
|
|
185577
|
+
|
|
185578
|
+
|
|
185579
|
+
|
|
185580
|
+
|
|
185581
|
+
|
|
185582
|
+
const PublicExtensionField_exports_ = /*#__PURE__*/exportHelper_default()(PublicExtensionFieldvue_type_script_lang_js, [['render',PublicExtensionFieldvue_type_template_id_622ed48d_render]])
|
|
185583
|
+
|
|
185584
|
+
/* harmony default export */ var PublicExtensionField = (PublicExtensionField_exports_);
|
|
184234
185585
|
// CONCATENATED MODULE: ./src/components/components.js
|
|
184235
185586
|
/**
|
|
184236
185587
|
* 组件导出
|
|
@@ -184265,6 +185616,8 @@ const ApprovalDetail_exports_ = /*#__PURE__*/exportHelper_default()(ApprovalDeta
|
|
|
184265
185616
|
|
|
184266
185617
|
|
|
184267
185618
|
|
|
185619
|
+
|
|
185620
|
+
//表格内置拓展字段,其他服务部分地方使用
|
|
184268
185621
|
|
|
184269
185622
|
|
|
184270
185623
|
|