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

ibiz4j 发布系统代码

上级 2a4646ab
[
{
"srfkey": "OpenAccessType",
"srfkey": "TemplateType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "aliyun",
"label": "阿里云",
"text": "阿里云",
"id": "aliyun-sms",
"label": "阿里云短信",
"text": "阿里云短信",
"class":"",
"data":"",
"codename":"Aliyun",
"value": "aliyun",
"codename":"Aliyun_SUB_sms",
"value": "aliyun-sms",
"disabled": false
}
, {
"id": "wechat",
"label": "微信开放平台",
"text": "微信开放平台",
"id": "aliyun-email",
"label": "阿里云邮件",
"text": "阿里云邮件",
"class":"",
"data":"",
"codename":"Wechat",
"value": "wechat",
"codename":"Aliyun_SUB_email",
"value": "aliyun-email",
"disabled": false
}
, {
"id": "qq",
"label": "QQ互联",
"text": "QQ互联",
"id": "wechat-msg",
"label": "微信消息",
"text": "微信消息",
"class":"",
"data":"",
"codename":"Qq",
"value": "qq",
"codename":"Wechat_SUB_msg",
"value": "wechat-msg",
"disabled": false
}
, {
"id": "dingtalk",
"label": "钉钉开放平台",
"text": "钉钉开放平台",
"id": "dingtalk-msg",
"label": "钉钉通知",
"text": "钉钉通知",
"class":"",
"data":"",
"codename":"Dingtalk",
"value": "dingtalk",
"codename":"Dingtalk_SUB_msg",
"value": "dingtalk-msg",
"disabled": false
}
]
},
{
"srfkey": "TemplateType",
"srfkey": "OpenAccessType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "aliyun-sms",
"label": "阿里云短信",
"text": "阿里云短信",
"id": "aliyun",
"label": "阿里云",
"text": "阿里云",
"class":"",
"data":"",
"codename":"Aliyun_SUB_sms",
"value": "aliyun-sms",
"codename":"Aliyun",
"value": "aliyun",
"disabled": false
}
, {
"id": "aliyun-email",
"label": "阿里云邮件",
"text": "阿里云邮件",
"id": "wechat",
"label": "微信开放平台",
"text": "微信开放平台",
"class":"",
"data":"",
"codename":"Aliyun_SUB_email",
"value": "aliyun-email",
"codename":"Wechat",
"value": "wechat",
"disabled": false
}
, {
"id": "wechat-msg",
"label": "微信消息",
"text": "微信消息",
"id": "qq",
"label": "QQ互联",
"text": "QQ互联",
"class":"",
"data":"",
"codename":"Wechat_SUB_msg",
"value": "wechat-msg",
"codename":"Qq",
"value": "qq",
"disabled": false
}
, {
"id": "dingtalk-msg",
"label": "钉钉通知",
"text": "钉钉通知",
"id": "dingtalk",
"label": "钉钉开放平台",
"text": "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk_SUB_msg",
"value": "dingtalk-msg",
"codename":"Dingtalk",
"value": "dingtalk",
"disabled": false
}
......
{
"msgopenaccesseditview": {
"title": "接入开放平台编辑视图",
"caption": "接入开放平台",
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessEditView",
"viewtag": "21df20858e3e04237f987b6aabb7d53e"
},
"msgtemplategridview": {
"title": "消息模板表格视图",
"caption": "消息模板",
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateGridView",
"viewtag": "24012ef8f76c1733b2b2271b864aa293"
},
"msgopenaccesspickupview": {
"title": "接入开放平台数据选择视图",
"caption": "接入开放平台",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessPickupView",
"viewtag": "2b1e4ec8cc8d1b7d3df4c738dd32abbd"
},
"msgopenaccesspickupgridview": {
"title": "接入开放平台选择表格视图",
"caption": "接入开放平台",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessPickupGridView",
"viewtag": "7dbf0d79bec7466c6597036b21833b07"
"viewtag": "05c6db43c9d5946f3f6da2d2b122fcdb"
},
"msgopenaccessgridview": {
"title": "接入开放平台表格视图",
......@@ -37,7 +13,23 @@
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessGridView",
"viewtag": "8563f7be052a93dffe667fdaa0dbc387"
"viewtag": "13944c37e6cb87c6aca28dec7b31892e"
},
"msgtemplategridview": {
"title": "消息模板表格视图",
"caption": "消息模板",
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateGridView",
"viewtag": "2ac24526f9a5f79abb2b9d474e57be0a"
},
"msgtemplateeditview": {
"title": "消息模板编辑视图",
"caption": "消息模板",
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateEditView",
"viewtag": "30868cf27f47d5ec65261c8b6d5c18a1"
},
"msguseraccounteditview": {
"title": "绑定消息账号编辑视图",
......@@ -45,23 +37,23 @@
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgUserAccountEditView",
"viewtag": "8fe61032f4a886c82b93251368df0533"
"viewtag": "4c01113024cb96ba2f6deaa33773f0aa"
},
"notifyindexview": {
"title": "notify",
"caption": "ibizlab",
"viewtype": "APPINDEXVIEW",
"msgopenaccesspickupview": {
"title": "接入开放平台数据选择视图",
"caption": "接入开放平台",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "notify",
"viewname": "NotifyIndexView",
"viewtag": "AB032BD4-8B7A-4848-B3D5-880390C396DC"
"viewname": "MsgOpenAccessPickupView",
"viewtag": "5fd5a34016a13395007d949d732cb30d"
},
"msgtemplateeditview": {
"title": "消息模板编辑视图",
"caption": "消息模板",
"msgopenaccesseditview": {
"title": "接入开放平台编辑视图",
"caption": "接入开放平台",
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateEditView",
"viewtag": "d40d28e6e7b714c11cc3e965236b212d"
"viewname": "MsgOpenAccessEditView",
"viewtag": "6a6e3d13c769ee31fe6ec9cc5508324f"
},
"msguseraccountgridview": {
"title": "绑定消息账号表格视图",
......@@ -69,6 +61,14 @@
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgUserAccountGridView",
"viewtag": "e6bf4bf11c92edd8e7bfdb621580d73b"
"viewtag": "a186d7dee3d83d5f95c27142bece5df6"
},
"notifyindexview": {
"title": "notify",
"caption": "ibizlab",
"viewtype": "APPINDEXVIEW",
"viewmodule": "notify",
"viewname": "NotifyIndexView",
"viewtag": "b7253a520eec9b5ffa50e7bf6468ccb1"
}
}
......@@ -86,9 +86,6 @@ import AppLockScren from './components/app-lock-scren/app-lock-scren.vue'
import ActionTimeline from './components/action-timeline/action-timeline.vue'
import CronEditor from './components/cron-editor/cron-editor.vue'
import AppMessagePopover from './components/app-message-popover/app-message-popover.vue'
import AppPanelField from './components/app-panel-field/app-panel-field.vue'
import AppPanelItem from './components/app-panel-item/app-panel-item.vue'
// 全局挂载UI实体服务注册中心
window['uiServiceRegister'] = uiServiceRegister;
......@@ -114,8 +111,6 @@ export const AppComponents = {
v.prototype.$verify = Verify;
v.prototype.$viewTool = ViewTool;
v.prototype.$uiActionTool = UIActionTool;
v.component('app-panel-item',AppPanelItem);
v.component('app-panel-field',AppPanelField);
v.component('app-full-scren',AppFullScren);
v.component('app-lock-scren',AppLockScren);
v.component('input-box', InputBox);
......
......@@ -39,9 +39,9 @@ export class AuthServiceRegister {
* @memberof AuthServiceRegister
*/
protected init(): void {
this.allAuthService.set('msgopenaccess', () => import('@/authservice/msg-open-access/msg-open-access-auth-service'));
this.allAuthService.set('msgtemplate', () => import('@/authservice/msg-template/msg-template-auth-service'));
this.allAuthService.set('msguseraccount', () => import('@/authservice/msg-user-account/msg-user-account-auth-service'));
this.allAuthService.set('msgtemplate', () => import('@/authservice/msg-template/msg-template-auth-service'));
this.allAuthService.set('msgopenaccess', () => import('@/authservice/msg-open-access/msg-open-access-auth-service'));
}
/**
......
......@@ -112,9 +112,6 @@ export default class AuthService {
* @memberof AuthService
*/
public getMenusPermission(item: any): boolean {
if(!this.$store.getters['authresource/getEnablePermissionValid']) {
return true;
}
return this.$store.getters['authresource/getAuthMenu'](item);
}
......@@ -126,9 +123,6 @@ export default class AuthService {
* @memberof AuthService
*/
public getResourcePermission(tag: any): boolean {
if(!this.$store.getters['authresource/getEnablePermissionValid']) {
return true;
}
return this.$store.getters['authresource/getResourceData'](tag);
}
......
......@@ -100,6 +100,7 @@ export default class AppActionBar extends Vue {
* @memberof AppActionBar
*/
public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){
if(Environment.enablePermissionValid){
for (const key in ActionModel) {
if (!ActionModel.hasOwnProperty(key)) {
return;
......@@ -133,6 +134,7 @@ export default class AppActionBar extends Vue {
}
}
}
}
/**
* 组件销毁
......
......@@ -18,7 +18,4 @@
font-family: '微软雅黑','黑体','宋体';
font-size: 16px;
}
.progress {
margin-top: -15px;
}
}
\ No newline at end of file
<template>
<div class="app-data-upload-view" v-loading.fullscreen="isUploading" element-loading-background="rgba(57, 57, 57, 0.2)">
<div class="app-data-upload-view">
<el-row style="margin-top:24px" :gutter="20">
<el-col :span="4">
<el-button type="primary" @click="handleUpLoad">{{$t('components.appDataUploadView.selectfile')}}</el-button>
......@@ -13,7 +13,6 @@
</el-col>
</el-row>
<el-divider></el-divider>
<el-progress class="progress" v-show="isUploading" :text-inside="true" :stroke-width="14" :percentage="uploadProgress"></el-progress>
<el-row style="height:480px;padding: 0px 12px;">
<div class="data-info-content" >
<template v-if="importDataArray.length >0 && isUploading === false">
......@@ -51,7 +50,6 @@ import XLSX from 'xlsx';
import CodeListService from "@service/app/codelist-service";
import EntityService from '@/service/entity-service';
import { Vue, Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Environment } from '@/environments/environment';
@Component({
})
......@@ -194,22 +192,6 @@ export default class AppDataUploadView extends Vue {
*/
public allFieldMap:Map<string,any> = new Map();
/**
* 上传服务器数据切片数
*
* @type {number}
* @memberof AppDataUploadView
*/
public sliceUploadCnt: number = Environment.sliceUploadCnt;
/**
* 上传服务器进度条百分比
*
* @type {number}
* @memberof AppDataUploadView
*/
public uploadProgress: number = 0;
/**
* 视图参数变化
*
......@@ -300,29 +282,10 @@ export default class AppDataUploadView extends Vue {
this.transformData(this.importDataArray,tempDataArray);
this.hasImported = true;
this.isUploading = true;
this.uploadProgress = 0;
this.importDataArray = [];
this.sliceUploadService(tempDataArray, 0);
}
/**
* 数据切片上传
*
* @memberof AppDataUploadView
*/
public sliceUploadService(dataArray: Array<any>, cnt: number) {
if(cnt > dataArray.length) {
this.isUploading = false;
this.uploadProgress = 100;
return;
}
let sliceArray: Array<any> = [];
if(dataArray) {
sliceArray = dataArray.slice(cnt, cnt+this.sliceUploadCnt);
}
try{
this.entityService.getService(this.viewparams.serviceName).then((service:any) =>{
service.ImportData(this.viewdata,{name:this.importId,importData:sliceArray}).then((res:any) =>{
service.ImportData(this.viewdata,{name:this.importId,importData:tempDataArray}).then((res:any) =>{
const result:any = res.data;
if(result && result.rst !== 0){
this.promptInfo = (this.$t('components.appDataUploadView.importfailed') as string);
......@@ -331,8 +294,7 @@ export default class AppDataUploadView extends Vue {
}
this.importSuccessData = result.data;
this.promptInfo = (this.$t('components.appDataUploadView.completed') as string);
this.uploadProgress = Number((cnt / dataArray.length * 100).toFixed(2));
this.sliceUploadService(dataArray, cnt + this.sliceUploadCnt);
this.isUploading = false;
}).catch((error:any) =>{
this.isUploading = false;
this.promptInfo = (this.$t('components.appDataUploadView.importfailed') as string);
......@@ -349,6 +311,7 @@ export default class AppDataUploadView extends Vue {
console.error(error);
};
}
/**
* 导出excel
*
......
......@@ -158,6 +158,7 @@ export default class AppFormGroup extends Vue {
* @memberof AppFormGroup
*/
public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){
if(Environment.enablePermissionValid){
for (const key in ActionModel) {
if (!ActionModel.hasOwnProperty(key)) {
return;
......@@ -191,6 +192,7 @@ export default class AppFormGroup extends Vue {
}
}
}
}
/**
* 是否为管理容器
......
......@@ -41,7 +41,7 @@ export default class AppHeaderMenus extends Vue {
{
name: "ibizstudio",
title: "components.appHeaderMenus.ibizstudio.title",
url: `${Environment.StudioUrl}?#/common_mosindex/srfkeys=${Environment.SysId}`,
url: `${Environment.StudioUrl}?#/common_slnindex/srfkeys=${Environment.SlnId}/sysdesign_psdevslnsysmodeltreeexpview`,
iconcls: 'fa fa-wrench',
},
{
......
......@@ -149,7 +149,7 @@
this.getMyMsgs();
}
}).catch((error: any) => {
console.warn("加载数据错误");
this.$Notice.error({title: '错误', desc: error});
})
}
......
......@@ -65,6 +65,7 @@ export default class AppQuickGroup extends Vue {
*/
get renderArray(){
if(this.items && this.items.length >0){
this.selectedUiItem = this.items[0];
this.handleClick(this.items[0]);
return this.handleDataSet(this.items)
}else{
......@@ -144,9 +145,6 @@ export default class AppQuickGroup extends Vue {
* @memberof AppQuickGroup
*/
public handleClick($event:any,isswitch:boolean = true){
if(this.selectedUiItem && (this.selectedUiItem.id === $event.id)){
return;
}
this.$emit('valuechange',$event);
if(isswitch){
this.selectedUiItem = $event;
......
......@@ -214,8 +214,7 @@ export default class AppSpan extends Vue {
this.text = Number(number.toFixed(this.precision)).toLocaleString('en-US')+ ' '+ this.unitName;
}else if(Object.is(this.dataType,"FLOAT") || Object.is(this.dataType,"DECIMAL")){
let number:any = Number(this.value);
const decimalCnt:number = this.value.toString().split('.').length > 1 ? this.value.toString().split('.')[1].length : 0;
this.text = (Number(this.precision) === 0 && decimalCnt !== 0) ? number.toFixed(decimalCnt) : number.toFixed(this.precision);
this.text = number.toFixed(this.precision);
}else {
this.text = this.value;
}
......
......@@ -293,13 +293,12 @@ export default class ContextMenuDrag extends Vue {
mounted() {
let that: any = this;
const get: Promise<any> = this.entityService.getAllApp(null,{});
get.then((response: any) => {
get
.then((response: any) => {
if (response) {
that.list = response.data.model;
that.listFilter();
}
}).catch((error:any) =>{
console.warn("加载数据错误")
});
}
}
......
......@@ -92,14 +92,6 @@ export default class ContextMenu extends Vue {
*/
@Prop()
public menus?: any[]
/**
* 是否阻止默认绘制上下文菜单
*
* @type {any}
* @memberof ContextMenu
*/
@Prop({default:false})
public isBlocked?:any;
/**
* 显示右键菜单
......@@ -203,10 +195,7 @@ export default class ContextMenu extends Vue {
if (contextRef) {
contextRef.oncontextmenu = (event: MouseEvent) => {
event.preventDefault();
if(!this.isBlocked){
this.showContextMenu(event.clientX, event.clientY);
}
this.$emit("showContext",event);
};
}
}
......
import { Store } from 'vuex';
import EntityService from '@/service/entity-service';
/**
* 计数器服务基类
......@@ -19,51 +17,6 @@ export default class CounterService {
*/
private $store: Store<any> | null = null;
/**
* 当前计数器数据
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected counterData:any ={};
/**
* 应用实体数据服务
*
* @protected
* @type {EntityService}
* @memberof CounterService
*/
protected appEntityService:EntityService = new EntityService();
/**
* 当前计数器导航上下文
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected context:any ={};
/**
* 当前计数器导航参数
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected viewparams:any ={};
/**
* 当前计数器定时器对象
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected timer:any;
/**
* Creates an instance of CounterService.
*
......@@ -72,8 +25,6 @@ export default class CounterService {
*/
constructor(opts: any = {}) {
this.$store = opts.$store;
this.context = opts.context?opts.context:{};
this.viewparams = opts.viewparams?opts.viewparams:{};
}
/**
......@@ -98,13 +49,5 @@ export default class CounterService {
return (window as any)['counterServiceRegister'].getService(name);
}
/**
* 销毁计数器
*
* @memberof ActionCounterCounterServiceBase
*/
public destroyCounter(){
if(this.timer) clearInterval(this.timer);
}
}
\ No newline at end of file
......@@ -186,6 +186,7 @@ export default class ViewEngine {
* @memberof ViewEngine
*/
public calcToolbarItemAuthState(data:any){
if(Environment.enablePermissionValid){
const _this: any = this;
for (const key in _this.view.toolBarModels) {
if (!_this.view.toolBarModels.hasOwnProperty(key)) {
......@@ -220,5 +221,6 @@ export default class ViewEngine {
}
}
}
}
}
\ No newline at end of file
......@@ -49,7 +49,6 @@ export default class WFDynaExpGridViewEngine extends GridViewEngine {
public onCtrlEvent(ctrlName: string, eventName: string, args: any): void {
if (Object.is(ctrlName, 'grid')) {
this.GridEvent(eventName, args);
return;
}
super.onCtrlEvent(ctrlName, eventName, args);
}
......
......@@ -15,8 +15,6 @@ export const Environment = {
ExportFile: '/ibizutil/download',
// 文件上传
UploadFile: '/ibizutil/upload',
// 数据导入单次上传最大数量
sliceUploadCnt: 100,
// 是否为pc端应用
isAppMode:true,
//统一地址
......@@ -38,7 +36,7 @@ export const Environment = {
// 前端应用标识
AppId: "6e0b7357169ef4eba84e1347ed94bd84",
// 项目发布文件地址
PublishProjectUrl: 'http://oauth2:ymrzrgzh97axsgq_TjR3@labcs.ibizee.cn/ibiz4jteam/ibznotify.git',
PublishProjectUrl: 'http://oauth2:cTux_e7Aoz1PrasP5dDq@demo.ibizlab.cn/ibiz4jteam/ibznotify.git',
// ibiz开放平台地址
ibizlabtUrl: 'https://www.ibizlab.cn',
// ibiz论坛地址
......
import msgopenaccess_en_US from '@locale/lanres/entities/msg-open-access/msg-open-access_en_US';
import msgtemplate_en_US from '@locale/lanres/entities/msg-template/msg-template_en_US';
import msguseraccount_en_US from '@locale/lanres/entities/msg-user-account/msg-user-account_en_US';
import msgtemplate_en_US from '@locale/lanres/entities/msg-template/msg-template_en_US';
import msgopenaccess_en_US from '@locale/lanres/entities/msg-open-access/msg-open-access_en_US';
import components_en_US from '@locale/lanres/components/components_en_US';
import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
......@@ -218,9 +218,9 @@ export default {
},
},
entities: {
msgopenaccess: msgopenaccess_en_US,
msgtemplate: msgtemplate_en_US,
msguseraccount: msguseraccount_en_US,
msgtemplate: msgtemplate_en_US,
msgopenaccess: msgopenaccess_en_US,
},
components: components_en_US,
codelist: codelist_en_US,
......
import msgopenaccess_zh_CN from '@locale/lanres/entities/msg-open-access/msg-open-access_zh_CN';
import msgtemplate_zh_CN from '@locale/lanres/entities/msg-template/msg-template_zh_CN';
import msguseraccount_zh_CN from '@locale/lanres/entities/msg-user-account/msg-user-account_zh_CN';
import msgtemplate_zh_CN from '@locale/lanres/entities/msg-template/msg-template_zh_CN';
import msgopenaccess_zh_CN from '@locale/lanres/entities/msg-open-access/msg-open-access_zh_CN';
import components_zh_CN from '@locale/lanres/components/components_zh_CN';
import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN';
......@@ -217,9 +217,9 @@ export default {
},
},
entities: {
msgopenaccess: msgopenaccess_zh_CN,
msgtemplate: msgtemplate_zh_CN,
msguseraccount: msguseraccount_zh_CN,
msgtemplate: msgtemplate_zh_CN,
msgopenaccess: msgopenaccess_zh_CN,
},
components: components_zh_CN,
codelist: codelist_zh_CN,
......
export default {
OpenAccessType: {
"aliyun": "阿里云",
"wechat": "微信开放平台",
"qq": "QQ互联",
"dingtalk": "钉钉开放平台",
"empty": ""
},
TemplateType: {
"aliyun-sms": "阿里云短信",
"aliyun-email": "阿里云邮件",
......@@ -13,4 +6,11 @@ export default {
"dingtalk-msg": "钉钉通知",
"empty": ""
},
OpenAccessType: {
"aliyun": "阿里云",
"wechat": "微信开放平台",
"qq": "QQ互联",
"dingtalk": "钉钉开放平台",
"empty": ""
},
};
\ No newline at end of file
export default {
OpenAccessType: {
"aliyun": "阿里云",
"wechat": "微信开放平台",
"qq": "QQ互联",
"dingtalk": "钉钉开放平台",
"empty": "",
},
TemplateType: {
"aliyun-sms": "阿里云短信",
"aliyun-email": "阿里云邮件",
......@@ -13,4 +6,11 @@ export default {
"dingtalk-msg": "钉钉通知",
"empty": "",
},
OpenAccessType: {
"aliyun": "阿里云",
"wechat": "微信开放平台",
"qq": "QQ互联",
"dingtalk": "钉钉开放平台",
"empty": "",
},
};
\ No newline at end of file
......@@ -13,14 +13,6 @@ export default {
redirect_uri: "RedirectURI",
},
views: {
editview: {
caption: "接入开放平台",
title: "接入开放平台编辑视图",
},
pickupview: {
caption: "接入开放平台",
title: "接入开放平台数据选择视图",
},
pickupgridview: {
caption: "接入开放平台",
title: "接入开放平台选择表格视图",
......@@ -29,6 +21,14 @@ export default {
caption: "接入开放平台",
title: "接入开放平台表格视图",
},
pickupview: {
caption: "接入开放平台",
title: "接入开放平台数据选择视图",
},
editview: {
caption: "接入开放平台",
title: "接入开放平台编辑视图",
},
},
main_form: {
details: {
......@@ -72,6 +72,64 @@ export default {
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
tbitem18: {
caption: "Help",
tip: "Help",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
......@@ -138,62 +196,4 @@ export default {
tip: "Help",
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
tbitem18: {
caption: "Help",
tip: "Help",
},
},
};
\ No newline at end of file
......@@ -12,14 +12,6 @@ export default {
redirect_uri: "RedirectURI",
},
views: {
editview: {
caption: "接入开放平台",
title: "接入开放平台编辑视图",
},
pickupview: {
caption: "接入开放平台",
title: "接入开放平台数据选择视图",
},
pickupgridview: {
caption: "接入开放平台",
title: "接入开放平台选择表格视图",
......@@ -28,6 +20,14 @@ export default {
caption: "接入开放平台",
title: "接入开放平台表格视图",
},
pickupview: {
caption: "接入开放平台",
title: "接入开放平台数据选择视图",
},
editview: {
caption: "接入开放平台",
title: "接入开放平台编辑视图",
},
},
main_form: {
details: {
......@@ -71,6 +71,64 @@ export default {
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
tbitem18: {
caption: "帮助",
tip: "帮助",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
......@@ -137,62 +195,4 @@ export default {
tip: "帮助",
},
},
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
tbitem18: {
caption: "帮助",
tip: "帮助",
},
},
};
\ No newline at end of file
......@@ -11,7 +11,7 @@ mock.onGet('v7/notify-index-viewappmenu').reply((config: any) => {
name: 'appmenu',
items: [
{
id: '3006BFD1-CFF7-43D0-BD00-14D491D4EABD',
id: '46e30d9996c90c9d617fdc7d75936058',
name: 'menuitem1',
text: '接入第三方平台',
type: 'MENUITEM',
......@@ -29,7 +29,7 @@ mock.onGet('v7/notify-index-viewappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '7E11B4BD-A48E-48A9-9010-F40C7B7C60FD',
id: 'bb418fcd75aff6e293b7b8b416bb01ce',
name: 'menuitem2',
text: '消息模板',
type: 'MENUITEM',
......@@ -47,7 +47,7 @@ mock.onGet('v7/notify-index-viewappmenu').reply((config: any) => {
resourcetag: '',
},
{
id: '565D9E14-3E01-43ED-AF79-22C27416DD15',
id: '6199646ee62aeb492996a780d1c3365f',
name: 'menuitem3',
text: '消息账户',
type: 'MENUITEM',
......
......@@ -33,7 +33,6 @@ mock.onGet('/appdata').reply((config: any) => {
// 当前用户条线代码
srfsectorbc:""
},
enablepermissionvalid:false,
unires:["RESOURCE1","RESOURCE2"],
//当前用户所有组织部门标识
srforgsections:[{"srforgsectorid":"5bd1ecf4d3c31e31cb66373df56b852f","srforgsectorname":"项目一部"},{"srforgsectorid":"2ad1ecf4d3c31e31cb66373df56b852f","srforgsectorname":"项目二部"}]
......
......@@ -8,102 +8,102 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config);
return [status, [
{
srfkey: "OpenAccessType",
srfkey: "TemplateType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "aliyun",
label: "阿里云",
text: "阿里云",
id: "aliyun-sms",
label: "阿里云短信",
text: "阿里云短信",
"class":"",
"data":"",
"codename":"Aliyun",
value: "aliyun",
"codename":"Aliyun_SUB_sms",
value: "aliyun-sms",
disabled: false,
},
{
id: "wechat",
label: "微信开放平台",
text: "微信开放平台",
id: "aliyun-email",
label: "阿里云邮件",
text: "阿里云邮件",
"class":"",
"data":"",
"codename":"Wechat",
value: "wechat",
"codename":"Aliyun_SUB_email",
value: "aliyun-email",
disabled: false,
},
{
id: "qq",
label: "QQ互联",
text: "QQ互联",
id: "wechat-msg",
label: "微信消息",
text: "微信消息",
"class":"",
"data":"",
"codename":"Qq",
value: "qq",
"codename":"Wechat_SUB_msg",
value: "wechat-msg",
disabled: false,
},
{
id: "dingtalk",
label: "钉钉开放平台",
text: "钉钉开放平台",
id: "dingtalk-msg",
label: "钉钉通知",
text: "钉钉通知",
"class":"",
"data":"",
"codename":"Dingtalk",
value: "dingtalk",
"codename":"Dingtalk_SUB_msg",
value: "dingtalk-msg",
disabled: false,
},
]
},
{
srfkey: "TemplateType",
srfkey: "OpenAccessType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "aliyun-sms",
label: "阿里云短信",
text: "阿里云短信",
id: "aliyun",
label: "阿里云",
text: "阿里云",
"class":"",
"data":"",
"codename":"Aliyun_SUB_sms",
value: "aliyun-sms",
"codename":"Aliyun",
value: "aliyun",
disabled: false,
},
{
id: "aliyun-email",
label: "阿里云邮件",
text: "阿里云邮件",
id: "wechat",
label: "微信开放平台",
text: "微信开放平台",
"class":"",
"data":"",
"codename":"Aliyun_SUB_email",
value: "aliyun-email",
"codename":"Wechat",
value: "wechat",
disabled: false,
},
{
id: "wechat-msg",
label: "微信消息",
text: "微信消息",
id: "qq",
label: "QQ互联",
text: "QQ互联",
"class":"",
"data":"",
"codename":"Wechat_SUB_msg",
value: "wechat-msg",
"codename":"Qq",
value: "qq",
disabled: false,
},
{
id: "dingtalk-msg",
label: "钉钉通知",
text: "钉钉通知",
id: "dingtalk",
label: "钉钉开放平台",
text: "钉钉开放平台",
"class":"",
"data":"",
"codename":"Dingtalk_SUB_msg",
value: "dingtalk-msg",
"codename":"Dingtalk",
value: "dingtalk",
disabled: false,
},
......
......@@ -7,6 +7,6 @@ import './login/login';
import './upload/upload';
// 实体级接口对象
import './entity/msg-open-accesss/msg-open-accesss';
import './entity/msg-templates/msg-templates';
import './entity/msg-user-accounts/msg-user-accounts';
import './entity/msg-templates/msg-templates';
import './entity/msg-open-accesss/msg-open-accesss';
......@@ -7,37 +7,13 @@ import Mock from 'mockjs'
mock.onGet('./assets/json/view-config.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config);
return [status,{
"msgopenaccesseditview": {
"title": "接入开放平台编辑视图",
"caption": "接入开放平台",
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessEditView",
"viewtag": "21df20858e3e04237f987b6aabb7d53e"
},
"msgtemplategridview": {
"title": "消息模板表格视图",
"caption": "消息模板",
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateGridView",
"viewtag": "24012ef8f76c1733b2b2271b864aa293"
},
"msgopenaccesspickupview": {
"title": "接入开放平台数据选择视图",
"caption": "接入开放平台",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessPickupView",
"viewtag": "2b1e4ec8cc8d1b7d3df4c738dd32abbd"
},
"msgopenaccesspickupgridview": {
"title": "接入开放平台选择表格视图",
"caption": "接入开放平台",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessPickupGridView",
"viewtag": "7dbf0d79bec7466c6597036b21833b07"
"viewtag": "05c6db43c9d5946f3f6da2d2b122fcdb"
},
"msgopenaccessgridview": {
"title": "接入开放平台表格视图",
......@@ -45,7 +21,23 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgOpenAccessGridView",
"viewtag": "8563f7be052a93dffe667fdaa0dbc387"
"viewtag": "13944c37e6cb87c6aca28dec7b31892e"
},
"msgtemplategridview": {
"title": "消息模板表格视图",
"caption": "消息模板",
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateGridView",
"viewtag": "2ac24526f9a5f79abb2b9d474e57be0a"
},
"msgtemplateeditview": {
"title": "消息模板编辑视图",
"caption": "消息模板",
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateEditView",
"viewtag": "30868cf27f47d5ec65261c8b6d5c18a1"
},
"msguseraccounteditview": {
"title": "绑定消息账号编辑视图",
......@@ -53,23 +45,23 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgUserAccountEditView",
"viewtag": "8fe61032f4a886c82b93251368df0533"
"viewtag": "4c01113024cb96ba2f6deaa33773f0aa"
},
"notifyindexview": {
"title": "notify",
"caption": "ibizlab",
"viewtype": "APPINDEXVIEW",
"msgopenaccesspickupview": {
"title": "接入开放平台数据选择视图",
"caption": "接入开放平台",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "notify",
"viewname": "NotifyIndexView",
"viewtag": "AB032BD4-8B7A-4848-B3D5-880390C396DC"
"viewname": "MsgOpenAccessPickupView",
"viewtag": "5fd5a34016a13395007d949d732cb30d"
},
"msgtemplateeditview": {
"title": "消息模板编辑视图",
"caption": "消息模板",
"msgopenaccesseditview": {
"title": "接入开放平台编辑视图",
"caption": "接入开放平台",
"viewtype": "DEEDITVIEW",
"viewmodule": "notify",
"viewname": "MsgTemplateEditView",
"viewtag": "d40d28e6e7b714c11cc3e965236b212d"
"viewname": "MsgOpenAccessEditView",
"viewtag": "6a6e3d13c769ee31fe6ec9cc5508324f"
},
"msguseraccountgridview": {
"title": "绑定消息账号表格视图",
......@@ -77,7 +69,15 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtype": "DEGRIDVIEW",
"viewmodule": "notify",
"viewname": "MsgUserAccountGridView",
"viewtag": "e6bf4bf11c92edd8e7bfdb621580d73b"
"viewtag": "a186d7dee3d83d5f95c27142bece5df6"
},
"notifyindexview": {
"title": "notify",
"caption": "ibizlab",
"viewtype": "APPINDEXVIEW",
"viewmodule": "notify",
"viewname": "NotifyIndexView",
"viewtag": "b7253a520eec9b5ffa50e7bf6468ccb1"
}
}];
});
\ No newline at end of file
......@@ -153,6 +153,15 @@ export default class MsgOpenAccessEditViewBase extends Vue {
*/
public appUIService: MsgOpenAccessUIService = new MsgOpenAccessUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessEditViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -204,7 +213,7 @@ export default class MsgOpenAccessEditViewBase extends Vue {
* @type {string}
* @memberof MsgOpenAccessEditViewBase
*/
public viewtag: string = '21df20858e3e04237f987b6aabb7d53e';
public viewtag: string = '6a6e3d13c769ee31fe6ec9cc5508324f';
/**
* 自定义视图导航上下文集合
......@@ -415,15 +424,6 @@ export default class MsgOpenAccessEditViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessEditViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -183,6 +183,15 @@ export default class MsgOpenAccessGridViewBase extends Vue {
*/
public appUIService: MsgOpenAccessUIService = new MsgOpenAccessUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -234,7 +243,7 @@ export default class MsgOpenAccessGridViewBase extends Vue {
* @type {string}
* @memberof MsgOpenAccessGridViewBase
*/
public viewtag: string = '8563f7be052a93dffe667fdaa0dbc387';
public viewtag: string = '13944c37e6cb87c6aca28dec7b31892e';
/**
* 自定义视图导航上下文集合
......@@ -450,15 +459,6 @@ export default class MsgOpenAccessGridViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -80,6 +80,15 @@ export default class MsgOpenAccessPickupGridViewBase extends Vue {
*/
public appUIService: MsgOpenAccessUIService = new MsgOpenAccessUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessPickupGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -131,7 +140,7 @@ export default class MsgOpenAccessPickupGridViewBase extends Vue {
* @type {string}
* @memberof MsgOpenAccessPickupGridViewBase
*/
public viewtag: string = '7dbf0d79bec7466c6597036b21833b07';
public viewtag: string = '05c6db43c9d5946f3f6da2d2b122fcdb';
/**
* 自定义视图导航上下文集合
......@@ -305,15 +314,6 @@ export default class MsgOpenAccessPickupGridViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessPickupGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -65,6 +65,15 @@ export default class MsgOpenAccessPickupViewBase extends Vue {
*/
public appUIService: MsgOpenAccessUIService = new MsgOpenAccessUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessPickupViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -116,7 +125,7 @@ export default class MsgOpenAccessPickupViewBase extends Vue {
* @type {string}
* @memberof MsgOpenAccessPickupViewBase
*/
public viewtag: string = '2b1e4ec8cc8d1b7d3df4c738dd32abbd';
public viewtag: string = '5fd5a34016a13395007d949d732cb30d';
/**
* 自定义视图导航上下文集合
......@@ -298,15 +307,6 @@ export default class MsgOpenAccessPickupViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgOpenAccessPickupViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -153,6 +153,15 @@ export default class MsgTemplateEditViewBase extends Vue {
*/
public appUIService: MsgTemplateUIService = new MsgTemplateUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgTemplateEditViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -204,7 +213,7 @@ export default class MsgTemplateEditViewBase extends Vue {
* @type {string}
* @memberof MsgTemplateEditViewBase
*/
public viewtag: string = 'd40d28e6e7b714c11cc3e965236b212d';
public viewtag: string = '30868cf27f47d5ec65261c8b6d5c18a1';
/**
* 自定义视图导航上下文集合
......@@ -415,15 +424,6 @@ export default class MsgTemplateEditViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgTemplateEditViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -183,6 +183,15 @@ export default class MsgTemplateGridViewBase extends Vue {
*/
public appUIService: MsgTemplateUIService = new MsgTemplateUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgTemplateGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -234,7 +243,7 @@ export default class MsgTemplateGridViewBase extends Vue {
* @type {string}
* @memberof MsgTemplateGridViewBase
*/
public viewtag: string = '24012ef8f76c1733b2b2271b864aa293';
public viewtag: string = '2ac24526f9a5f79abb2b9d474e57be0a';
/**
* 自定义视图导航上下文集合
......@@ -450,15 +459,6 @@ export default class MsgTemplateGridViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgTemplateGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -153,6 +153,15 @@ export default class MsgUserAccountEditViewBase extends Vue {
*/
public appUIService: MsgUserAccountUIService = new MsgUserAccountUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgUserAccountEditViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -204,7 +213,7 @@ export default class MsgUserAccountEditViewBase extends Vue {
* @type {string}
* @memberof MsgUserAccountEditViewBase
*/
public viewtag: string = '8fe61032f4a886c82b93251368df0533';
public viewtag: string = '4c01113024cb96ba2f6deaa33773f0aa';
/**
* 自定义视图导航上下文集合
......@@ -415,15 +424,6 @@ export default class MsgUserAccountEditViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgUserAccountEditViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -183,6 +183,15 @@ export default class MsgUserAccountGridViewBase extends Vue {
*/
public appUIService: MsgUserAccountUIService = new MsgUserAccountUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgUserAccountGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -234,7 +243,7 @@ export default class MsgUserAccountGridViewBase extends Vue {
* @type {string}
* @memberof MsgUserAccountGridViewBase
*/
public viewtag: string = 'e6bf4bf11c92edd8e7bfdb621580d73b';
public viewtag: string = 'a186d7dee3d83d5f95c27142bece5df6';
/**
* 自定义视图导航上下文集合
......@@ -450,15 +459,6 @@ export default class MsgUserAccountGridViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof MsgUserAccountGridViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
......@@ -78,6 +78,15 @@ import { Subject,Subscription } from 'rxjs';
})
export default class NotifyIndexViewBase extends Vue {
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof NotifyIndexViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 数据变化
*
......@@ -121,7 +130,7 @@ export default class NotifyIndexViewBase extends Vue {
* @type {string}
* @memberof NotifyIndexViewBase
*/
public viewtag: string = 'AB032BD4-8B7A-4848-B3D5-880390C396DC';
public viewtag: string = 'b7253a520eec9b5ffa50e7bf6468ccb1';
/**
* 自定义视图导航上下文集合
......@@ -279,15 +288,6 @@ export default class NotifyIndexViewBase extends Vue {
*/
public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof NotifyIndexViewBase
*/
public counterServiceArray:Array<any> = [];
/**
* 解析视图参数
*
......
export const PageComponents = {
install(Vue: any, opt: any) {
Vue.component('msg-open-access-edit-view', () => import('@pages/notify/msg-open-access-edit-view/msg-open-access-edit-view.vue'));
Vue.component('msg-open-access-grid-view', () => import('@pages/notify/msg-open-access-grid-view/msg-open-access-grid-view.vue'));
Vue.component('msg-user-account-edit-view', () => import('@pages/notify/msg-user-account-edit-view/msg-user-account-edit-view.vue'));
Vue.component('msg-user-account-grid-view', () => import('@pages/notify/msg-user-account-grid-view/msg-user-account-grid-view.vue'));
Vue.component('msg-open-access-pickup-view', () => import('@pages/notify/msg-open-access-pickup-view/msg-open-access-pickup-view.vue'));
Vue.component('msg-template-grid-view', () => import('@pages/notify/msg-template-grid-view/msg-template-grid-view.vue'));
Vue.component('msg-open-access-pickup-grid-view', () => import('@pages/notify/msg-open-access-pickup-grid-view/msg-open-access-pickup-grid-view.vue'));
Vue.component('msg-open-access-pickup-view', () => import('@pages/notify/msg-open-access-pickup-view/msg-open-access-pickup-view.vue'));
Vue.component('msg-template-edit-view', () => import('@pages/notify/msg-template-edit-view/msg-template-edit-view.vue'));
Vue.component('msg-user-account-edit-view', () => import('@pages/notify/msg-user-account-edit-view/msg-user-account-edit-view.vue'));
Vue.component('msg-user-account-grid-view', () => import('@pages/notify/msg-user-account-grid-view/msg-user-account-grid-view.vue'));
Vue.component('msg-open-access-grid-view', () => import('@pages/notify/msg-open-access-grid-view/msg-open-access-grid-view.vue'));
Vue.component('msg-open-access-edit-view', () => import('@pages/notify/msg-open-access-edit-view/msg-open-access-edit-view.vue'));
}
};
\ No newline at end of file
......@@ -39,9 +39,9 @@ export class EntityServiceRegister {
* @memberof EntityServiceRegister
*/
protected init(): void {
this.allEntityService.set('msgopenaccess', () => import('@/service/msg-open-access/msg-open-access-service'));
this.allEntityService.set('msgtemplate', () => import('@/service/msg-template/msg-template-service'));
this.allEntityService.set('msguseraccount', () => import('@/service/msg-user-account/msg-user-account-service'));
this.allEntityService.set('msgtemplate', () => import('@/service/msg-template/msg-template-service'));
this.allEntityService.set('msgopenaccess', () => import('@/service/msg-open-access/msg-open-access-service'));
}
/**
......
......@@ -4,92 +4,92 @@
export const viewstate: any = {
appviews: [
{
viewtag: '21df20858e3e04237f987b6aabb7d53e',
viewtag: '05c6db43c9d5946f3f6da2d2b122fcdb',
viewmodule: 'notify',
viewname: 'MsgOpenAccessEditView',
viewname: 'MsgOpenAccessPickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '24012ef8f76c1733b2b2271b864aa293',
viewtag: '13944c37e6cb87c6aca28dec7b31892e',
viewmodule: 'notify',
viewname: 'MsgTemplateGridView',
viewname: 'MsgOpenAccessGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'd40d28e6e7b714c11cc3e965236b212d',
'6a6e3d13c769ee31fe6ec9cc5508324f',
],
},
{
viewtag: '2b1e4ec8cc8d1b7d3df4c738dd32abbd',
viewtag: '2ac24526f9a5f79abb2b9d474e57be0a',
viewmodule: 'notify',
viewname: 'MsgOpenAccessPickupView',
viewname: 'MsgTemplateGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'7dbf0d79bec7466c6597036b21833b07',
'30868cf27f47d5ec65261c8b6d5c18a1',
],
},
{
viewtag: '7dbf0d79bec7466c6597036b21833b07',
viewtag: '30868cf27f47d5ec65261c8b6d5c18a1',
viewmodule: 'notify',
viewname: 'MsgOpenAccessPickupGridView',
viewname: 'MsgTemplateEditView',
viewaction: '',
viewdatachange: false,
refviews: [
'5fd5a34016a13395007d949d732cb30d',
],
},
{
viewtag: '8563f7be052a93dffe667fdaa0dbc387',
viewtag: '4c01113024cb96ba2f6deaa33773f0aa',
viewmodule: 'notify',
viewname: 'MsgOpenAccessGridView',
viewname: 'MsgUserAccountEditView',
viewaction: '',
viewdatachange: false,
refviews: [
'21df20858e3e04237f987b6aabb7d53e',
],
},
{
viewtag: '8fe61032f4a886c82b93251368df0533',
viewtag: '5fd5a34016a13395007d949d732cb30d',
viewmodule: 'notify',
viewname: 'MsgUserAccountEditView',
viewname: 'MsgOpenAccessPickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'05c6db43c9d5946f3f6da2d2b122fcdb',
],
},
{
viewtag: 'AB032BD4-8B7A-4848-B3D5-880390C396DC',
viewtag: '6a6e3d13c769ee31fe6ec9cc5508324f',
viewmodule: 'notify',
viewname: 'NotifyIndexView',
viewname: 'MsgOpenAccessEditView',
viewaction: '',
viewdatachange: false,
refviews: [
'24012ef8f76c1733b2b2271b864aa293',
'e6bf4bf11c92edd8e7bfdb621580d73b',
'8563f7be052a93dffe667fdaa0dbc387',
],
},
{
viewtag: 'd40d28e6e7b714c11cc3e965236b212d',
viewtag: 'a186d7dee3d83d5f95c27142bece5df6',
viewmodule: 'notify',
viewname: 'MsgTemplateEditView',
viewname: 'MsgUserAccountGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'2b1e4ec8cc8d1b7d3df4c738dd32abbd',
'4c01113024cb96ba2f6deaa33773f0aa',
],
},
{
viewtag: 'e6bf4bf11c92edd8e7bfdb621580d73b',
viewtag: 'b7253a520eec9b5ffa50e7bf6468ccb1',
viewmodule: 'notify',
viewname: 'MsgUserAccountGridView',
viewname: 'NotifyIndexView',
viewaction: '',
viewdatachange: false,
refviews: [
'8fe61032f4a886c82b93251368df0533',
'13944c37e6cb87c6aca28dec7b31892e',
'a186d7dee3d83d5f95c27142bece5df6',
'2ac24526f9a5f79abb2b9d474e57be0a',
],
},
],
......
......@@ -89,10 +89,10 @@ export default class MsgOpenAccessUIServiceBase extends UIService {
* @memberof MsgOpenAccessUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'msgopenaccesses'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'msgopenaccesses'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'msgopenaccesses'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'msgopenaccesses'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'msgopenaccesses'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'msgopenaccesses'});
}
/**
......
......@@ -39,9 +39,9 @@ export class UIServiceRegister {
* @memberof UIServiceRegister
*/
protected init(): void {
this.allUIService.set('msgopenaccess', () => import('@/uiservice/msg-open-access/msg-open-access-ui-service'));
this.allUIService.set('msgtemplate', () => import('@/uiservice/msg-template/msg-template-ui-service'));
this.allUIService.set('msguseraccount', () => import('@/uiservice/msg-user-account/msg-user-account-ui-service'));
this.allUIService.set('msgtemplate', () => import('@/uiservice/msg-template/msg-template-ui-service'));
this.allUIService.set('msgopenaccess', () => import('@/uiservice/msg-open-access/msg-open-access-ui-service'));
}
/**
......
......@@ -504,15 +504,15 @@ export default class NotifyIndexViewBase extends Vue implements ControlInterface
navDataService.removeNavData(this.viewtag);
}
switch (item.appfunctag) {
case 'Auto3':
this.clickAuto3(item);
return;
case 'Auto2':
this.clickAuto2(item);
return;
case 'Auto1':
this.clickAuto1(item);
return;
case 'Auto3':
this.clickAuto3(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -521,17 +521,17 @@ export default class NotifyIndexViewBase extends Vue implements ControlInterface
/**
* 接入第三方平台
* 消息账户
*
* @param {*} [item={}]
* @memberof NotifyIndexView
*/
public clickAuto2(item: any = {}) {
public clickAuto3(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'msgopenaccesses', parameterName: 'msgopenaccess' },
{ pathName: 'msguseraccounts', parameterName: 'msguseraccount' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
......@@ -544,17 +544,17 @@ export default class NotifyIndexViewBase extends Vue implements ControlInterface
}
/**
* 消息模板
* 接入第三方平台
*
* @param {*} [item={}]
* @memberof NotifyIndexView
*/
public clickAuto1(item: any = {}) {
public clickAuto2(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'msgtemplates', parameterName: 'msgtemplate' },
{ pathName: 'msgopenaccesses', parameterName: 'msgopenaccess' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
......@@ -567,17 +567,17 @@ export default class NotifyIndexViewBase extends Vue implements ControlInterface
}
/**
* 消息账户
* 消息模板
*
* @param {*} [item={}]
* @memberof NotifyIndexView
*/
public clickAuto3(item: any = {}) {
public clickAuto1(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'msguseraccounts', parameterName: 'msguseraccount' },
{ pathName: 'msgtemplates', parameterName: 'msgtemplate' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
......@@ -606,7 +606,7 @@ export default class NotifyIndexViewBase extends Vue implements ControlInterface
* @memberof NotifyIndexViewBase
*/
public handleMenusResource(inputMenus:Array<any>){
if(this.$store.getters['authresource/getEnablePermissionValid']){
if(Environment.enablePermissionValid){
this.computedEffectiveMenus(inputMenus);
this.computeParentMenus(inputMenus);
}
......
......@@ -15,7 +15,7 @@ export default class NotifyIndexViewModel {
*/
public items: any[] = [
{
id: '3006BFD1-CFF7-43D0-BD00-14D491D4EABD',
id: '46e30d9996c90c9d617fdc7d75936058',
name: 'menuitem1',
text: '接入第三方平台',
type: 'MENUITEM',
......@@ -34,7 +34,7 @@ export default class NotifyIndexViewModel {
authtag:'web-NotifyIndexView-menuitem1',
},
{
id: '7E11B4BD-A48E-48A9-9010-F40C7B7C60FD',
id: 'bb418fcd75aff6e293b7b8b416bb01ce',
name: 'menuitem2',
text: '消息模板',
type: 'MENUITEM',
......@@ -53,7 +53,7 @@ export default class NotifyIndexViewModel {
authtag:'web-NotifyIndexView-menuitem2',
},
{
id: '565D9E14-3E01-43ED-AF79-22C27416DD15',
id: '6199646ee62aeb492996a780d1c3365f',
name: 'menuitem3',
text: '消息账户',
type: 'MENUITEM',
......
......@@ -1183,6 +1183,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public computeButtonState(data:any){
if(Environment.enablePermissionValid){
let targetData:any = this.transformData(data);
if(this.detailsModel && Object.keys(this.detailsModel).length >0){
Object.keys(this.detailsModel).forEach((name:any) =>{
......@@ -1197,6 +1198,7 @@ export default class MainBase extends Vue implements ControlInterface {
})
}
}
}
......
......@@ -661,8 +661,10 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public getActionState(data:any){
let tempActionModel:any = JSON.parse(JSON.stringify(this.ActionModel));
if(Environment.enablePermissionValid){
let targetData:any = this.transformData(data);
ViewTool.calcActionItemAuthState(targetData,tempActionModel,this.appUIService);
}
return tempActionModel;
}
......
......@@ -1225,6 +1225,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public computeButtonState(data:any){
if(Environment.enablePermissionValid){
let targetData:any = this.transformData(data);
if(this.detailsModel && Object.keys(this.detailsModel).length >0){
Object.keys(this.detailsModel).forEach((name:any) =>{
......@@ -1239,6 +1240,7 @@ export default class MainBase extends Vue implements ControlInterface {
})
}
}
}
......
......@@ -683,8 +683,10 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public getActionState(data:any){
let tempActionModel:any = JSON.parse(JSON.stringify(this.ActionModel));
if(Environment.enablePermissionValid){
let targetData:any = this.transformData(data);
ViewTool.calcActionItemAuthState(targetData,tempActionModel,this.appUIService);
}
return tempActionModel;
}
......
......@@ -1042,6 +1042,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public computeButtonState(data:any){
if(Environment.enablePermissionValid){
let targetData:any = this.transformData(data);
if(this.detailsModel && Object.keys(this.detailsModel).length >0){
Object.keys(this.detailsModel).forEach((name:any) =>{
......@@ -1056,6 +1057,7 @@ export default class MainBase extends Vue implements ControlInterface {
})
}
}
}
......
......@@ -641,8 +641,10 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public getActionState(data:any){
let tempActionModel:any = JSON.parse(JSON.stringify(this.ActionModel));
if(Environment.enablePermissionValid){
let targetData:any = this.transformData(data);
ViewTool.calcActionItemAuthState(targetData,tempActionModel,this.appUIService);
}
return tempActionModel;
}
......
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>ibznotify</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>para1</name>
<description></description>
<defaultValue>para1</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>para2</name>
<description></description>
<defaultValue>para2</defaultValue>
<trim>false</trim>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
BUILD_ID=DONTKILLME
source /etc/profile
rm -rf ibznotify
git clone -b master $para2 ibznotify/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibznotify/
</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.34">
<patterns class="empty-list"/>
<deleteDirs>false</deleteDirs>
<skipWhenFailed>false</skipWhenFailed>
<cleanWhenSuccess>true</cleanWhenSuccess>
<cleanWhenUnstable>true</cleanWhenUnstable>
<cleanWhenFailure>true</cleanWhenFailure>
<cleanWhenNotBuilt>true</cleanWhenNotBuilt>
<cleanWhenAborted>true</cleanWhenAborted>
<notFailBuild>false</notFailBuild>
<cleanupMatrixParent>false</cleanupMatrixParent>
<externalDelete></externalDelete>
</hudson.plugins.ws__cleanup.WsCleanup>
</publishers>
<buildWrappers/>
</project>
......@@ -7,16 +7,16 @@ logging:
#zuul网关路由设置
zuul:
routes:
msg_open_access:
path: /msgopenaccesses/**
msg_user_account:
path: /msguseraccounts/**
serviceId: ${ibiz.ref.service.ibznotify-api:ibznotify-api}
stripPrefix: false
msg_template:
path: /msgtemplates/**
serviceId: ${ibiz.ref.service.ibznotify-api:ibznotify-api}
stripPrefix: false
msg_user_account:
path: /msguseraccounts/**
msg_open_access:
path: /msgopenaccesses/**
serviceId: ${ibiz.ref.service.ibznotify-api:ibznotify-api}
stripPrefix: false
loginv7:
......
......@@ -41,19 +41,29 @@ public class MsgBody extends EntityMP implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 消息模板标识
* 是否出错
*/
@TableField(value = "templateid")
@JSONField(name = "template_id")
@JsonProperty("template_id")
private String templateId;
@DEField(defaultValue = "0")
@TableField(value = "iserror")
@JSONField(name = "is_error")
@JsonProperty("is_error")
private Integer isError;
/**
* 消息类型
* 是否发送
*/
@TableField(value = "msgtype")
@JSONField(name = "msg_type")
@JsonProperty("msg_type")
private Integer msgType;
@DEField(defaultValue = "0")
@TableField(value = "issend")
@JSONField(name = "is_send")
@JsonProperty("is_send")
private Integer isSend;
/**
* 消息标识
*/
@DEField(isKeyField=true)
@TableId(value= "msgid",type=IdType.ASSIGN_UUID)
@JSONField(name = "msg_id")
@JsonProperty("msg_id")
private String msgId;
/**
* 目标用户
*/
......@@ -62,29 +72,12 @@ public class MsgBody extends EntityMP implements Serializable {
@JsonProperty("to_users")
private String toUsers;
/**
* 消息模板参数
*/
@DEField(name = "templparams")
@TableField(value = "templparams")
@JSONField(name = "template_params")
@JsonProperty("template_params")
private String templateParams;
/**
* 是否发送
*/
@DEField(defaultValue = "0")
@TableField(value = "issend")
@JSONField(name = "is_send")
@JsonProperty("is_send")
private Integer isSend;
/**
* 是否出错
* 消息链接
*/
@DEField(defaultValue = "0")
@TableField(value = "iserror")
@JSONField(name = "is_error")
@JsonProperty("is_error")
private Integer isError;
@TableField(value = "msglink")
@JSONField(name = "msg_link")
@JsonProperty("msg_link")
private String msgLink;
/**
* 消息标题
*/
......@@ -100,27 +93,12 @@ public class MsgBody extends EntityMP implements Serializable {
@JsonProperty("content")
private String content;
/**
* 消息链接
*/
@TableField(value = "msglink")
@JSONField(name = "msg_link")
@JsonProperty("msg_link")
private String msgLink;
/**
* 用户数据
*/
@TableField(value = "userdata")
@JSONField(name = "user_data")
@JsonProperty("user_data")
private String userData;
/**
* 消息标识
* 消息类型
*/
@DEField(isKeyField=true)
@TableId(value= "msgid",type=IdType.ASSIGN_UUID)
@JSONField(name = "msg_id")
@JsonProperty("msg_id")
private String msgId;
@TableField(value = "msgtype")
@JSONField(name = "msg_type")
@JsonProperty("msg_type")
private Integer msgType;
/**
* 消息名称
*/
......@@ -128,6 +106,13 @@ public class MsgBody extends EntityMP implements Serializable {
@JSONField(name = "msg_name")
@JsonProperty("msg_name")
private String msgName;
/**
* 消息模板标识
*/
@TableField(value = "templateid")
@JSONField(name = "template_id")
@JsonProperty("template_id")
private String templateId;
/**
* 错误信息
*/
......@@ -135,23 +120,38 @@ public class MsgBody extends EntityMP implements Serializable {
@JSONField(name = "error_info")
@JsonProperty("error_info")
private String errorInfo;
/**
* 用户数据
*/
@TableField(value = "userdata")
@JSONField(name = "user_data")
@JsonProperty("user_data")
private String userData;
/**
* 消息模板参数
*/
@DEField(name = "templparams")
@TableField(value = "templparams")
@JSONField(name = "template_params")
@JsonProperty("template_params")
private String templateParams;
/**
* 设置 [消息模板标识]
* 设置 [是否出错]
*/
public void setTemplateId(String templateId){
this.templateId = templateId ;
this.modify("templateid",templateId);
public void setIsError(Integer isError){
this.isError = isError ;
this.modify("iserror",isError);
}
/**
* 设置 [消息类型]
* 设置 [是否发送]
*/
public void setMsgType(Integer msgType){
this.msgType = msgType ;
this.modify("msgtype",msgType);
public void setIsSend(Integer isSend){
this.isSend = isSend ;
this.modify("issend",isSend);
}
/**
......@@ -163,27 +163,11 @@ public class MsgBody extends EntityMP implements Serializable {
}
/**
* 设置 [消息模板参数]
*/
public void setTemplateParams(String templateParams){
this.templateParams = templateParams ;
this.modify("templparams",templateParams);
}
/**
* 设置 [是否发送]
*/
public void setIsSend(Integer isSend){
this.isSend = isSend ;
this.modify("issend",isSend);
}
/**
* 设置 [是否出错]
* 设置 [消息链接]
*/
public void setIsError(Integer isError){
this.isError = isError ;
this.modify("iserror",isError);
public void setMsgLink(String msgLink){
this.msgLink = msgLink ;
this.modify("msglink",msgLink);
}
/**
......@@ -203,19 +187,11 @@ public class MsgBody extends EntityMP implements Serializable {
}
/**
* 设置 [消息链接]
*/
public void setMsgLink(String msgLink){
this.msgLink = msgLink ;
this.modify("msglink",msgLink);
}
/**
* 设置 [用户数据]
* 设置 [消息类型]
*/
public void setUserData(String userData){
this.userData = userData ;
this.modify("userdata",userData);
public void setMsgType(Integer msgType){
this.msgType = msgType ;
this.modify("msgtype",msgType);
}
/**
......@@ -226,6 +202,14 @@ public class MsgBody extends EntityMP implements Serializable {
this.modify("msgname",msgName);
}
/**
* 设置 [消息模板标识]
*/
public void setTemplateId(String templateId){
this.templateId = templateId ;
this.modify("templateid",templateId);
}
/**
* 设置 [错误信息]
*/
......@@ -234,6 +218,22 @@ public class MsgBody extends EntityMP implements Serializable {
this.modify("errorinfo",errorInfo);
}
/**
* 设置 [用户数据]
*/
public void setUserData(String userData){
this.userData = userData ;
this.modify("userdata",userData);
}
/**
* 设置 [消息模板参数]
*/
public void setTemplateParams(String templateParams){
this.templateParams = templateParams ;
this.modify("templparams",templateParams);
}
}
......
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<!--输出实体[MSG_BODY]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_body-143-1">
<createTable tableName="IBZMSGBODY">
<column name="TEMPLATEID" remarks="" type="VARCHAR(100)">
</column>
<column name="MSGTYPE" remarks="" type="INT">
</column>
<column name="TOUSERS" remarks="" type="VARCHAR(1000)">
</column>
<column name="TEMPLPARAMS" remarks="" type="TEXT(1048576)">
</column>
<column name="ISSEND" remarks="" type="INT">
</column>
<column name="ISERROR" remarks="" type="INT">
</column>
<column name="SUBJECT" remarks="" type="VARCHAR(100)">
</column>
<column name="CONTENT" remarks="" type="VARCHAR(100)">
</column>
<column name="MSGLINK" remarks="" type="VARCHAR(100)">
</column>
<column name="USERDATA" remarks="" type="VARCHAR(100)">
</column>
<column name="MSGID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MSG_BODY_MSGID"/>
</column>
<column name="MSGNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="ERRORINFO" remarks="" type="TEXT(1048576)">
</column>
</createTable>
</changeSet>
<!--输出实体[MSG_OPEN_ACCESS]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_open_access-31-2">
<createTable tableName="IBZOPENACCESS">
<column name="ACCESSID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MSG_OPEN_ACCESS_ACCESSID"/>
</column>
<column name="ACCESSNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="OPEN_TYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="ACCESS_KEY" remarks="" type="VARCHAR(100)">
</column>
<column name="SECRET_KEY" remarks="" type="VARCHAR(100)">
</column>
<column name="REGION_ID" remarks="" type="VARCHAR(100)">
</column>
<column name="ACCESS_TOKEN" remarks="" type="VARCHAR(1000)">
</column>
<column name="EXPIRES_TIME" remarks="" type="DATETIME">
</column>
<column name="DISABLED" remarks="" type="INT">
</column>
<column name="REDIRECT_URI" remarks="" type="VARCHAR(500)">
</column>
</createTable>
</changeSet>
<!--输出实体[MSG_TEMPLATE]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_template-101-3">
<createTable tableName="IBZMSGTEMPL">
<column name="TID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MSG_TEMPLATE_TID"/>
</column>
<column name="TEMPLATE_NAME" remarks="" type="VARCHAR(100)">
</column>
<column name="TEMPLATE_TYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="CONTENT" remarks="" type="VARCHAR(4000)">
</column>
<column name="TEMPLATE_ID" remarks="" type="VARCHAR(100)">
</column>
<column name="TEMPLATE_URL" remarks="" type="VARCHAR(1000)">
</column>
<column name="ACCESSID" remarks="" type="VARCHAR(100)">
</column>
<column name="ACCESSNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="OPEN_TYPE" remarks="" type="VARCHAR(100)">
</column>
</createTable>
</changeSet>
<!--输出实体[MSG_USER_ACCOUNT]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-msg_user_account-56-4">
<createTable tableName="IBZUSERAUTH">
<column name="AUTHID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_MSG_USER_ACCOUNT_AUTHID"/>
</column>
<column name="USERID" remarks="" type="VARCHAR(100)">
</column>
<column name="IDENTITY_TYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="IDENTIFIER" remarks="" type="VARCHAR(200)">
</column>
<column name="CREDENTIAL" remarks="" type="VARCHAR(500)">
</column>
</createTable>
</changeSet>
<!--输出实体[MSG_BODY]外键关系 -->
<!--输出实体[MSG_OPEN_ACCESS]外键关系 -->
<!--输出实体[MSG_TEMPLATE]外键关系 -->
<!--输出实体[MSG_USER_ACCOUNT]外键关系 -->
</databaseChangeLog>
!!!!模版产生代码错误:----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${dbinst.getUserName()} [in template "CODETEMPL_en_US" at line 28, column 24]
----
\ No newline at end of file
......@@ -4,8 +4,8 @@
],
"entities":[
{
"dename":"MsgOpenAccess",
"delogicname":"接入开放平台",
"dename":"MsgUserAccount",
"delogicname":"绑定消息账号",
"sysmoudle":{"id":"NOTIFY","name":"notify"},
"dedataset":[{"id":"Default" , "name":"DEFAULT"}],
"deaction":[{"id":"Create" , "name":"Create" , "type":"BUILTIN" },{"id":"Update" , "name":"Update" , "type":"BUILTIN" },{"id":"Remove" , "name":"Remove" , "type":"BUILTIN" },{"id":"Get" , "name":"Get" , "type":"BUILTIN" },{"id":"GetDraft" , "name":"GetDraft" , "type":"BUILTIN" },{"id":"CheckKey" , "name":"CheckKey" , "type":"BUILTIN" },{"id":"Save" , "name":"Save" , "type":"BUILTIN" }],
......@@ -20,8 +20,8 @@
"datascope":[{"id":"all","name":"全部数据"}]
}
, {
"dename":"MsgUserAccount",
"delogicname":"绑定消息账号",
"dename":"MsgOpenAccess",
"delogicname":"接入开放平台",
"sysmoudle":{"id":"NOTIFY","name":"notify"},
"dedataset":[{"id":"Default" , "name":"DEFAULT"}],
"deaction":[{"id":"Create" , "name":"Create" , "type":"BUILTIN" },{"id":"Update" , "name":"Update" , "type":"BUILTIN" },{"id":"Remove" , "name":"Remove" , "type":"BUILTIN" },{"id":"Get" , "name":"Get" , "type":"BUILTIN" },{"id":"GetDraft" , "name":"GetDraft" , "type":"BUILTIN" },{"id":"CheckKey" , "name":"CheckKey" , "type":"BUILTIN" },{"id":"Save" , "name":"Save" , "type":"BUILTIN" }],
......
......@@ -25,52 +25,44 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 属性 [TEMPLATEID]
*
*/
@JSONField(name = "template_id")
@JsonProperty("template_id")
private String templateId;
/**
* 属性 [MSGTYPE]
* 属性 [ISERROR]
*
*/
@JSONField(name = "msg_type")
@JsonProperty("msg_type")
private Integer msgType;
@JSONField(name = "is_error")
@JsonProperty("is_error")
private Integer isError;
/**
* 属性 [TOUSERS]
* 属性 [ISSEND]
*
*/
@JSONField(name = "to_users")
@JsonProperty("to_users")
private String toUsers;
@JSONField(name = "is_send")
@JsonProperty("is_send")
private Integer isSend;
/**
* 属性 [TEMPLPARAMS]
* 属性 [MSGID]
*
*/
@JSONField(name = "template_params")
@JsonProperty("template_params")
private String templateParams;
@JSONField(name = "msg_id")
@JsonProperty("msg_id")
private String msgId;
/**
* 属性 [ISSEND]
* 属性 [TOUSERS]
*
*/
@JSONField(name = "is_send")
@JsonProperty("is_send")
private Integer isSend;
@JSONField(name = "to_users")
@JsonProperty("to_users")
private String toUsers;
/**
* 属性 [ISERROR]
* 属性 [MSGLINK]
*
*/
@JSONField(name = "is_error")
@JsonProperty("is_error")
private Integer isError;
@JSONField(name = "msg_link")
@JsonProperty("msg_link")
private String msgLink;
/**
* 属性 [SUBJECT]
......@@ -89,28 +81,12 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
private String content;
/**
* 属性 [MSGLINK]
*
*/
@JSONField(name = "msg_link")
@JsonProperty("msg_link")
private String msgLink;
/**
* 属性 [USERDATA]
*
*/
@JSONField(name = "user_data")
@JsonProperty("user_data")
private String userData;
/**
* 属性 [MSGID]
* 属性 [MSGTYPE]
*
*/
@JSONField(name = "msg_id")
@JsonProperty("msg_id")
private String msgId;
@JSONField(name = "msg_type")
@JsonProperty("msg_type")
private Integer msgType;
/**
* 属性 [MSGNAME]
......@@ -120,6 +96,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JsonProperty("msg_name")
private String msgName;
/**
* 属性 [TEMPLATEID]
*
*/
@JSONField(name = "template_id")
@JsonProperty("template_id")
private String templateId;
/**
* 属性 [ERRORINFO]
*
......@@ -128,37 +112,29 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
@JsonProperty("error_info")
private String errorInfo;
/**
* 设置 [TEMPLATEID]
* 属性 [USERDATA]
*
*/
public void setTemplateId(String templateId){
this.templateId = templateId ;
this.modify("templateid",templateId);
}
@JSONField(name = "user_data")
@JsonProperty("user_data")
private String userData;
/**
* 设置 [MSGTYPE]
* 属性 [TEMPLPARAMS]
*
*/
public void setMsgType(Integer msgType){
this.msgType = msgType ;
this.modify("msgtype",msgType);
}
@JSONField(name = "template_params")
@JsonProperty("template_params")
private String templateParams;
/**
* 设置 [TOUSERS]
*/
public void setToUsers(String toUsers){
this.toUsers = toUsers ;
this.modify("tousers",toUsers);
}
/**
* 设置 [TEMPLPARAMS]
* 设置 [ISERROR]
*/
public void setTemplateParams(String templateParams){
this.templateParams = templateParams ;
this.modify("templparams",templateParams);
public void setIsError(Integer isError){
this.isError = isError ;
this.modify("iserror",isError);
}
/**
......@@ -170,11 +146,19 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
}
/**
* 设置 [ISERROR]
* 设置 [TOUSERS]
*/
public void setIsError(Integer isError){
this.isError = isError ;
this.modify("iserror",isError);
public void setToUsers(String toUsers){
this.toUsers = toUsers ;
this.modify("tousers",toUsers);
}
/**
* 设置 [MSGLINK]
*/
public void setMsgLink(String msgLink){
this.msgLink = msgLink ;
this.modify("msglink",msgLink);
}
/**
......@@ -194,19 +178,11 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
}
/**
* 设置 [MSGLINK]
*/
public void setMsgLink(String msgLink){
this.msgLink = msgLink ;
this.modify("msglink",msgLink);
}
/**
* 设置 [USERDATA]
* 设置 [MSGTYPE]
*/
public void setUserData(String userData){
this.userData = userData ;
this.modify("userdata",userData);
public void setMsgType(Integer msgType){
this.msgType = msgType ;
this.modify("msgtype",msgType);
}
/**
......@@ -217,6 +193,14 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
this.modify("msgname",msgName);
}
/**
* 设置 [TEMPLATEID]
*/
public void setTemplateId(String templateId){
this.templateId = templateId ;
this.modify("templateid",templateId);
}
/**
* 设置 [ERRORINFO]
*/
......@@ -225,6 +209,22 @@ public class MsgBodyDTO extends DTOBase implements Serializable {
this.modify("errorinfo",errorInfo);
}
/**
* 设置 [USERDATA]
*/
public void setUserData(String userData){
this.userData = userData ;
this.modify("userdata",userData);
}
/**
* 设置 [TEMPLPARAMS]
*/
public void setTemplateParams(String templateParams){
this.templateParams = templateParams ;
this.modify("templparams",templateParams);
}
}
......@@ -22,9 +22,9 @@ spring:
max-file-size: 100MB
max-request-size: 100MB
datasource:
username: a_A_5d9d78509
password: '@6dEfb3@'
url: jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
username: root
password: 'root'
url: jdbc:mysql://127.0.0.1:3306/ibznotify?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
driver-class-name: com.mysql.jdbc.Driver
filters: stat,wall,log4j2
#配置初始化大小/最小/最大
......@@ -45,7 +45,7 @@ spring:
pool-prepared-statements: false
max-pool-prepared-statement-per-connection-size: 20
isSyncDBSchema: false
defaultSchema: a_A_5d9d78509
defaultSchema: root
conf: classpath:liquibase/master.xml
#Mybatis-plus配置
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册