提交 da1c1bfc 编写于 作者: ibizdev's avatar ibizdev

ShineKOT 发布系统代码 [后台服务,演示应用]

上级 fc2e94d7
......@@ -17,15 +17,15 @@
"VMGroup3":[
{"tag":"ViewMsg3","position":"TOP","type":"ERROR"}
],
"VMGroup9":[
{"tag":"DataViewDar","position":"TOP","type":"INFO"}
],
"VMGroup13":[
{"tag":"ViewMsg12","position":"TOP","type":"INFO"}
],
"VMGroup5":[
{"tag":"ViewMsg5","position":"TOP","type":"INFO"}
],
"VMGroup9":[
{"tag":"DataViewDar","position":"TOP","type":"INFO"}
],
"VMGroup7":[
{"tag":"ViewMsg7","position":"TOP","type":"INFO"}
],
......@@ -47,6 +47,9 @@
"VMGroup8":[
{"tag":"ViewMsg8","position":"TOP","type":"INFO"}
],
"VMGroup18":[
{"tag":"ViewMsg17","position":"TOP","type":"INFO"}
],
"VMGroup4":[
{"tag":"ViewMsg4","position":"TOP","type":"ERROR"}
]
......
......@@ -7,6 +7,12 @@ export default {
"Hardware": "硬件",
"empty": ""
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": ""
},
Bookgroup: {
"all": "全部",
"onshelf": "已上架",
......@@ -22,6 +28,13 @@ export default {
"C": "类型3",
"empty": ""
},
BookType: {
"1": "仙侠",
"2": "武侠",
"4": "玄幻",
"3": "都市",
"empty": ""
},
YesNo: {
"1": "是",
"0": "否",
......@@ -37,42 +50,6 @@ export default {
ORDERTYPE: {
"empty": "",
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": ""
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": ""
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
"empty": ""
},
BookType: {
"1": "仙侠",
"2": "武侠",
"4": "玄幻",
"3": "都市",
"empty": ""
},
CodeList46: {
"2": "星期一",
"3": "星期二",
"4": "星期三",
"5": "星期四",
"6": "星期五",
"7": "星期六",
"1": "星期日",
"empty": ""
},
S_OrderType: {
"10": "销售订单",
"20": "采购订单",
......
......@@ -7,6 +7,12 @@ export default {
"Hardware": "硬件",
"empty": "",
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": "",
},
Bookgroup: {
"all": "全部",
"onshelf": "已上架",
......@@ -22,6 +28,13 @@ export default {
"C": "类型3",
"empty": "",
},
BookType: {
"1": "仙侠",
"2": "武侠",
"4": "玄幻",
"3": "都市",
"empty": "",
},
YesNo: {
"1": "是",
"0": "否",
......@@ -37,42 +50,6 @@ export default {
ORDERTYPE: {
"empty": "",
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": "",
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": "",
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
"empty": "",
},
BookType: {
"1": "仙侠",
"2": "武侠",
"4": "玄幻",
"3": "都市",
"empty": "",
},
CodeList46: {
"2": "星期一",
"3": "星期二",
"4": "星期三",
"5": "星期四",
"6": "星期五",
"7": "星期六",
"1": "星期日",
"empty": "",
},
S_OrderType: {
"10": "销售订单",
"20": "采购订单",
......
......@@ -364,24 +364,6 @@ export default {
opinion: "审批意见",
formitem: "文本框(notnil)",
formitem1: "数值框(<>100)",
formitem2: "密码框(=123)",
formitem3: "多行输入框(包含显示)",
formitem4: "进步器(<100)",
formitem5: "评分器(=3)",
formitem6: "滑动输入条(>=60)",
formitem7: "下拉列表框(nil)",
formitem8: "开关(=0)",
formitem9: "选项框",
formitem10: "单选项列表(nil)",
formitem11: "选项框列表(nil)",
formitem12: "地址框(单选项列表未选择)",
formitem13: "时间选择(notnil)",
formitem14: "数据选择(选项框取消)",
formitem15: "",
formitem16: "自动填充(开关未打开)",
formitem17: "图片控件(nil)",
formitem18: "文件上传(nil)",
formitem19: "HTML编辑器(nil)",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
......
......@@ -363,24 +363,6 @@ export default {
opinion: "审批意见",
formitem: "文本框(notnil)",
formitem1: "数值框(<>100)",
formitem2: "密码框(=123)",
formitem3: "多行输入框(包含显示)",
formitem4: "进步器(<100)",
formitem5: "评分器(=3)",
formitem6: "滑动输入条(>=60)",
formitem7: "下拉列表框(nil)",
formitem8: "开关(=0)",
formitem9: "选项框",
formitem10: "单选项列表(nil)",
formitem11: "选项框列表(nil)",
formitem12: "地址框(单选项列表未选择)",
formitem13: "时间选择(notnil)",
formitem14: "数据选择(选项框取消)",
formitem15: "",
formitem16: "自动填充(开关未打开)",
formitem17: "图片控件(nil)",
formitem18: "文件上传(nil)",
formitem19: "HTML编辑器(nil)",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
......
......@@ -44,6 +44,7 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg10', () => import('@/message/view-msg10/view-msg10-message'));
this.allMessageService.set('ViewMsg7', () => import('@/message/view-msg7/view-msg7-message'));
this.allMessageService.set('DataViewDar', () => import('@/message/data-view-dar/data-view-dar-message'));
this.allMessageService.set('ViewMsg17', () => import('@/message/view-msg17/view-msg17-message'));
this.allMessageService.set('ViewMsg15', () => import('@/message/view-msg15/view-msg15-message'));
this.allMessageService.set('ViewMsg5', () => import('@/message/view-msg5/view-msg5-message'));
this.allMessageService.set('ViewMsg16', () => import('@/message/view-msg16/view-msg16-message'));
......
import ViewMessageService from '../view-message-service';
/**
* 编辑表单动态显示视图消息服务对象基类
*
* @export
* @class ViewMsg17MessageServiceBase
*/
export default class ViewMsg17MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg17MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg17MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg17MessageServiceBase
*/
public initBasicParam(){
this.id = "F45A276C-D2B9-493D-8B6B-A50754E4A63A";
this.name = "编辑表单动态显示";
this.codename = "ViewMsg17";
this.title = "";
this.content = "编辑表单动态显示:文本框内容不为空,数值框值不等于100";
this.closeMode = 0;
this.position = "TOP";
this.type = "info";
this.isEnableRemove = false;
this.order = 1;
this.dynamicMode = "STATIC";
this.hasMessageTemp = false;
this.messageType = "TEXT";
}
/**
* 转化消息模板标题和内容
*
* @target {*} target 返回目标数据
* @param {*} context 应用上下文
* @param {*} viewparam 视图参数
* @param {*} item 源数据
*
* @memberof ViewMsg17MessageServiceBase
*/
public translateMessageTemp(target:any,context:any,viewparam:any,item?:any){
if(this.hasMessageTemp && Object.is(this.messageType,"HTML")){
Object.assign(target,{title:``});
Object.assign(target,{content:``});
}
if(this.hasMessageTemp && Object.is(this.messageType,"TEXT")){
Object.assign(target,{title:""});
Object.assign(target,{content:""});
}
}
}
\ No newline at end of file
import ViewMsg17MessageServiceBase from './view-msg17-message-base';
/**
* 编辑表单动态显示视图消息服务对象
*
* @export
* @class ViewMsg17MessageService
*/
export default class ViewMsg17MessageService extends ViewMsg17MessageServiceBase {
/**
* Creates an instance of ViewMsg17MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg17MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -1160,15 +1160,15 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup3":[
{"tag":"ViewMsg3","position":"TOP","type":"ERROR"}
],
"VMGroup9":[
{"tag":"DataViewDar","position":"TOP","type":"INFO"}
],
"VMGroup13":[
{"tag":"ViewMsg12","position":"TOP","type":"INFO"}
],
"VMGroup5":[
{"tag":"ViewMsg5","position":"TOP","type":"INFO"}
],
"VMGroup9":[
{"tag":"DataViewDar","position":"TOP","type":"INFO"}
],
"VMGroup7":[
{"tag":"ViewMsg7","position":"TOP","type":"INFO"}
],
......@@ -1190,6 +1190,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup8":[
{"tag":"ViewMsg8","position":"TOP","type":"INFO"}
],
"VMGroup18":[
{"tag":"ViewMsg17","position":"TOP","type":"INFO"}
],
"VMGroup4":[
{"tag":"ViewMsg4","position":"TOP","type":"ERROR"}
]
......
......@@ -8,10 +8,10 @@
</div>
<div class='view-top-messages'>
</div>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup18' viewname='ibizorderf10editview'></app-alert-group> </div>
<div class="content-container">
<div class='view-body-messages'>
</div>
<app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup18' viewname='ibizorderf10editview'></app-alert-group> </div>
<view_form
:viewState="viewState"
:viewparams="viewparams"
......@@ -36,7 +36,7 @@
</view_form>
</div>
<div class='view-bottom-messages'>
</div>
<app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup18' viewname='ibizorderf10editview'></app-alert-group> </div>
</card>
</div>
</template>
......
......@@ -77,9 +77,9 @@ export const PageComponents = {
Vue.component('ibizorder-sf20-grid-view', () => import('@pages/sample/ibizorder-sf20-grid-view/ibizorder-sf20-grid-view.vue'));
Vue.component('ibizorder-grid-view9', () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'));
Vue.component('ibizsample0003-spickup-view2', () => import('@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'));
Vue.component('ibizorder-odsp-w10-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'));
Vue.component('ibizorder-f9-edit-view', () => import('@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'));
Vue.component('ibizsample0003-spickup-tree-view', () => import('@pages/sample/ibizsample0003-spickup-tree-view/ibizsample0003-spickup-tree-view.vue'));
Vue.component('ibizorder-odsp-w10-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'));
Vue.component('ibizorder-detail-f6-grid-view', () => import('@pages/sample/ibizorder-detail-f6-grid-view/ibizorder-detail-f6-grid-view.vue'));
Vue.component('ibizorder-wfstart-view', () => import('@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue'));
Vue.component('ibizsample0003-f4-tree-exp-view', () => import('@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue'));
......@@ -114,8 +114,8 @@ export const PageComponents = {
Vue.component('ibizsample0017-f20-edit-view', () => import('@pages/sample/ibizsample0017-f20-edit-view/ibizsample0017-f20-edit-view.vue'));
Vue.component('ibizorder-odsp-w-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-w-wfgrid-view/ibizorder-odsp-w-wfgrid-view.vue'));
Vue.component('ibizbookvalue-rules-grid-view', () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'));
Vue.component('ibizsample0002-mpickup-view', () => import('@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue'));
Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'));
Vue.component('ibizsample0002-mpickup-view', () => import('@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue'));
Vue.component('ibizorder-sf7-edit-view', () => import('@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue'));
Vue.component('ibizbookedit-view', () => import('@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'));
Vue.component('ibizsample0001-sf5-edit-view', () => import('@pages/sample/ibizsample0001-sf5-edit-view/ibizsample0001-sf5-edit-view.vue'));
......
......@@ -1158,20 +1158,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'),
},
{
path: 'ibizorders/:ibizorder?/odsp_w10_wfgridview/:odsp_w10_wfgridview?',
meta: {
caption: 'entities.ibizorder.views.odsp_w10_wfgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'odsp_w10_wfgridview', parameterName: 'odsp_w10_wfgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/f9editview/:f9editview?',
meta: {
......@@ -1200,6 +1186,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsample0003-spickup-tree-view/ibizsample0003-spickup-tree-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/odsp_w10_wfgridview/:odsp_w10_wfgridview?',
meta: {
caption: 'entities.ibizorder.views.odsp_w10_wfgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'odsp_w10_wfgridview', parameterName: 'odsp_w10_wfgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'),
},
{
path: 'ibizorderdetails/:ibizorderdetail?/f6gridview/:f6gridview?',
meta: {
......@@ -1677,32 +1677,32 @@ const router = new Router({
component: () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'),
},
{
path: 'ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?',
path: 'ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.ibizsample0002.views.mpickupview.caption',
caption: 'entities.ibizcustomer.views.pickupgridview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'mpickupview', parameterName: 'mpickupview' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue'),
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?',
path: 'ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?',
meta: {
caption: 'entities.ibizcustomer.views.pickupgridview.caption',
caption: 'entities.ibizsample0002.views.mpickupview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
{ pathName: 'ibizsample0002s', parameterName: 'ibizsample0002' },
{ pathName: 'mpickupview', parameterName: 'mpickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
component: () => import('@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/sf7editview/:sf7editview?',
......
......@@ -914,7 +914,6 @@ export const viewstate: any = {
refviews: [
'f7ce60a7707de1ef9f926b3f9d5d6954',
'8a4246bc438e47ec0f6f3516b9befc53',
'460fc1d5b6f2e2012b281df34d929f3b',
],
},
{
......
......@@ -98,77 +98,6 @@ export default class UIPART_0011Model {
name: 'formitem1',
dataType:'FORMITEM',
},
{
name: 'formitem2',
dataType:'FORMITEM',
},
{
name: 'formitem3',
dataType:'FORMITEM',
},
{
name: 'formitem4',
dataType:'FORMITEM',
},
{
name: 'formitem5',
dataType:'FORMITEM',
},
{
name: 'formitem6',
dataType:'FORMITEM',
},
{
name: 'formitem7',
dataType:'FORMITEM',
},
{
name: 'formitem8',
dataType:'FORMITEM',
},
{
name: 'formitem9',
dataType:'FORMITEM',
},
{
name: 'formitem10',
dataType:'FORMITEM',
},
{
name: 'formitem11',
dataType:'FORMITEM',
},
{
name: 'formitem12',
dataType:'FORMITEM',
},
{
name: 'formitem13',
dataType:'FORMITEM',
},
{
name: 'formitem14',
dataType:'FORMITEM',
},
{
name: 'formitem15',
},
{
name: 'formitem16',
dataType:'FORMITEM',
},
{
name: 'formitem17',
dataType:'FORMITEM',
},
{
name: 'formitem18',
dataType:'FORMITEM',
},
{
name: 'formitem19',
dataType:'FORMITEM',
},
{
name: 'ibizcustomerid',
prop: 'ibizcustomerid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册