Commit e87c2190 authored by 何虹's avatar 何虹 💬

.

parent b812ea01
.inputBox[data-v-7ace75cd]{height:100%}
\ No newline at end of file
.innerDialogBox[data-v-47e29222] .el-dialog__body{padding:0 20px}.el-table th[data-v-47e29222],.innerDialogBox[data-v-47e29222] .el-table td{padding:5px 0}.toopBox[data-v-47e29222]{display:flex;justify-content:flex-end}.asyncBox[data-v-47e29222]{width:100%;overflow:scroll}
\ No newline at end of file
.upload-demo[data-v-5f706b00]{text-align:center}
\ No newline at end of file
.innerDialogBox[data-v-a1eb2e68] .el-dialog__body{padding:0 20px}.el-table th[data-v-a1eb2e68],.innerDialogBox[data-v-a1eb2e68] .el-table td{padding:5px 0}
\ No newline at end of file
<meta charset="utf-8">
<title>hs-sky-ui demo</title>
<script src="./hs-sky-ui.umd.js"></script>
<link rel="stylesheet" href="./hs-sky-ui.css">
<script>
console.log(hs-sky-ui)
</script>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[3],{
/***/ "061f":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c22");
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ "1c22":
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/***/ "f734":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=template&id=5f706b00&scoped=true&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"导入","visible":_vm.dialogVisible,"width":"40%","before-close":_vm.handleClose,"close-on-click-modal":false,"append-to-body":true},on:{"update:visible":function($event){_vm.dialogVisible=$event},"open":_vm.open}},[_c('el-upload',{ref:"uploadEl",staticClass:"upload-demo",attrs:{"drag":false,"action":"https://jsonplaceholder.typicode.com/posts/","auto-upload":false,"on-change":_vm.handleChange,"accept":_vm.accept,"multiple":false,"on-remove":_vm.handleRemove}},[_c('el-button',{attrs:{"size":"small","type":"primary"}},[_vm._v("选择文件")]),_c('div',{staticClass:"el-upload__tip",attrs:{"slot":"tip"},slot:"tip"},[_vm._v("只能上传xlsx/xls文件")])],1),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){_vm.dialogVisible = false}}},[_vm._v("取 消")]),_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.submit}},[_vm._v("确 定")])],1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=template&id=5f706b00&scoped=true&
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var dialogUploadvue_type_script_lang_js_ = ({
name: 'hsDialogUpload',
props: {
value: {
type: Boolean,
default: false
},
entityConfig: {},
currentImportItem: {}
},
watch: {
value: function value(val) {
this.dialogVisible = val;
},
dialogVisible: function dialogVisible(val) {
this.$emit('input', val);
}
},
data: function data() {
return {
dialogVisible: false,
fileList: [],
accept: 'application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
};
},
methods: {
handleRemove: function handleRemove(file, fileList) {
if (!fileList.length) {
this.fileList = [];
}
},
handleChange: function handleChange(file, fileList) {
var uploadFiles = this.$refs.uploadEl.uploadFiles.pop();
this.$refs.uploadEl.uploadFiles = [uploadFiles];
var file_ = [file];
this.fileList = file_;
},
open: function open() {
var r = this.$refs.uploadEl;
this.fileList = [];
if (r) {
// 清空上传列表
r.clearFiles();
}
},
handleClose: function handleClose() {
this.dialogVisible = false;
},
submit: function submit() {
if (!this.fileList.length) {
this.$message.error('请选择文件');
return;
}
this.$emit('submit', this.fileList);
}
}
});
// CONCATENATED MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=script&lang=js&
/* harmony default export */ var dialogTemplate_dialogUploadvue_type_script_lang_js_ = (dialogUploadvue_type_script_lang_js_);
// EXTERNAL MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=style&index=0&id=5f706b00&scoped=true&lang=css&
var dialogUploadvue_type_style_index_0_id_5f706b00_scoped_true_lang_css_ = __webpack_require__("061f");
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
dialogTemplate_dialogUploadvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
"5f706b00",
null
)
/* harmony default export */ var dialogUpload = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
This diff is collapsed.
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[5],{
/***/ "f3bc":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/lookPageLog.vue?vue&type=template&id=7d223226&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-table',{attrs:{"data":_vm.gridData,"max-height":"350"}},[_c('el-table-column',{attrs:{"property":"app_code","label":"appCode","width":"150"}}),_c('el-table-column',{attrs:{"property":"page_name","label":"pageName","width":"200"}}),_c('el-table-column',{attrs:{"property":"control_name","label":"controlName"}}),_c('el-table-column',{attrs:{"property":"query_sql","label":"querySql","show-overflow-tooltip":true}}),_c('el-table-column',{attrs:{"property":"version","label":"version"}}),_c('el-table-column',{attrs:{"label":"操作"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini","type":"danger"},on:{"click":function($event){return _vm.revertVersion(scope.$index, scope.row)}}},[_vm._v("回滚")]),_c('el-button',{attrs:{"type":"success","size":"mini"},on:{"click":function($event){return _vm.showView(scope.$index, scope.row)}}},[_vm._v("查看效果")])]}}])})],1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/common/lookPageLog.vue?vue&type=template&id=7d223226&
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/lookPageLog.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var lookPageLogvue_type_script_lang_js_ = ({
name: 'lookPageLog',
props: {
elInfo: {
type: Object,
default: function _default() {
return {
dialogVisible: false
};
}
},
isrequest: {
type: Boolean,
default: false
}
},
data: function data() {
return {
pageTitle: '',
dialogVisible: false,
gridData: []
};
},
watch: {
isrequest: function isrequest(value) {
this.dialogOpen();
}
},
mounted: function mounted() {
this.dialogOpen();
},
methods: {
revertVersion: function revertVersion(index, item) {
var _this = this;
var parm = {
sAppCode: item.app_code,
sPage: item.page_name,
sControl: item.control_name,
version: item.version
};
this.$confirm('是否确定回滚到此版本!', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(function () {
_this.$emit('revertVersion', parm);
}).catch(function (e) {
console.log(e);
_this.$message({
type: 'info',
message: '已取消'
});
});
},
dialogOpen: function dialogOpen() {
var _this2 = this;
var parm = {
sPage: this.elInfo.page,
sControl: this.elInfo.position
};
this.$API.getPageLog(parm).then(function (res) {
_this2.gridData = res;
});
},
showView: function showView(index, item) {
var data = {
config: JSON.parse(item.json_config),
sourceData: JSON.parse(item.json_data),
sql: item.query_sql
};
this.$emit('showView', data);
}
}
});
// CONCATENATED MODULE: ./src/packages/common/lookPageLog.vue?vue&type=script&lang=js&
/* harmony default export */ var common_lookPageLogvue_type_script_lang_js_ = (lookPageLogvue_type_script_lang_js_);
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/common/lookPageLog.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
common_lookPageLogvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var lookPageLog = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[6],{
/***/ "28737":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/hs-table/tableDetail.vue?vue&type=template&id=5737b17c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"明细","visible":_vm.dialogVisible,"width":"95%","append-to-body":true,"close-on-click-modal":false},on:{"opened":_vm.dialogOpen,"update:visible":function($event){_vm.dialogVisible=$event},"closed":_vm.dialogClose}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.tableData,"header-row-style":_vm.setHeaderRowStyle,"row-style":_vm.setRowStyle}},_vm._l((_vm.tableHeader),function(prop,index){return _c('el-table-column',{key:index,attrs:{"prop":prop,"label":prop}})}),1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/hs-table/tableDetail.vue?vue&type=template&id=5737b17c&
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.object.keys.js
var es_object_keys = __webpack_require__("fe8a");
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/hs-table/tableDetail.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var tableDetailvue_type_script_lang_js_ = ({
name: 'tabelDetail',
props: {
value: Boolean,
tableData: {
type: Array,
default: function _default() {
return [];
}
},
cellDetailStyle: {}
},
watch: {
value: function value(val) {
this.dialogVisible = val;
},
dialogVisible: function dialogVisible(val) {
this.$emit('input', val);
}
},
data: function data() {
return {
dialogVisible: false,
tableHeader: []
};
},
methods: {
dialogOpen: function dialogOpen() {
if (!this.tableData.length) return;
this.tableHeader = Object.keys(this.tableData[0]);
},
setHeaderRowStyle: function setHeaderRowStyle() {
var headerRowStyle = this.cellDetailStyle.headerRowStyle;
return headerRowStyle || {};
},
setRowStyle: function setRowStyle() {
var rowStyle = this.cellDetailStyle.rowStyle;
return rowStyle || {};
},
dialogClose: function dialogClose() {}
}
});
// CONCATENATED MODULE: ./src/packages/hs-table/tableDetail.vue?vue&type=script&lang=js&
/* harmony default export */ var hs_table_tableDetailvue_type_script_lang_js_ = (tableDetailvue_type_script_lang_js_);
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/hs-table/tableDetail.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
hs_table_tableDetailvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var tableDetail = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[7],{
/***/ "7350":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/tbaleColumStyleSet.vue?vue&type=template&id=9df54ade&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"visible":_vm.dialogVisible,"width":"80%","title":"列样式设置","append-to-body":true,"close-on-click-modal":false},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{staticClass:"demo-form-inline",attrs:{"inline":true,"model":_vm.formInline,"size":"mini"}},[_c('el-form-item',{attrs:{"label":"字体颜色"}},[_c('el-select',{attrs:{"placeholder":"颜色","clearable":""},model:{value:(_vm.formInline.color),callback:function ($$v) {_vm.$set(_vm.formInline, "color", $$v)},expression:"formInline.color"}},_vm._l((_vm.colorOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"字体大小"}},[_c('el-select',{attrs:{"placeholder":"字体大小","clearable":""},model:{value:(_vm.formInline.fontSize),callback:function ($$v) {_vm.$set(_vm.formInline, "fontSize", $$v)},expression:"formInline.fontSize"}},_vm._l((_vm.fontSizeOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"背景色"}},[_c('el-select',{attrs:{"placeholder":"颜色","clearable":""},model:{value:(_vm.formInline.background),callback:function ($$v) {_vm.$set(_vm.formInline, "background", $$v)},expression:"formInline.background"}},_vm._l((_vm.colorOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"文本的修饰"}},[_c('el-select',{attrs:{"placeholder":"文本的修饰","clearable":""},model:{value:(_vm.formInline['text-decoration']),callback:function ($$v) {_vm.$set(_vm.formInline, 'text-decoration', $$v)},expression:"formInline['text-decoration']"}},_vm._l((_vm.textDecorationOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"对齐方式"}},[_c('el-select',{attrs:{"placeholder":"对齐方式","clearable":""},model:{value:(_vm.formInline['text-align']),callback:function ($$v) {_vm.$set(_vm.formInline, 'text-align', $$v)},expression:"formInline['text-align']"}},_vm._l((_vm.textAlignOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.onSubmitStyle}},[_vm._v("确定")])],1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/common/tbaleColumStyleSet.vue?vue&type=template&id=9df54ade&
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/tbaleColumStyleSet.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var tbaleColumStyleSetvue_type_script_lang_js_ = ({
props: {
formInline: {
default: function _default() {
return {};
}
},
value: Boolean
},
watch: {
value: function value(val) {
this.dialogVisible = val;
},
dialogVisible: function dialogVisible(val) {
this.$emit('input', val);
}
},
data: function data() {
return {
dialogVisible: false,
fontSizeOptions: [{
value: '10px',
label: '10px'
}, {
value: '12px',
label: '12px'
}, {
value: '14px',
label: '14px'
}, {
value: '16px',
label: '16px'
}, {
value: '18px',
label: '18px'
}, {
value: '20px',
label: '20px'
}, {
value: '22px',
label: '22px'
}, {
value: '24px',
label: '24px'
}],
colorOptions: [{
value: '#000000',
label: '黑色'
}, {
value: '#C0C0C0',
label: '银色'
}, {
value: '#808080',
label: '灰色'
}, {
value: '#FFFFFF',
label: '白色'
}, {
value: '#FF0000',
label: '红色'
}, {
value: '#800080',
label: '紫色'
}, {
value: '#FF00FF',
label: '紫红'
}, {
value: '#008000',
label: '绿色'
}, {
value: '#00FFFF',
label: '浅绿'
}, {
value: '#00FF00',
label: '亮绿'
}, {
value: '#808000',
label: '橄榄'
}, {
value: '#000080',
label: '深蓝'
}, {
value: '#0000FF',
label: '蓝色'
}, {
value: '#008080',
label: '青色'
}],
textDecorationOptions: [{
value: 'line-through',
label: '删除线'
}, {
value: 'underline',
label: '下划线'
}, {
value: 'overline',
label: '上划线'
}],
textAlignOptions: [{
value: 'left',
label: '左对齐'
}, {
value: 'right',
label: '右对齐'
}, {
value: 'center',
label: '中间'
}]
};
},
methods: {
onSubmitStyle: function onSubmitStyle() {
this.$emit('submit', this.formInline);
}
}
});
// CONCATENATED MODULE: ./src/packages/common/tbaleColumStyleSet.vue?vue&type=script&lang=js&
/* harmony default export */ var common_tbaleColumStyleSetvue_type_script_lang_js_ = (tbaleColumStyleSetvue_type_script_lang_js_);
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/common/tbaleColumStyleSet.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
common_tbaleColumStyleSetvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var tbaleColumStyleSet = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
This diff is collapsed.
.jsonEditorBox[data-v-2eb48596] .el-message-box{background-color:#f6f6f9!important;color:#040404!important}.jsonEditorBox[data-v-2eb48596] .el-message-box__content{color:#040404!important}.jsonEditorBox[data-v-2eb48596] .el-message-box>.el-button{color:#040404!important;background-color:rgba(74,77,93,.31)!important}.buttonBox[data-v-2eb48596]{padding-top:30px;padding-bottom:20px;display:flex}.editItemBox1[data-v-2eb48596],.editItemBox2[data-v-2eb48596]{flex:1;height:400px}.editItemBox3[data-v-2eb48596]{flex:2;height:400px}.editeTitleItem[data-v-2eb48596]{text-align:center;font-weight:700;font-family:宋体}.pageItem[data-v-2eb48596]{margin-right:10px;display:flex;justify-content:center;align-items:center}.infopageItem[data-v-2eb48596]{display:flex}.button_hanlde[data-v-2eb48596]{position:absolute;right:10px}#sqlBox[data-v-2eb48596] .el-textarea__inner{height:400px}.tipLayoutStyle[data-v-2eb48596]{text-align:center}.hsButtonBox[data-v-00bf1114]{padding:2px 1px 1px 1px;width:90%;height:100%;display:flex;justify-content:center;align-items:center}.tools_button[data-v-ce7b60e0]{display:flex;min-width:45px;min-height:30px}.isEmpityStyle[data-v-ce7b60e0]{width:40px}.eldropdownitem[data-v-ce7b60e0]{width:100px;padding:5px;text-align:center}#hsCarousel[data-v-25ac1018] .el-carousel__item h3{color:#475669;font-size:14px;opacity:.75;margin:0}#hsCarousel[data-v-25ac1018] .el-carousel__item:nth-child(2n){background-color:#99a9bf}#hsCarousel[data-v-25ac1018] .el-carousel__item:nth-child(odd){background-color:#d3dce6}#hsCarousel[data-v-25ac1018] .el-carousel__container{height:100%}.hsInputBox[data-v-05f79604]{padding:1px;width:100%;height:100%;display:flex}.inputTitle[data-v-05f79604]{flex:1;display:flex;justify-content:center;align-items:center}.inputCurr[data-v-05f79604]{flex:3;display:flex;justify-content:center;align-items:center}.hsInputBox[data-v-1934b16a]{padding:1px;width:100%;height:100%;display:flex}.inputCurr[data-v-1934b16a]{display:flex;justify-content:center;align-items:center}.hsInputBox[data-v-932a5d1e]{padding:1px;width:100%;height:100%;display:flex}.inputCurr[data-v-932a5d1e]{display:flex;justify-content:center;align-items:center}.hsInputBox[data-v-7c7f56ed]{padding:1px;width:100%;height:100%;display:flex}.hsInputInner[data-v-7c7f56ed]{height:80%;width:80%}.inputCurr[data-v-7c7f56ed],.inputTitle[data-v-7c7f56ed]{flex:1;display:flex;justify-content:center;align-items:center}.inputCurr[data-v-7c7f56ed]{height:100%}.contarnBox[data-v-7c7f56ed]{display:flex}.selectTitle[data-v-7c7f56ed]{flex:1;display:flex;justify-content:center;align-items:center}.selectCurr[data-v-7c7f56ed]{flex:3;display:flex;justify-content:center;align-items:center}.selectBoxPlus[data-v-7c7f56ed] .el-select .el-input__inner,.selectBoxPlus[data-v-7c7f56ed] .el-select>.el-input{height:100%}.hsInputBox[data-v-33b436f4]{padding:1px;width:100%;height:100%;display:flex}.inputCurr[data-v-33b436f4]{display:flex;justify-content:center;align-items:center}.hsInputBox[data-v-5b9e6987]{padding:1px;width:100%;height:100%;display:flex}.inputTitle[data-v-5b9e6987]{flex:1;display:flex;justify-content:center;align-items:center}.inputCurr[data-v-5b9e6987]{flex:3;display:flex;justify-content:center;align-items:center}.inputBox[data-v-012101ba]{height:100%}.dyncUiItemChildBox[data-v-012101ba] .el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner[data-v-012101ba],.el-date-editor--timerange.el-input[data-v-012101ba],.el-date-editor--timerange.el-input__inner[data-v-012101ba]{width:100%}.isRequiredIcon[data-v-54320868]{color:red}.itemBox[data-v-54320868]{display:flex}.labelTextOverflow[data-v-54320868]{overflow:hidden;text-overflow:clip!important;white-space:nowrap}.labelDefaultWidth[data-v-54320868]{width:120px}#tableBox[data-v-09d14343]{height:100%;width:100%;overflow:auto;min-height:30px}#tableBox[data-v-09d14343]::-webkit-scrollbar{width:5px;height:5px;background-color:#f5f5f5}#tableBox[data-v-09d14343]::-webkit-scrollbar-track{border-radius:10px;background-color:#f5f5f5}#tableBox[data-v-09d14343]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#ddd}.formBox[data-v-2b76d6b0]::-webkit-scrollbar{width:5px;height:5px;background-color:#f5f5f5}.formBox[data-v-2b76d6b0]::-webkit-scrollbar-track{border-radius:10px;background-color:#f5f5f5}.formBox[data-v-2b76d6b0]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#ddd}.formBox[data-v-2b76d6b0]{width:100%;height:100%;display:flex;flex-wrap:wrap}.isMoreSearchBox[data-v-2b76d6b0]{margin-top:5px}.isMoreSearchForm[data-v-2b76d6b0]{overflow:scroll}.isMoreSearchForm[data-v-2b76d6b0]::-webkit-scrollbar{display:none}.isMoreSearchForm[data-v-2b76d6b0] .el-form-item{margin-bottom:10px}.outBox[data-v-80813276]{width:100%}.file[data-v-cf025876]{position:relative;display:inline-block;background:#d0eeff;border:1px solid #99d3f5;border-radius:4px;padding:4px 12px;overflow:hidden;color:#1e88c7;text-decoration:none;text-indent:0;line-height:20px;height:20px}.file input[data-v-cf025876]{position:absolute;font-size:100px;right:0;top:0;opacity:0}.file[data-v-cf025876]:hover{background:#aadffd;border-color:#78c3f3;color:#004974;text-decoration:none}.innerImageBox[data-v-cf025876]{position:relative;margin:5px;border:1px solid #9e9e9e}.delete_icon[data-v-cf025876]{position:absolute;right:-8px;top:-7px;color:red}.fileTypeItem[data-v-cf025876]{margin:10px}.otherFileBox[data-v-cf025876]{margin:5px;border:1px solid #9e9e9e;position:relative}.otherFileOutBox[data-v-cf025876]{display:flex}.allbox[data-v-cf025876],.imgOutBox[data-v-cf025876]{display:flex;flex-wrap:wrap}.file_item[data-v-cf025876]{margin:10px;padding:5px;border:1px solid #dcdcdc;box-shadow:1px 4px 5px #888}.image_tool[data-v-cf025876]{display:flex;justify-content:space-around}.tool[data-v-cf025876]{display:flex;align-items:flex-end}.header_box[data-v-cf025876]{display:flex;justify-content:space-between}.title_type[data-v-cf025876]{border-bottom:1px solid #ddd}.title_type>i[data-v-cf025876]{color:red}.indexTitle[data-v-cf025876]{display:flex}.fileName[data-v-cf025876]{width:140px;white-space:nowrap;overflow-x:scroll}.fileName[data-v-cf025876]::-webkit-scrollbar{width:0;height:0}.fileName[data-v-cf025876]::-webkit-scrollbar-track{background:#efefef;border-radius:2px}.fileName[data-v-cf025876]::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:10px}.fileName[data-v-cf025876]::-webkit-scrollbar-thumb:hover{background:#333}.fileName[data-v-cf025876]::-webkit-scrollbar-corner{background:#179a16}.fullScreen[data-v-cf025876]{position:absolute;right:50px;top:25px}.indexText[data-v-cf025876]{color:red;margin-right:5px}.showFiletxt[data-v-cf025876]{height:18px}.hsInputBox[data-v-73de3d16]{padding:1px;width:100%;height:100%;display:flex}.inputTitle[data-v-73de3d16]{flex:1;display:flex;justify-content:center;align-items:center}.inputCurr[data-v-73de3d16]{flex:3;display:flex;justify-content:center;align-items:center}.hsInputBox[data-v-2760920b]{padding:1px;width:100%;height:100%;display:flex}.inputCurr[data-v-2760920b]{display:flex;justify-content:center;align-items:center}.contarnBox[data-v-8fbf3966]{display:flex}.selectTitle[data-v-8fbf3966]{flex:1;display:flex;justify-content:center;align-items:center}.selectCurr[data-v-8fbf3966]{flex:3;display:flex;justify-content:center;align-items:center}.noneStyle[data-v-8fbf3966] .el-input__inner{background:inherit;border:none;color:inherit}.noneStyle[data-v-8fbf3966] .el-input__suffix-inner{display:none}.noneStyle2[data-v-8fbf3966] .el-input__suffix-inner{display:none}.hsControlBoxOut[data-v-2f7ebc89]{padding:1px;width:100%;height:100%;display:flex;box-sizing:border-box}.hsControlBoxInner[data-v-2f7ebc89]{display:flex;justify-content:center;align-items:center}.activeBottomSort{border-bottom-color:#1f5ede!important}.activeTopSort{border-top-color:#1f5ede!important}._hs_table .el-table--border{border:1px solid #ebeef5!important}._hs_table .el-table--enable-row-hover .el-table__body tr:hover>td,._hs_table .el-table--striped .el-table__body tr.current-row>td,._hs_table .el-table__body tr.hover-row.current-row>td,._hs_table .el-table__body tr.hover-row.el-table__row--striped.current-row>td,._hs_table .el-table__body tr.hover-row.el-table__row--striped>td,._hs_table .el-table__body tr.hover-row>td{background-color:transparent!important}._hs_table .el-table:after,._hs_table .el-table:before{height:0!important}._hs_table body .el-table th.gutter{display:table-cell!important}.paginationBox{display:flex;justify-content:flex-end}._hs_table .el-table__body-wrapper::-webkit-scrollbar{width:8px;height:8px}._hs_table .el-table__body-wrapper::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:3px}._hs_table .el-table::-webkit-scrollbar-track,._hs_table .el-table__body-wrapper::-webkit-scrollbar-track{box-shadow:none;-webkit-box-shadow:none;border-radius:0;background:transparent}._hs_table .el-table::-webkit-scrollbar-thumb{border-radius:0;box-shadow:none;-webkit-box-shadow:none;opacity:.7}.addtableFooterWrapper{margin-top:-57px}.addtableBodyWrapper{padding-bottom:49px}._hs_table ::-webkit-scrollbar{width:0;background-color:transparent}.closeAllItem{padding:3px;cursor:pointer;font-size:10px}.paginationBox .el-input__inner{border:1px solid #dcdfe6!important;border-radius:4px;background-color:#fff;background-image:none}.elLink{margin:0 3px;font-size:12px}.toolsBox{float:right;top:34px;position:relative;z-index:1009;opacity:.8}.widthHeightCommon[data-v-2ebe5de2],.widthHeightCommon[data-v-437a7848]{width:100%;height:100%}.hsTags[data-v-5c3eb6cc]{padding:2px 1px 1px 1px;width:90%;height:100%;display:flex;justify-content:center;align-items:center}.hsTagsItem[data-v-5c3eb6cc]{margin-left:10px}.hsInputBox[data-v-bbcf0e0c]{padding:1px;width:100%;height:100%;display:flex}.treeBox[data-v-bbcf0e0c]{width:100%;height:100%;border:1px solid #ddd}.theme-message,.theme-picker-dropdown{z-index:99999!important}.theme-picker .el-color-picker__trigger{height:26px!important;width:26px!important;padding:2px}.theme-picker-dropdown .el-color-dropdown__link-btn{display:none}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[3],{
/***/ "061f":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c22");
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_3_5_2_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_15_9_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_9_1_vue_loader_lib_index_js_vue_loader_options_dialogUpload_vue_vue_type_style_index_0_id_5f706b00_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ "1c22":
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/***/ "f734":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=template&id=5f706b00&scoped=true&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"导入","visible":_vm.dialogVisible,"width":"40%","before-close":_vm.handleClose,"close-on-click-modal":false,"append-to-body":true},on:{"update:visible":function($event){_vm.dialogVisible=$event},"open":_vm.open}},[_c('el-upload',{ref:"uploadEl",staticClass:"upload-demo",attrs:{"drag":false,"action":"https://jsonplaceholder.typicode.com/posts/","auto-upload":false,"on-change":_vm.handleChange,"accept":_vm.accept,"multiple":false,"on-remove":_vm.handleRemove}},[_c('el-button',{attrs:{"size":"small","type":"primary"}},[_vm._v("选择文件")]),_c('div',{staticClass:"el-upload__tip",attrs:{"slot":"tip"},slot:"tip"},[_vm._v("只能上传xlsx/xls文件")])],1),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){_vm.dialogVisible = false}}},[_vm._v("取 消")]),_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.submit}},[_vm._v("确 定")])],1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=template&id=5f706b00&scoped=true&
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var dialogUploadvue_type_script_lang_js_ = ({
name: 'hsDialogUpload',
props: {
value: {
type: Boolean,
default: false
},
entityConfig: {},
currentImportItem: {}
},
watch: {
value: function value(val) {
this.dialogVisible = val;
},
dialogVisible: function dialogVisible(val) {
this.$emit('input', val);
}
},
data: function data() {
return {
dialogVisible: false,
fileList: [],
accept: 'application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
};
},
methods: {
handleRemove: function handleRemove(file, fileList) {
if (!fileList.length) {
this.fileList = [];
}
},
handleChange: function handleChange(file, fileList) {
var uploadFiles = this.$refs.uploadEl.uploadFiles.pop();
this.$refs.uploadEl.uploadFiles = [uploadFiles];
var file_ = [file];
this.fileList = file_;
},
open: function open() {
var r = this.$refs.uploadEl;
this.fileList = [];
if (r) {
// 清空上传列表
r.clearFiles();
}
},
handleClose: function handleClose() {
this.dialogVisible = false;
},
submit: function submit() {
if (!this.fileList.length) {
this.$message.error('请选择文件');
return;
}
this.$emit('submit', this.fileList);
}
}
});
// CONCATENATED MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=script&lang=js&
/* harmony default export */ var dialogTemplate_dialogUploadvue_type_script_lang_js_ = (dialogUploadvue_type_script_lang_js_);
// EXTERNAL MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue?vue&type=style&index=0&id=5f706b00&scoped=true&lang=css&
var dialogUploadvue_type_style_index_0_id_5f706b00_scoped_true_lang_css_ = __webpack_require__("061f");
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/common/dialogTemplate/dialogUpload.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
dialogTemplate_dialogUploadvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
"5f706b00",
null
)
/* harmony default export */ var dialogUpload = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
This diff is collapsed.
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[5],{
/***/ "f3bc":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/lookPageLog.vue?vue&type=template&id=7d223226&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-table',{attrs:{"data":_vm.gridData,"max-height":"350"}},[_c('el-table-column',{attrs:{"property":"app_code","label":"appCode","width":"150"}}),_c('el-table-column',{attrs:{"property":"page_name","label":"pageName","width":"200"}}),_c('el-table-column',{attrs:{"property":"control_name","label":"controlName"}}),_c('el-table-column',{attrs:{"property":"query_sql","label":"querySql","show-overflow-tooltip":true}}),_c('el-table-column',{attrs:{"property":"version","label":"version"}}),_c('el-table-column',{attrs:{"label":"操作"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini","type":"danger"},on:{"click":function($event){return _vm.revertVersion(scope.$index, scope.row)}}},[_vm._v("回滚")]),_c('el-button',{attrs:{"type":"success","size":"mini"},on:{"click":function($event){return _vm.showView(scope.$index, scope.row)}}},[_vm._v("查看效果")])]}}])})],1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/common/lookPageLog.vue?vue&type=template&id=7d223226&
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/lookPageLog.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var lookPageLogvue_type_script_lang_js_ = ({
name: 'lookPageLog',
props: {
elInfo: {
type: Object,
default: function _default() {
return {
dialogVisible: false
};
}
},
isrequest: {
type: Boolean,
default: false
}
},
data: function data() {
return {
pageTitle: '',
dialogVisible: false,
gridData: []
};
},
watch: {
isrequest: function isrequest(value) {
this.dialogOpen();
}
},
mounted: function mounted() {
this.dialogOpen();
},
methods: {
revertVersion: function revertVersion(index, item) {
var _this = this;
var parm = {
sAppCode: item.app_code,
sPage: item.page_name,
sControl: item.control_name,
version: item.version
};
this.$confirm('是否确定回滚到此版本!', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(function () {
_this.$emit('revertVersion', parm);
}).catch(function (e) {
console.log(e);
_this.$message({
type: 'info',
message: '已取消'
});
});
},
dialogOpen: function dialogOpen() {
var _this2 = this;
var parm = {
sPage: this.elInfo.page,
sControl: this.elInfo.position
};
this.$API.getPageLog(parm).then(function (res) {
_this2.gridData = res;
});
},
showView: function showView(index, item) {
var data = {
config: JSON.parse(item.json_config),
sourceData: JSON.parse(item.json_data),
sql: item.query_sql
};
this.$emit('showView', data);
}
}
});
// CONCATENATED MODULE: ./src/packages/common/lookPageLog.vue?vue&type=script&lang=js&
/* harmony default export */ var common_lookPageLogvue_type_script_lang_js_ = (lookPageLogvue_type_script_lang_js_);
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/common/lookPageLog.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
common_lookPageLogvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var lookPageLog = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
(("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]=("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]||[]).push([[0],{"0878":function(e,t,r){},c89f:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{width:"100%",height:"100%"}},["text"!==e.item.showType&&e.item.showType?e._e():[r("span",{staticStyle:{width:"100%"},style:{width:e.item.width+"px"},attrs:{clearable:"",size:"mini",placeholder:e.item.label}},[e._v(e._s(e.formParms[e.item.prop]))])],"input"===e.item.showType?[r("el-input",{staticStyle:{width:"100%"},attrs:{clearable:"",disabled:e.disabled,size:"mini",placeholder:e.item.label},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.enterInput(t)}},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e(),"textarea"===e.item.showType?[r("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",clearable:"",disabled:e.disabled,placeholder:e.item.label},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e(),"elDatePicker"===e.item.showType?[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{clearable:"",disabled:e.disabled,size:"mini",type:"daterange",valueFormat:"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e(),"elDatePickerDatetime"===e.item.showType?[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{clearable:"",disabled:e.disabled,size:"mini",type:"datetime",valueFormat:"yyyy-MM-dd HH:mm:ss",placeholder:"选择日期时间"},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e(),"elSwitch"===e.item.showType?[r("hsSwitch",{staticStyle:{width:"100%"},attrs:{size:"mini",disabled:e.disabled},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e(),"elCheckbox"===e.item.showType?[r("el-checkbox",{staticStyle:{width:"100%"},attrs:{size:"mini",disabled:e.disabled},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e(),"hsComputed"===e.item.showType?[r("hsComputed",{attrs:{allSourceData:e.item.allSourceData,elInfo:e.item.elInfo,readonly:e.disabled,formData:e.formParms},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e(),"hsSelectPlus"===e.item.showType?[r("hsSelectPlus",{attrs:{allSourceData:e.item.allSourceData,elInfo:e.item.elInfo,writeBackObject:e.formParms,readonly:e.disabled,remoteMethod:e.remoteMethod},model:{value:e.formParms[e.item.prop],callback:function(t){e.$set(e.formParms,e.item.prop,t)},expression:"formParms[item.prop]"}})]:e._e()],2)},i=[],o=(r("b130"),r("90aa"),{name:"dyncFormItemComponentChild",props:{remoteMethod:{},item:{},formParms:{},jsoneditorOpenAfter:{type:Function},allColumsConfig:{},readonly:{}},watch:{item:{handler:function(e){},deep:!0}},computed:{disabled:function(){var e=!1;return e=this.formParms._readonlyFields?JSON.parse(this.formParms._readonlyFields).includes(this.item.prop):this.item.isDisabled,!(!this.readonly&&!e)}},data:function(){return{}},mounted:function(){},methods:{enterInput:function(e){this.$emit("enterInput",e)},showLabel:function(e){return!e.isHideLabel&&!!e.label},isShowItem:function(e){return!e.isMoreSearch&&(!e.isHide||void 0)}}}),s=o,m=(r("e4c9"),r("e90a")),l=Object(m["a"])(s,a,i,!1,null,"7ace75cd",null);t["default"]=l.exports},e4c9:function(e,t,r){"use strict";var a=r("0878"),i=r.n(a);i.a}}]);
\ No newline at end of file
This diff is collapsed.
(("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]=("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]||[]).push([[2],{a8b5:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{title:"导入",visible:e.dialogVisible,width:"90%","before-close":e.handleClose,"close-on-click-modal":!1,"append-to-body":!0},on:{"update:visible":function(t){e.dialogVisible=t},open:e.open}},[n("iframe",{staticStyle:{width:"100%",height:"500px","padding-top":"10px"},attrs:{name:"zi",src:e.pageSrc,sandbox:"allow-same-origin allow-scripts allow-forms allow-top-navigation allow-popups"}})])},i=[],r=(n("9302"),n("1784"),n("f09c"),n("b449"),n("17d6")),s={name:"hsDialogIframe",props:{value:{type:Boolean,default:!1},src:{type:String,default:""},entityConfig:{},currentImportItem:{},entityManger:{}},watch:{value:function(e){this.dialogVisible=e},dialogVisible:function(e){this.$emit("input",e)}},data:function(){return{dialogVisiblePage:!1,pageSrc:"",dialogVisible:!1}},beforeDestroy:function(){window.removeEventListener("message",this.listenerMessageFun,!1)},mounted:function(){window.addEventListener("message",this.listenerMessageFun,!1)},methods:{listenerMessageFun:function(e){var t=e.data,n=t.innerType,a=t.data,i=t.main,r=t.close;if(r)this.$emit("closeDialog");else if(n)switch(n){case"dataImport":case"dataImportHdrDtl":this.dataImport(a,this.entityConfig,i);break;case"selectPlugin":this.selectPlugin(a);break}},selectPlugin:function(e){this.$emit("linkBtnUiBack",e)},dataImport:function(e,t,n){var a=this;return Object(r["a"])(regeneratorRuntime.mark((function i(){var r,s,o,l,c,u,m,p,d,f,g;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(t){i.next=2;break}return i.abrupt("return");case 2:r=a.entityManger.type,"mainDtl"===r?a.dtlImport(e,t,n):(s=e.reduce((function(e,t){return e.push(t.id),e}),[]),o=t.table_name,l=a.currentImportItem,c=l.import_name,u=l.saveParms,m=l._parms,p=a.currentImportItem.table_name||o,d=u||{},m&&(d=Object.assign({},u,m)),f={ids:s.join(),data:e,main:n,type:"import"},g={table_name:p,import_name:c,queryParms:d},a.$API.importDataIframe(f,g).then((function(e){a.$message.success("导入成功!"),a.$emit("importSuccess")})));case 4:case"end":return i.stop()}}),i)})))()},dtlImport:function(e,t,n){var a=this;return Object(r["a"])(regeneratorRuntime.mark((function i(){var r,s,o,l,c,u,m,p,d,f,g,h,b,y,w;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(t){i.next=2;break}return i.abrupt("return");case 2:if(r=a.entityManger.mainEntity,s=r.config,o=s.primaryKey,l=r.data,!l){i.next=21;break}if(c=l.iUpdateStatus,1!==c){i.next=11;break}return i.next=11,r.save(!0);case 11:u=e.reduce((function(e,t){return e.push(t.id),e}),[]),m=t.table_name,p=a.currentImportItem,d=p.import_name,f=p.saveParms,g=p._parms,h=a.currentImportItem.table_name||m,b=f||{},g&&(b=Object.assign({},f,g)),y={ids:u.join(),data:e,main:n,type:"import"},b.bill_id=l[o],w={table_name:h,import_name:d,queryParms:b},a.$API.importDataIframe(y,w).then((function(e){a.$message.success("导入成功!"),a.handleClose(),a.$emit("importSuccess",{bill_id:l[o]})}));case 21:case"end":return i.stop()}}),i)})))()},open:function(){this.pageSrc=this.src},handleClose:function(){this.dialogVisible=!1}}},o=s,l=n("e90a"),c=Object(l["a"])(o,a,i,!1,null,null,null);t["default"]=c.exports}}]);
\ No newline at end of file
(("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]=("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]||[]).push([[3],{"061f":function(t,e,i){"use strict";var l=i("1c22"),s=i.n(l);s.a},"1c22":function(t,e,i){},f734:function(t,e,i){"use strict";i.r(e);var l=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{title:"导入",visible:t.dialogVisible,width:"40%","before-close":t.handleClose,"close-on-click-modal":!1,"append-to-body":!0},on:{"update:visible":function(e){t.dialogVisible=e},open:t.open}},[i("el-upload",{ref:"uploadEl",staticClass:"upload-demo",attrs:{drag:!1,action:"https://jsonplaceholder.typicode.com/posts/","auto-upload":!1,"on-change":t.handleChange,accept:t.accept,multiple:!1,"on-remove":t.handleRemove}},[i("el-button",{attrs:{size:"small",type:"primary"}},[t._v("选择文件")]),i("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("只能上传xlsx/xls文件")])],1),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),i("el-button",{attrs:{size:"mini",type:"primary"},on:{click:t.submit}},[t._v("确 定")])],1)],1)},s=[],o={name:"hsDialogUpload",props:{value:{type:Boolean,default:!1},entityConfig:{},currentImportItem:{}},watch:{value:function(t){this.dialogVisible=t},dialogVisible:function(t){this.$emit("input",t)}},data:function(){return{dialogVisible:!1,fileList:[],accept:"application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}},methods:{handleRemove:function(t,e){e.length||(this.fileList=[])},handleChange:function(t,e){var i=this.$refs.uploadEl.uploadFiles.pop();this.$refs.uploadEl.uploadFiles=[i];var l=[t];this.fileList=l},open:function(){var t=this.$refs.uploadEl;this.fileList=[],t&&t.clearFiles()},handleClose:function(){this.dialogVisible=!1},submit:function(){this.fileList.length?this.$emit("submit",this.fileList):this.$message.error("请选择文件")}}},a=o,n=(i("061f"),i("e90a")),p=Object(n["a"])(a,l,s,!1,null,"5f706b00",null);e["default"]=p.exports}}]);
\ No newline at end of file
This diff is collapsed.
(("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]=("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]||[]).push([[5],{f3bc:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-table",{attrs:{data:e.gridData,"max-height":"350"}},[n("el-table-column",{attrs:{property:"app_code",label:"appCode",width:"150"}}),n("el-table-column",{attrs:{property:"page_name",label:"pageName",width:"200"}}),n("el-table-column",{attrs:{property:"control_name",label:"controlName"}}),n("el-table-column",{attrs:{property:"query_sql",label:"querySql","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{property:"version",label:"version"}}),n("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(n){return e.revertVersion(t.$index,t.row)}}},[e._v("回滚")]),n("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(n){return e.showView(t.$index,t.row)}}},[e._v("查看效果")])]}}])})],1)],1)},a=[],i={name:"lookPageLog",props:{elInfo:{type:Object,default:function(){return{dialogVisible:!1}}},isrequest:{type:Boolean,default:!1}},data:function(){return{pageTitle:"",dialogVisible:!1,gridData:[]}},watch:{isrequest:function(e){this.dialogOpen()}},mounted:function(){this.dialogOpen()},methods:{revertVersion:function(e,t){var n=this,o={sAppCode:t.app_code,sPage:t.page_name,sControl:t.control_name,version:t.version};this.$confirm("是否确定回滚到此版本!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){n.$emit("revertVersion",o)})).catch((function(e){console.log(e),n.$message({type:"info",message:"已取消"})}))},dialogOpen:function(){var e=this,t={sPage:this.elInfo.page,sControl:this.elInfo.position};this.$API.getPageLog(t).then((function(t){e.gridData=t}))},showView:function(e,t){var n={config:JSON.parse(t.json_config),sourceData:JSON.parse(t.json_data),sql:t.query_sql};this.$emit("showView",n)}}},s=i,l=n("e90a"),r=Object(l["a"])(s,o,a,!1,null,null,null);t["default"]=r.exports}}]);
\ No newline at end of file
(("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]=("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]||[]).push([[6],{28737:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-dialog",{attrs:{title:"明细",visible:e.dialogVisible,width:"95%","append-to-body":!0,"close-on-click-modal":!1},on:{opened:e.dialogOpen,"update:visible":function(t){e.dialogVisible=t},closed:e.dialogClose}},[l("el-table",{staticStyle:{width:"100%"},attrs:{data:e.tableData,"header-row-style":e.setHeaderRowStyle,"row-style":e.setRowStyle}},e._l(e.tableHeader,(function(e,t){return l("el-table-column",{key:t,attrs:{prop:e,label:e}})})),1)],1)},i=[],n=(l("fe8a"),{name:"tabelDetail",props:{value:Boolean,tableData:{type:Array,default:function(){return[]}},cellDetailStyle:{}},watch:{value:function(e){this.dialogVisible=e},dialogVisible:function(e){this.$emit("input",e)}},data:function(){return{dialogVisible:!1,tableHeader:[]}},methods:{dialogOpen:function(){this.tableData.length&&(this.tableHeader=Object.keys(this.tableData[0]))},setHeaderRowStyle:function(){var e=this.cellDetailStyle.headerRowStyle;return e||{}},setRowStyle:function(){var e=this.cellDetailStyle.rowStyle;return e||{}},dialogClose:function(){}}}),o=n,s=l("e90a"),r=Object(s["a"])(o,a,i,!1,null,null,null);t["default"]=r.exports}}]);
\ No newline at end of file
(("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]=("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]||[]).push([[7],{7350:function(e,l,t){"use strict";t.r(l);var a=function(){var e=this,l=e.$createElement,t=e._self._c||l;return t("el-dialog",{attrs:{visible:e.dialogVisible,width:"80%",title:"列样式设置","append-to-body":!0,"close-on-click-modal":!1},on:{"update:visible":function(l){e.dialogVisible=l}}},[t("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.formInline,size:"mini"}},[t("el-form-item",{attrs:{label:"字体颜色"}},[t("el-select",{attrs:{placeholder:"颜色",clearable:""},model:{value:e.formInline.color,callback:function(l){e.$set(e.formInline,"color",l)},expression:"formInline.color"}},e._l(e.colorOptions,(function(e,l){return t("el-option",{key:l,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"字体大小"}},[t("el-select",{attrs:{placeholder:"字体大小",clearable:""},model:{value:e.formInline.fontSize,callback:function(l){e.$set(e.formInline,"fontSize",l)},expression:"formInline.fontSize"}},e._l(e.fontSizeOptions,(function(e,l){return t("el-option",{key:l,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"背景色"}},[t("el-select",{attrs:{placeholder:"颜色",clearable:""},model:{value:e.formInline.background,callback:function(l){e.$set(e.formInline,"background",l)},expression:"formInline.background"}},e._l(e.colorOptions,(function(e,l){return t("el-option",{key:l,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"文本的修饰"}},[t("el-select",{attrs:{placeholder:"文本的修饰",clearable:""},model:{value:e.formInline["text-decoration"],callback:function(l){e.$set(e.formInline,"text-decoration",l)},expression:"formInline['text-decoration']"}},e._l(e.textDecorationOptions,(function(e,l){return t("el-option",{key:l,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"对齐方式"}},[t("el-select",{attrs:{placeholder:"对齐方式",clearable:""},model:{value:e.formInline["text-align"],callback:function(l){e.$set(e.formInline,"text-align",l)},expression:"formInline['text-align']"}},e._l(e.textAlignOptions,(function(e,l){return t("el-option",{key:l,attrs:{label:e.label,value:e.value}})})),1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.onSubmitStyle}},[e._v("确定")])],1)],1)},n=[],o={props:{formInline:{default:function(){return{}}},value:Boolean},watch:{value:function(e){this.dialogVisible=e},dialogVisible:function(e){this.$emit("input",e)}},data:function(){return{dialogVisible:!1,fontSizeOptions:[{value:"10px",label:"10px"},{value:"12px",label:"12px"},{value:"14px",label:"14px"},{value:"16px",label:"16px"},{value:"18px",label:"18px"},{value:"20px",label:"20px"},{value:"22px",label:"22px"},{value:"24px",label:"24px"}],colorOptions:[{value:"#000000",label:"黑色"},{value:"#C0C0C0",label:"银色"},{value:"#808080",label:"灰色"},{value:"#FFFFFF",label:"白色"},{value:"#FF0000",label:"红色"},{value:"#800080",label:"紫色"},{value:"#FF00FF",label:"紫红"},{value:"#008000",label:"绿色"},{value:"#00FFFF",label:"浅绿"},{value:"#00FF00",label:"亮绿"},{value:"#808000",label:"橄榄"},{value:"#000080",label:"深蓝"},{value:"#0000FF",label:"蓝色"},{value:"#008080",label:"青色"}],textDecorationOptions:[{value:"line-through",label:"删除线"},{value:"underline",label:"下划线"},{value:"overline",label:"上划线"}],textAlignOptions:[{value:"left",label:"左对齐"},{value:"right",label:"右对齐"},{value:"center",label:"中间"}]}},methods:{onSubmitStyle:function(){this.$emit("submit",this.formInline)}}},i=o,r=t("e90a"),u=Object(r["a"])(i,a,n,!1,null,null,null);l["default"]=u.exports}}]);
\ No newline at end of file
This diff is collapsed.
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[6],{
/***/ "28737":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/hs-table/tableDetail.vue?vue&type=template&id=5737b17c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"明细","visible":_vm.dialogVisible,"width":"95%","append-to-body":true,"close-on-click-modal":false},on:{"opened":_vm.dialogOpen,"update:visible":function($event){_vm.dialogVisible=$event},"closed":_vm.dialogClose}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.tableData,"header-row-style":_vm.setHeaderRowStyle,"row-style":_vm.setRowStyle}},_vm._l((_vm.tableHeader),function(prop,index){return _c('el-table-column',{key:index,attrs:{"prop":prop,"label":prop}})}),1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/hs-table/tableDetail.vue?vue&type=template&id=5737b17c&
// EXTERNAL MODULE: ./node_modules/_core-js@3.6.5@core-js/modules/es.object.keys.js
var es_object_keys = __webpack_require__("fe8a");
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/hs-table/tableDetail.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var tableDetailvue_type_script_lang_js_ = ({
name: 'tabelDetail',
props: {
value: Boolean,
tableData: {
type: Array,
default: function _default() {
return [];
}
},
cellDetailStyle: {}
},
watch: {
value: function value(val) {
this.dialogVisible = val;
},
dialogVisible: function dialogVisible(val) {
this.$emit('input', val);
}
},
data: function data() {
return {
dialogVisible: false,
tableHeader: []
};
},
methods: {
dialogOpen: function dialogOpen() {
if (!this.tableData.length) return;
this.tableHeader = Object.keys(this.tableData[0]);
},
setHeaderRowStyle: function setHeaderRowStyle() {
var headerRowStyle = this.cellDetailStyle.headerRowStyle;
return headerRowStyle || {};
},
setRowStyle: function setRowStyle() {
var rowStyle = this.cellDetailStyle.rowStyle;
return rowStyle || {};
},
dialogClose: function dialogClose() {}
}
});
// CONCATENATED MODULE: ./src/packages/hs-table/tableDetail.vue?vue&type=script&lang=js&
/* harmony default export */ var hs_table_tableDetailvue_type_script_lang_js_ = (tableDetailvue_type_script_lang_js_);
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/hs-table/tableDetail.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
hs_table_tableDetailvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var tableDetail = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[7],{
/***/ "7350":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"225853fa-vue-loader-template"}!./node_modules/_vue-loader@15.9.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/tbaleColumStyleSet.vue?vue&type=template&id=9df54ade&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"visible":_vm.dialogVisible,"width":"80%","title":"列样式设置","append-to-body":true,"close-on-click-modal":false},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{staticClass:"demo-form-inline",attrs:{"inline":true,"model":_vm.formInline,"size":"mini"}},[_c('el-form-item',{attrs:{"label":"字体颜色"}},[_c('el-select',{attrs:{"placeholder":"颜色","clearable":""},model:{value:(_vm.formInline.color),callback:function ($$v) {_vm.$set(_vm.formInline, "color", $$v)},expression:"formInline.color"}},_vm._l((_vm.colorOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"字体大小"}},[_c('el-select',{attrs:{"placeholder":"字体大小","clearable":""},model:{value:(_vm.formInline.fontSize),callback:function ($$v) {_vm.$set(_vm.formInline, "fontSize", $$v)},expression:"formInline.fontSize"}},_vm._l((_vm.fontSizeOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"背景色"}},[_c('el-select',{attrs:{"placeholder":"颜色","clearable":""},model:{value:(_vm.formInline.background),callback:function ($$v) {_vm.$set(_vm.formInline, "background", $$v)},expression:"formInline.background"}},_vm._l((_vm.colorOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"文本的修饰"}},[_c('el-select',{attrs:{"placeholder":"文本的修饰","clearable":""},model:{value:(_vm.formInline['text-decoration']),callback:function ($$v) {_vm.$set(_vm.formInline, 'text-decoration', $$v)},expression:"formInline['text-decoration']"}},_vm._l((_vm.textDecorationOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"对齐方式"}},[_c('el-select',{attrs:{"placeholder":"对齐方式","clearable":""},model:{value:(_vm.formInline['text-align']),callback:function ($$v) {_vm.$set(_vm.formInline, 'text-align', $$v)},expression:"formInline['text-align']"}},_vm._l((_vm.textAlignOptions),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.label,"value":item.value}})}),1)],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.onSubmitStyle}},[_vm._v("确定")])],1)],1)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/packages/common/tbaleColumStyleSet.vue?vue&type=template&id=9df54ade&
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.1.0@babel-loader/lib!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.1@vue-loader/lib??vue-loader-options!./src/packages/common/tbaleColumStyleSet.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var tbaleColumStyleSetvue_type_script_lang_js_ = ({
props: {
formInline: {
default: function _default() {
return {};
}
},
value: Boolean
},
watch: {
value: function value(val) {
this.dialogVisible = val;
},
dialogVisible: function dialogVisible(val) {
this.$emit('input', val);
}
},
data: function data() {
return {
dialogVisible: false,
fontSizeOptions: [{
value: '10px',
label: '10px'
}, {
value: '12px',
label: '12px'
}, {
value: '14px',
label: '14px'
}, {
value: '16px',
label: '16px'
}, {
value: '18px',
label: '18px'
}, {
value: '20px',
label: '20px'
}, {
value: '22px',
label: '22px'
}, {
value: '24px',
label: '24px'
}],
colorOptions: [{
value: '#000000',
label: '黑色'
}, {
value: '#C0C0C0',
label: '银色'
}, {
value: '#808080',
label: '灰色'
}, {
value: '#FFFFFF',
label: '白色'
}, {
value: '#FF0000',
label: '红色'
}, {
value: '#800080',
label: '紫色'
}, {
value: '#FF00FF',
label: '紫红'
}, {
value: '#008000',
label: '绿色'
}, {
value: '#00FFFF',
label: '浅绿'
}, {
value: '#00FF00',
label: '亮绿'
}, {
value: '#808000',
label: '橄榄'
}, {
value: '#000080',
label: '深蓝'
}, {
value: '#0000FF',
label: '蓝色'
}, {
value: '#008080',
label: '青色'
}],
textDecorationOptions: [{
value: 'line-through',
label: '删除线'
}, {
value: 'underline',
label: '下划线'
}, {
value: 'overline',
label: '上划线'
}],
textAlignOptions: [{
value: 'left',
label: '左对齐'
}, {
value: 'right',
label: '右对齐'
}, {
value: 'center',
label: '中间'
}]
};
},
methods: {
onSubmitStyle: function onSubmitStyle() {
this.$emit('submit', this.formInline);
}
}
});
// CONCATENATED MODULE: ./src/packages/common/tbaleColumStyleSet.vue?vue&type=script&lang=js&
/* harmony default export */ var common_tbaleColumStyleSetvue_type_script_lang_js_ = (tbaleColumStyleSetvue_type_script_lang_js_);
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.9.1@vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("e90a");
// CONCATENATED MODULE: ./src/packages/common/tbaleColumStyleSet.vue
/* normalize component */
var component = Object(componentNormalizer["a" /* default */])(
common_tbaleColumStyleSetvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var tbaleColumStyleSet = __webpack_exports__["default"] = (component.exports);
/***/ })
}]);
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment