Commit 3690e4e0 authored by 何虹's avatar 何虹 💬

.

parent 38d45376
.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
.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
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
((typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonphs_sky_ui"] || []).push([[3],{
/***/ "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([[4],{
/***/ "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.
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],{
/***/ "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
This diff is collapsed.
This diff is collapsed.
(("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]=("undefined"!==typeof self?self:this)["webpackJsonphs_sky_ui"]||[]).push([[3],{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([[4],{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([[4],{
/***/ "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.
import Vue from 'vue'
import App from './App.vue'
// import './packages/index'
import './packages/index'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import hsSkyUi from 'hs-sky-ui'
console.log(hsSkyUi)
Vue.use(hsSkyUi)
// import hsSkyUi from 'hs-sky-ui'
// console.log(hsSkyUi)
// Vue.use(hsSkyUi)
Vue.config.productionTip = false
Vue.use(ElementUI)
new Vue({
......
......@@ -43,7 +43,7 @@
<div class="button_hanlde">
<el-switch v-model="is_mock" active-text="模拟" inactive-text="正式"></el-switch>
<el-button v-if="elInfo.el==='hsDyncFormComponent'" size='mini' plain type="success" @click='editAnyncColums'>修改表单</el-button>
<el-button v-if="elInfo.el.includes('hsTable')" size='mini' plain type="success" @click='editTableColums'>修改表头</el-button>
<el-button v-if="elInfo.el&&elInfo.el.includes('hsTable')" size='mini' plain type="success" @click='editTableColums'>修改表头</el-button>
<el-button v-show="layout" size='mini' plain type="danger" @click='changControl(1)'>上一个</el-button>
<el-button v-show="layout" size='mini' plain type="warning" @click='changControl(2)'>下一个</el-button>
<el-button size='mini' plain type="success" @click='execSql'>模拟数据</el-button>
......@@ -103,9 +103,12 @@ import uuidv1 from 'uuid/v1'
import mockData from './initDbConfigDataJson'
import commonUtility from '../funTools/commonUtility'
import request from '../funTools/request'
const lookPageLog = r => require.ensure([], () => r(require('./lookPageLog.vue')), 'lookPageLog')
const asyncFormPropSet = r => require.ensure([], () => r(require('./asyncFormPropSet.vue')), 'asyncFormPropSet')
const tbaleColumsSet = r => require.ensure([], () => r(require('./tbaleColumsSet.vue')), 'tbaleColumsSet')
import lookPageLog from './lookPageLog.vue'
import asyncFormPropSet from './asyncFormPropSet.vue'
import tbaleColumsSet from './tbaleColumsSet.vue'
// const lookPageLog = r => require.ensure([], () => r(require('./lookPageLog.vue')), 'lookPageLog')
// const asyncFormPropSet = r => require.ensure([], () => r(require('./asyncFormPropSet.vue')), 'asyncFormPropSet')
// const tbaleColumsSet = r => require.ensure([], () => r(require('./tbaleColumsSet.vue')), 'tbaleColumsSet')
export default {
components: { lookPageLog, asyncFormPropSet, tbaleColumsSet },
name: 'jsoneditor',
......
......@@ -126,7 +126,7 @@
<script>
import _ from 'lodash'
import uuidv1 from 'uuid/v1'
const tbaleColumStyleSet = r => require.ensure([], () => r(require('./tbaleColumStyleSet.vue')), 'tbaleColumStyleSet')
import tbaleColumStyleSet from './tbaleColumStyleSet'
export default {
components: { tbaleColumStyleSet },
props: {
......
......@@ -222,6 +222,12 @@ import mes_style from './mes_style'
import screen_style from './screen_style'
import _ from 'lodash'
import request from '../funTools/request'
import tableDeatil from './tableDetail'
import jsoneditor from '../common/jsoneditor'
import childItem from './ItemComponentChild'
import tbaleColumsSet from '../common/tbaleColumsSet'
import dialogUpload from '../common/dialogTemplate/dialogUpload'
import dialogIframe from '../common/dialogTemplate/dialogIframe'
// const tableDeatil = r => require.ensure([], () => r(require('./tableDetail')), 'tableDeatil_')
// const childItem = r => require.ensure([], () => r(require('./ItemComponentChild')), 'ItemComponentChild_')
// const jsoneditor = r => require.ensure([], () => r(require('../common/jsoneditor')), 'jsoneditor_')
......@@ -231,12 +237,12 @@ import request from '../funTools/request'
export default {
components: {
jsoneditor: resolve => require(['../common/jsoneditor'], resolve),
tableDeatil: resolve => require(['./tableDetail'], resolve),
childItem:resolve => require(['./ItemComponentChild'], resolve),
tbaleColumsSet:resolve => require(['../common/tbaleColumsSet'], resolve),
dialogUpload:resolve => require(['../common/dialogTemplate/dialogUpload'], resolve),
dialogIframe:resolve => require(['../common/dialogTemplate/dialogIframe'], resolve),
jsoneditor,
tableDeatil,
childItem,
tbaleColumsSet,
dialogUpload,
dialogIframe,
},
name: 'hsTable',
props: {
......
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