@@ -991,7 +991,11 @@ __webpack_require__.r(__webpack_exports__);
991
991
}).then(function (_ref) {
992
992
var data = _ref.data;
993
993
_this.formData = data;
994
- _this.init = true;
994
+ _this.init = true; //发送表单编辑数据加载完毕事件
995
+
996
+ _this.$nextTick(function () {
997
+ _this.$bus.emit("EditDataLoadingCompleted");
998
+ });
995
999
})["finally"](function () {
996
1000
_this.loading = false;
997
1001
});
@@ -2850,7 +2854,6 @@ __webpack_require__.r(__webpack_exports__);
2850
2854
//
2851
2855
//
2852
2856
//
2853
- //
2854
2857
2855
2858
/* harmony default export */ __webpack_exports__["default"] = ({
2856
2859
props: {
@@ -3162,6 +3165,7 @@ __webpack_require__.r(__webpack_exports__);
3162
3165
/* harmony default export */ __webpack_exports__["default"] = ({
3163
3166
props: {
3164
3167
attrs: Object,
3168
+ form_data: Object,
3165
3169
value: {
3166
3170
"default": null
3167
3171
}
@@ -3662,6 +3666,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
3662
3666
//
3663
3667
//
3664
3668
//
3669
+ //
3670
+ //
3671
+ //
3672
+ //
3673
+ //
3665
3674
3666
3675
/* harmony default export */ __webpack_exports__["default"] = ({
3667
3676
props: ["attrs", "value", "form_data"],
@@ -5688,7 +5697,7 @@ exports = module.exports = __webpack_require__(/*! ../../../node_modules/css-loa
5688
5697
5689
5698
5690
5699
// module
5691
- exports.push([module.i, "#app,\nbody,\nhtml {\n height: 100%;\n}\n\nbody {\n background-color: #f7f7f7;\n font-size: 14px;\n}\n\n.ml-2 {\n margin-left: 2px;\n}\n\n.ml-5 {\n margin-left: 5px;\n}\n\n.mr-5 {\n margin-right: 5px;\n}\n\n.ml-10 {\n margin-left: 10px;\n}\n\n.mr-10 {\n margin-right: 10px;\n}\n\n.mb-15 {\n margin-bottom: 15px;\n}\n\n.ml-20 {\n margin-left: 20px;\n}\n\n.mt-30 {\n margin-top: 30px;\n}\n\n.mt-50 {\n margin-top: 50px;\n}\n\n.fs-12 {\n font-size: 12px;\n}\n\n.fs-14 {\n font-size: 14px;\n}\n\n.fs-16 {\n font-size: 16px;\n}\n\n.fs-18 {\n font-size: 18px;\n}\n\n.fs-20 {\n font-size: 20px;\n}\n\n.fs-22 {\n font-size: 22px;\n}\n\n.fs-24 {\n font-size: 24px;\n}\n\n.fs-25 {\n font-size: 25px;\n}\n\n.hover {\n cursor: pointer;\n}\n\n.flex-c {\n display: flex;\n align-items: center;\n}\n\n.flex-c-sb {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n/**********************************/\n.page-account {\n display: flex;\n flex-direction: column;\n height: 100vh;\n overflow: auto;\n}\n\n.el-card {\n border: none;\n}\n\n.el-popconfirm__main {\n margin: 10px 0;\n}\n\n.el-image-viewer__close {\n color: white;\n}\n\n.el-upload-list__item img {\n object-fit: cover;\n}\n\n.el-select-dropdown__item {\n padding: 0 10px;\n}\n\n/*************************************************/\n/*fade*/\n.fade-enter-active,\n.fade-leave-active {\n -webkit-transition: opacity 0.1s;\n transition: opacity 0.1s;\n}\n\n.fade-enter,\n.fade-leave-active {\n opacity: 0;\n}\n\n/*fade-transform*/\n.fade-transform-leave-active,\n.fade-transform-enter-active {\n -webkit-transition: all 0.5s;\n transition: all 0.5s;\n}\n\n.fade-transform-enter {\n opacity: 0;\n -webkit-transform: translateX(-20px);\n transform: translateX(-20px);\n}\n\n.fade-transform-leave-to {\n opacity: 0;\n -webkit-transform: translateX(20px);\n transform: translateX(20px);\n}", ""]);
5700
+ exports.push([module.i, "#app,\nbody,\nhtml {\n height: 100%;\n}\n\nbody {\n background-color: #f7f7f7;\n font-size: 14px;\n}\n\n.ml-2 {\n margin-left: 2px;\n}\n\n.ml-5 {\n margin-left: 5px;\n}\n\n.mr-5 {\n margin-right: 5px;\n}\n\n.mt-5 {\n margin-top: 5px;\n}\n\n.ml-10 {\n margin-left: 10px;\n}\n\n.mr-10 {\n margin-right: 10px;\n}\n\n.mb-10 {\n margin-bottom: 10px;\n}\n\n.mt-10 {\n margin-top: 10px;\n}\n\n.mb-15 {\n margin-bottom: 15px;\n}\n\n.ml-20 {\n margin-left: 20px;\n}\n\n.mt-30 {\n margin-top: 30px;\n}\n\n.mt-50 {\n margin-top: 50px;\n}\n\n.fs-12 {\n font-size: 12px;\n}\n\n.fs-14 {\n font-size: 14px;\n}\n\n.fs-16 {\n font-size: 16px;\n}\n\n.fs-18 {\n font-size: 18px;\n}\n\n.fs-20 {\n font-size: 20px;\n}\n\n.fs-22 {\n font-size: 22px;\n}\n\n.fs-24 {\n font-size: 24px;\n}\n\n.fs-25 {\n font-size: 25px;\n}\n\n.hover {\n cursor: pointer;\n}\n\n.flex {\n display: flex;\n flex-wrap: wrap;\n}\n\n.flex-c {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.flex-c-c {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n}\n\n.flex-c-sb {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n}\n\n.flex-1 {\n flex: 1;\n}\n\n/**********************************/\n.page-account {\n display: flex;\n flex-direction: column;\n height: 100vh;\n overflow: auto;\n}\n\n.el-card {\n border: none;\n}\n\n.el-popconfirm__main {\n margin: 10px 0;\n}\n\n.el-image-viewer__close {\n color: white;\n}\n\n.el-upload-list__item img {\n object-fit: cover;\n}\n\n.el-select-dropdown__item {\n padding: 0 10px;\n}\n\n/*************************************************/\n/*fade*/\n.fade-enter-active,\n.fade-leave-active {\n -webkit-transition: opacity 0.1s;\n transition: opacity 0.1s;\n}\n\n.fade-enter,\n.fade-leave-active {\n opacity: 0;\n}\n\n/*fade-transform*/\n.fade-transform-leave-active,\n.fade-transform-enter-active {\n -webkit-transition: all 0.5s;\n transition: all 0.5s;\n}\n\n.fade-transform-enter {\n opacity: 0;\n -webkit-transform: translateX(-20px);\n transform: translateX(-20px);\n}\n\n.fade-transform-leave-to {\n opacity: 0;\n -webkit-transform: translateX(20px);\n transform: translateX(20px);\n}", ""]);
5692
5701
5693
5702
// exports
5694
5703
@@ -5878,7 +5887,7 @@ exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-
5878
5887
5879
5888
5880
5889
// module
5881
- exports.push([module.i, ".upload-component {\n display: flex;\n flex-wrap: wrap;\n}\n.upload-component .upload-images {\n display: flex;\n flex-wrap: wrap;\n}\n.upload-component .upload-images .upload-images-item {\n margin-right: 10px;\n position: relative;\n line-height: 1;\n}\n.upload-component .upload-images .upload-images-item img {\n line-height: 1;\n vertical-align: middle;\n}\n.upload-component .upload-images .upload-images-item .el-image {\n cursor: zoom-in;\n}\n.upload-component .upload-images .upload-images-item .el-icon-document-checked {\n font-size: 30px;\n}\n.upload-component .upload-images .upload-images-item .mask {\n position: absolute;\n transition: all 0.3s ease-in-out;\n opacity: 0;\n background: rgba(0, 0, 0, 0.3);\n color: white;\n font-size: 20px;\n padding: 5px;\n top: 50%;\n left: 50%;\n cursor: pointer;\n transform: translate(-50%, -50%);\n}\n.upload-component .upload-images .upload-images-item:hover .mask {\n opacity: 1;\n}\n.upload-component .upload-block .el-upload-dragger {\n width: unset;\n height: unset;\n border: none;\n border-radius: 0;\n}\n.upload-component .upload-block .avatar {\n border-radius: 50%;\n}\n.upload-component .upload-block .image,\n.upload-component .upload-block .file {\n border-radius: 0;\n}", ""]);
5890
+ exports.push([module.i, ".upload-component {\n display: flex;\n flex-wrap: wrap;\n}\n.upload-component .upload-images {\n display: flex;\n flex-wrap: wrap;\n}\n.upload-component .upload-images .upload-images-item + .upload-images-item {\n margin-right: 10px;\n}\n.upload-component .upload-images .upload-images-item {\n position: relative;\n line-height: 1;\n}\n.upload-component .upload-images .upload-images-item img {\n line-height: 1;\n vertical-align: middle;\n}\n.upload-component .upload-images .upload-images-item .el-image {\n cursor: zoom-in;\n}\n.upload-component .upload-images .upload-images-item .el-icon-document-checked {\n font-size: 30px;\n}\n.upload-component .upload-images .upload-images-item .mask {\n position: absolute;\n transition: all 0.3s ease-in-out;\n opacity: 0;\n background: rgba(0, 0, 0, 0.3);\n color: white;\n font-size: 20px;\n padding: 5px;\n top: 50%;\n left: 50%;\n cursor: pointer;\n transform: translate(-50%, -50%);\n}\n.upload-component .upload-images .upload-images-item:hover .mask {\n opacity: 1;\n}\n.upload-component .upload-images .upload-show-image {\n border: 1px solid #dcdfe6;\n padding: 2px;\n}\n.upload-component .upload-block .el-upload-dragger {\n width: unset;\n height: unset;\n border: none;\n border-radius: 0;\n}\n.upload-component .upload-block .avatar {\n border-radius: 50%;\n}\n.upload-component .upload-block .image,\n.upload-component .upload-block .file {\n border-radius: 0;\n}", ""]);
5882
5891
5883
5892
// exports
5884
5893
@@ -29645,8 +29654,7 @@ var render = function() {
29645
29654
lazy: _vm.attrs.lazy,
29646
29655
src: _vm.src,
29647
29656
"scroll-container": _vm.attrs.scrollContainer,
29648
- "preview-src-list": _vm.previewSrcList,
29649
- "z-index": _vm.attrs.zIndex
29657
+ "preview-src-list": _vm.previewSrcList
29650
29658
}
29651
29659
})
29652
29660
}
@@ -30366,6 +30374,7 @@ var render = function() {
30366
30374
[
30367
30375
_vm.attrs.type == "image"
30368
30376
? _c("el-image", {
30377
+ staticClass: "upload-show-image",
30369
30378
style: {
30370
30379
width: _vm.attrs.width + "px",
30371
30380
height: _vm.attrs.height + "px"
@@ -30416,7 +30425,10 @@ var render = function() {
30416
30425
_vm.list.length < _vm.attrs.limit
30417
30426
? _c(
30418
30427
"div",
30419
- { staticClass: "upload-block" },
30428
+ {
30429
+ staticClass: "upload-block",
30430
+ class: { "ml-10": _vm.attrs.multiple }
30431
+ },
30420
30432
[
30421
30433
_c(
30422
30434
"el-upload",
0 commit comments