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

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

上级 83bcbc9e
<?xml version="1.0" encoding="UTF-8"?>
<svg width="8px" height="8px" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>错误</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据-文件上传完成" transform="translate(-701.000000, -283.000000)" fill-rule="nonzero">
<g id="编组-33" transform="translate(411.000000, 200.000000)">
<g id="编组-28" transform="translate(290.000000, 80.000000)">
<g id="错误" transform="translate(0.000000, 3.000000)">
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="8" height="8"></rect>
<path d="M5.32710539,3.99998149 L6.84507188,2.48212949 C6.94422436,2.38297944 6.99992781,2.24850193 6.99992781,2.10828119 C6.99992781,1.96806046 6.94422436,1.83358295 6.84507188,1.7344329 L6.26554524,1.15501641 C6.05908708,0.948614421 5.72441082,0.948614421 5.51795266,1.15501641 L4.00009363,2.67276095 L2.48201968,1.15480149 C2.38285492,1.05566372 2.24836879,1 2.1081474,1 C1.96792602,1 1.83345589,1.05574268 1.73431964,1.15490895 L1.15490046,1.73421799 C1.05572164,1.83335405 1,1.9678368 1,2.10806628 C1,2.24829576 1.05572164,2.3827785 1.15490046,2.48191457 L2.67286695,3.99987403 L1.15490046,5.51794095 C1.05572164,5.61707701 1,5.75155976 1,5.89178924 C1,6.03201871 1.05572164,6.16650146 1.15490046,6.26563753 L1.73431964,6.84526894 C1.94086374,7.05156469 2.27547557,7.05156469 2.48201968,6.84526894 L3.99998617,5.32720202 L5.5178452,6.84526894 C5.72442616,7.05157702 6.05907174,7.05157702 6.2656527,6.84526894 L6.84517934,6.26563753 C7.05160689,6.05910658 7.05160689,5.72436443 6.84517934,5.51783349 L5.32710539,3.99998149 Z" id="路径" fill="#E22D2D"></path>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="41px" height="46px" viewBox="0 0 41 46" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>导入</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据" transform="translate(-662.000000, -314.000000)" fill="#57A3FD" fill-rule="nonzero">
<g id="编组-20" transform="translate(411.000000, 200.000000)">
<g id="导入" transform="translate(251.000000, 114.000000)">
<path d="M28.0376544,3.76410323 L29.7766688,6.44368556 L13.239007,15.644894 L11.4999926,12.9647074 L28.0376544,3.76410323 Z M9.11219211,14.7380049 L12.3001824,14.7380049 L12.3001824,22.3302555 L9.11158406,20.5436659 L9.11219211,14.7380049 Z" id="形状"></path>
<path d="M0.00060804817,8.56257961 L21.8671937,19.2041768 L21.8671937,46 L0.00060804817,35.2816707 L0.00060804817,8.56257961 Z M2.27835205,12.0982991 L2.27835205,33.9010967 L19.5894497,42.3869442 L19.5894497,20.5841466 L2.277744,12.0982991 L2.27835205,12.0982991 Z" id="形状"></path>
<path d="M20.163446,0 L41,9.44953043 L21.7066692,19.2041768 L0,8.56257961 L20.163446,0 Z M20.1330436,2.44576083 L5.38912041,8.70758522 L21.69086,16.6992054 L35.8151834,9.55768043 L20.1336517,2.44636502 L20.1330436,2.44576083 Z" id="形状"></path>
<polygon id="路径" points="20.8207448 18.8332042 41 9.37884022 41 36.1746635 21.8671937 46"></polygon>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>链接</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据-文件上传完成" transform="translate(-443.000000, -470.000000)" fill-rule="nonzero">
<g id="编组-33" transform="translate(411.000000, 200.000000)">
<g id="编组-21" transform="translate(32.000000, 246.000000)">
<g id="编组-18" transform="translate(0.000000, 21.000000)">
<g id="链接" transform="translate(0.000000, 3.000000)">
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="12" height="12"></rect>
<path d="M11.1405,1.071 L10.99425,0.924 C10.18275,0.1125 8.86725,0.1125 8.05575,0.924 L4.0155,4.965 C3.20325,5.7765 3.20325,7.09125 4.0155,7.9035 L4.1625,8.04975 C4.18725,8.0745 4.212,8.09775 4.23825,8.121 L5.346,7.0125 C5.316,6.99525 5.28825,6.9735 5.26425,6.948 L5.1165,6.801 C4.91475,6.5985 4.91475,6.26925 5.1165,6.06675 L5.26425,5.919 L6.219,4.965 L7.641,3.543 L9.1575,2.0265 C9.36075,1.824 9.6885,1.824 9.89175,2.0265 L10.03875,2.1735 C10.242,2.376 10.242,2.70525 10.03875,2.90775 L8.856,4.0905 C9.27,4.5855 9.43425,5.211 9.3525,5.7975 L11.1405,4.0095 C11.95275,3.198 11.95275,1.8825 11.1405,1.071 Z M8.2035,4.0095 L8.055,3.8625 C8.031,3.8385 8.0055,3.8145 7.98,3.792 L6.873,4.89825 C6.90075,4.91775 6.92775,4.9395 6.95325,4.965 L7.0995,5.112 C7.30275,5.31375 7.30275,5.64375 7.0995,5.84625 L6.65925,6.28725 L5.99925,6.948 L4.57725,8.37 L3.06,9.8865 C2.8575,10.08975 2.5275,10.08975 2.32575,9.8865 L2.17875,9.74025 C1.97625,9.53775 1.97625,9.20775 2.17875,9.00525 L3.4305,7.75425 C3.009,7.29075 2.8125,6.70275 2.84625,6.13275 L1.07625,7.9035 C0.264,8.71425 0.264,10.0305 1.07625,10.84125 L1.22325,10.9875 C2.03475,11.799 3.35025,11.799 4.16175,10.9875 L8.20275,6.94725 C9.0135,6.1365 9.0135,4.821 8.2035,4.0095 Z" id="形状" fill="#57A3FD"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="8px" height="8px" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>对勾</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据-文件上传完成" transform="translate(-449.000000, -283.000000)" fill-rule="nonzero">
<g id="编组-33" transform="translate(411.000000, 200.000000)">
<g id="编组-27" transform="translate(38.000000, 80.000000)">
<g id="对勾" transform="translate(0.000000, 3.000000)">
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="8" height="8"></rect>
<path d="M3.30402372e-13,5.33257243 C3.30402372e-13,5.33257243 2.03169794,6.1761155 3.04160137,8 C4.25460894,5.74294272 6.58297755,3.63765154 7.27272727,3.48194744 C7.27272727,2.54788794 7.27272727,2.1637215 7.27272727,0.727272727 C4.49362734,2.55115723 3.15913288,5.90953621 3.15913288,5.90953621 L1.69706055,4.36364049 L3.30402372e-13,5.33257243 Z" id="路径" fill="#49C81F"></path>
<path d="M3.30402372e-13,5.33257243 C3.30402372e-13,5.33257243 2.03169794,6.1761155 3.04160137,8 C4.25460894,5.74294272 6.58297755,3.63765154 7.27272727,3.48194744 C7.27272727,2.54788794 7.27272727,2.1637215 7.27272727,0.727272727 C4.49362734,2.55115723 3.15913288,5.90953621 3.15913288,5.90953621 L1.69706055,4.36364049 L3.30402372e-13,5.33257243 Z" id="路径" fill="#49C81F"></path>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
// 导入视图样式
.app-data-upload-view{
font-family: "Microsoft YaHei";
.main-content{
height: 174px;
background: #FAFAFB;
border-radius: 4px;
border: 1px dashed #D7D7D7;
// 上传文件区域
.upload-container{
cursor: pointer;
height: 100%;
width: 100%;
text-align: center;
padding-top: 58px;
.icon-import{
display: block;
margin: 0 auto 17px;
}
.select-file-text{
height: 17px;
font-size: 12px;
color: #565656;
line-height: 17px;
}
}
// 信息展示容器
.data-info-container{
padding: 8px 10px 6px;
height: 100%;
padding: 16px;
.import-temp{
text-align: right;
vertical-align: middle;
color: #409EFF;
width: 100%;
// 进度条
.progress{
margin-bottom: 6px ;
.el-progress-bar__outer{
background-color: #FFFFFF;
}
.el-progress-bar__inner{
background-color: #D7E9FF;
}
}
.data-info-content{
.message-container{
height: 150px;
display: flex;
justify-content: space-between;
ul li{
list-style-type: none;
padding-left: 20px;
}
.result-list{
height: 100%;
width: 100%;
overflow: auto;
}
.font-class{
margin: 0px;
padding: 0px;
font-family: '微软雅黑','黑体','宋体';
font-size: 16px;
//成功信息区
.result-list{
ul .success-item{
background: url("~@/assets/img/icon-success.svg") no-repeat 5px 5px;
background-size: 10px 10px;
}
}
//错误信息区
.result-list{
ul .error-item{
background: url("~@/assets/img/icon-error.svg") no-repeat 5px 5px;
background-size: 10px 10px;
}
}
}
}
}
// 下载模板区
.second-content{
padding: 16px 12px 0;
margin-bottom: 30px;
.import-template-message{
font-size: 12px;
height: 17px;
color: #565656;
line-height: 17px;
}
.import-template{
.icon-link{
width: 12px;
margin-bottom: -1px;
margin-right: 3px;
}
height: 17px;
font-size: 12px;
color: #57A3FD;
line-height: 17px;
}
}
// 底部按钮
.button-container{
text-align: right;
margin: 15px;
.el-button{
margin: 0 0 0 8px;
padding: 3px 15px;
font-size: 12px;
line-height: 20px;
}
.primary-button{
color: #FFFFFF;
background-color: #57A3FD;
border-color: #57A3FD;
&:hover{
background: #66b1ff;
border-color: #66b1ff;
}
&:disabled{
color: var(--button-font-color-light);
border-color: var(--button-font-color-light);
background-color: var(--button-background-color-light);
}
}
}
}
//模态样式
.view-default.app-data-upload-modal{
.app-data-upload-view{
width: 100%;
height: 100%;
padding: 0 20px 24px 20px;
}
.ivu-modal-content .ivu-modal-body{
height: calc(100% - 58px);
}
// 模态标题
.ivu-modal-header{
padding: 16px;
border: 0;
.ivu-modal-header-inner{
color: #333333;
font-weight: 600;
height: 24px;
line-height: 24px;
}
}
// 关闭图标
.ivu-modal-close .ivu-icon-ios-close{
color: #999999;
font-weight: 600;
}
.progress {
margin-top: -15px;
}
\ No newline at end of file
}
\ No newline at end of file
......@@ -79,6 +79,11 @@ function getAppLocale(){
new: "གསར་འཛུགས།",
add: "སྣོན་པ་",
},
grid: {
exportexcel: {
error: 'ཕྱིར་འདྲེན་ཕམ་པ།'
}
},
gridpage: {
choicecolumns: "གདམ་གསེས་གཞུང་སྟར།",
refresh: "གསར་འདོན་",
......
......@@ -79,6 +79,11 @@ function getAppLocale(){
new: "New",
add: "Add",
},
grid: {
exportexcel: {
error: 'Export Failed'
}
},
gridpage: {
choicecolumns: "Choice columns",
refresh: "refresh",
......
......@@ -79,6 +79,11 @@ function getAppLocale(){
new: "新建",
add: "增加",
},
grid: {
exportexcel: {
error: '导出失败'
}
},
gridpage: {
choicecolumns: "选择列",
refresh: "刷新",
......
......@@ -40,17 +40,25 @@ function getLocaleResourceBase(){
global: 'ཁྱོན་ཡོངས།',
},
appDataUploadView: {
"viewtitle":"ཉེར་སྤྱོད་གཞི་གྲངས་ནང་འདྲེན་མཐོང་རིས་",
"selectfile":"ཡིག་ཆ་འདེམས་པ་",
"uploadserver":"ཡར་བསྐུར་ཞབས་ཞུ་ཆས་།",
"datatemplate":"ཕབ་ལེན་ནང་འདྲེན་གཞི་གྲངས་དཔེ་པང་།",
"dataid":"གཞི་གྲངས་ཀྱི་མཚོན་རྟགས་",
"selectfile":"ས་ཁོངས་དེ་མནན་ན་ཡར་བསྐུར་།",
"uploadserver":"ཡར་སྤྲོད་གཞི་གྲངས་",
"datatemplate":"ནང་འདྲེན་གཞི་གྲངས་དཔེ་པང་",
"read":"ཀློག་ལེན་གྲུབ་འབྲས་ཐོབ་པའི་ངང་",
"importing":"ནང་འདྲེན་བྱེད་བཞིན་ཡོད།",
"completed":"ནང་འདྲེན་ལེགས་སྒྲུབ་",
"confirm":"ངོས་འཛིན་",
"datatemp":"ནང་འདྲེན་གཞི་གྲངས་དཔེ་པང་",
"importfailed":"ནང་འདྲེན་ཕམ་པ།"
"importfailed":"ནང་འདྲེན་ཕམ་པ།",
"datatemplatemessage":"དཔེ་གཟུགས་ཕབ་ལེན་དང་ནང་འཇུག་བྱེད་པ་མ་ཟད།རེ་བ་ལྟར་འབྲི་དགོས།",
"cancel":"མེད་པར་བཟོ་བ་",
"selectfilesucess":"ཡིག་ཆ་བདམས་ནས་གྲུབ་འབྲས་ཐོབ་པའི་ངང་།",
"importresult":"ནང་འདྲེན་འབྲས་བུ་",
"totaldata": "སྡོམ་པས་ནང་འདྲེན་གཞི་གྲངས།",
"total": "ལྕུག་མ།",
"errorinfo": "ནོར་འཁྲུལ་ཆ་འཕྲིན།",
"start": "དོན་ཚན་དང་པོ།",
"row": "ཕྲེང་",
"downloadinfo": "ལྡོག་སྐྱེལ་ཆ་འཕྲིན་ཕབ་ལེན་",
"downloaderror": "ཡིག་ཆ་ཕབ་ལེན་ཕམ་།"
},
appDebugActions:{
button: 'ཁ་འབྱེད་སྡེབ་སྒྲིག་རྣམ་པ་',
......
......@@ -40,17 +40,24 @@ function getLocaleResourceBase(){
global: 'Global',
},
appDataUploadView: {
"viewtitle":"AppDataUploadView",
"selectfile":"Select File",
"selectfile":"Click this area to upload",
"uploadserver":"Upload Server",
"datatemplate":"Download Import Data Template",
"dataid":"Data ID is ",
"datatemplate":"Import Data Template",
"datatemplatemessage":"Download the Import Data Template, According to the specification required to fill in",
"read":" read Successful",
"importing":"Importing",
"completed":"Import Completed",
"confirm":"OK",
"datatemp":"Data Template",
"importfailed":"Import Failed"
"cancel":"Cancel",
"importfailed":"Import Failed",
"selectfilesucess":"File selected successfully",
"importresult":"Import Result",
"totaldata": "Total Imported Data",
"total": "Count",
"errorinfo": "Error Message",
"start": "Line",
"row": "",
"downloadinfo": "Download The Feedback",
"downloaderror": "Failed To Download File"
},
appDebugActions: {
button: 'Open Configuration Mode',
......
......@@ -40,17 +40,24 @@ function getLocaleResourceBase(){
global: '全局',
},
appDataUploadView: {
"viewtitle":"应用数据导入视图",
"selectfile":"选取文件",
"uploadserver":"上传服务器",
"datatemplate":"下载导入数据模板",
"dataid":"数据标识为",
"selectfile":"单击此区域进行上传",
"uploadserver":"上传数据",
"datatemplate":"导入数据模板",
"datatemplatemessage":"下载导入模版,并按要求填写:",
"read":"读取成功",
"importing":"导入中",
"completed":"导入完成",
"confirm":"确认",
"datatemp":"导入数据模板",
"importfailed":"导入失败"
"cancel":"取消",
"importfailed":"导入失败",
"selectfilesucess":"选取文件成功",
"importresult":"导入结果",
"totaldata": "共计导入数据",
"total": "条",
"errorinfo": "错误信息",
"start": "第",
"row": "行",
"downloadinfo": "下载反馈信息",
"downloaderror": "下载文件失败"
},
appDebugActions:{
button: '开启配置模式',
......
......@@ -336,12 +336,12 @@ export default class IBIZBOOKUIServiceBase extends UIService {
delete context.srfparentkey;
}
}
const container: Subject<any> = actionContext.$appmodal.openModal(view, context, {
const container: Subject<any> = actionContext.$appmodal.openModal(view, context, Object.assign({
importId: 'DataImport',
serviceName: 'IBIZBOOK',
appDeLogicName: '图书',
ignoreError: false
});
}, tempViewParam));
container.subscribe((result: any) => {
if (Object.is(result.ret, 'OK')) {
actionContext.refresh(result.datas);
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,11 +70,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase
* @memberof IBIZOrderSF1GridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -462,6 +462,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -996,7 +1010,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1125,7 +1139,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1239,7 +1253,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2170,7 +2184,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2179,7 +2193,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2255,7 +2269,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -105,6 +105,21 @@ export default class MainModel {
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -11,21 +11,21 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -41,21 +41,21 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -19,11 +19,11 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -39,11 +39,11 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -34,21 +34,21 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -64,21 +64,21 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -75,11 +75,11 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -95,11 +95,11 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"dataItemName" : "author",
"name" : "author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册