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

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

上级 a80eae11
...@@ -2,4 +2,12 @@ ...@@ -2,4 +2,12 @@
font-size: 18px; font-size: 18px;
font-weight: 700; font-weight: 700;
color: var(--app-color-black); color: var(--app-color-black);
&.app-caption--embed {
font-size: 14px;
height: 25px;
display: flex;
align-items: center;
padding-left: 7px;
border-left: 4px solid var(--app-color-blue);
}
} }
\ No newline at end of file
<template> <template>
<span class="app-caption">{{caption}}</span> <div :class="`app-caption app-caption--${openType.toLowerCase()}`">{{caption}}</div>
</template> </template>
<script lang='ts'> <script lang='ts'>
import { Vue, Component, Prop } from 'vue-property-decorator'; import { Vue, Component, Prop } from 'vue-property-decorator';
...@@ -8,12 +8,20 @@ import { Vue, Component, Prop } from 'vue-property-decorator'; ...@@ -8,12 +8,20 @@ import { Vue, Component, Prop } from 'vue-property-decorator';
export default class AppCaption extends Vue { export default class AppCaption extends Vue {
/** /**
* 按钮标题 * 视图标题
* *
* @type {string} * @type {string}
* @memberof AppButton * @memberof AppCaption
*/ */
@Prop() public caption?: string; @Prop() public caption?: string;
/**
* 打开方式
*
* @type {'ROUTE' | 'EMBED' | 'MODAL'}
* @memberof AppCaption
*/
@Prop({ default: 'ROUTE' }) public openType!: 'ROUTE' | 'EMBED' | 'MODAL';
} }
</script> </script>
<style lang="scss"> <style lang="scss">
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
:viewdata="viewdata" :viewdata="viewdata"
:viewparam="viewparam" :viewparam="viewparam"
:viewDefaultUsage="false" :viewDefaultUsage="false"
openType="EMBED"
@viewdataschange="setValue($event)" @viewdataschange="setValue($event)"
style="height:100%;"> style="height:100%;">
</component> </component>
......
.app-ey-upload { .app-ey-upload {
>.el-row {
display: flex;
flex-direction: column;
align-items: flex-start;
.app-ey-upload__item + .app-ey-upload__item {
margin-top: 10px;
}
}
.el-upload {
height: 34px;
width: 270px;
.el-button {
height: 100%;
width: 100%;
padding: 4px 10px;
border-radius: 0;
background-color: var(--app-color-white);
border: 1px solid var(--app-color-gray-235);
&:hover {
color: var(--app-color-blue);
}
span {
font-size: 12px;
line-height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
}
}
.app-ey-upload__item {
height: 34px;
display: flex;
align-items: center;
>div {
height: 100%;
}
}
.app-ey-upload__buttons {
width: 30px;
display: flex;
justify-content: center;
align-items: center;
img {
height: 20px;
width: 20px;
cursor: pointer;
}
}
.app-ey-upload__preview {
font-size: 12px;
line-height: 20px;
display: flex;
align-items: center;
gap: 30px;
.file-title {
color: var(--app-color-blue);
cursor: pointer;
}
.file-icon {
cursor: pointer;
display: flex;
align-items: center;
}
}
} }
\ No newline at end of file
<template> <template>
<div class="app-ey-upload">安永文件上传</div> <div class="app-ey-upload">
<el-row>
<el-col v-for="(item,index) in uploadFileList" :key="index" class="app-ey-upload__item app-ey-upload__preview">
<span class="file-title" @click="onDownload(item)">
<span>{{item.name}}</span>
</span>
<span class="file-version">
<span>文件版本号:v1.0</span>
</span>
<span class="file-size">
<span>文件大小:{{getFileSize(item.size)}}</span>
</span>
<span class="file-owner">
<span>文件上传人:Na Na Zhang</span>
</span>
<span class="file-time">
<span>文件上传时间:2022/10/31 18:49:12</span>
</span>
<div class="file-icon">
<img v-if="!buttonCount" src="assets/img/ey_switch.svg" @click="onRemove(item,index, true)">
<img v-else src="assets/img/remove_circle.svg" @click="onRemove(item,index)">
</div>
</el-col>
<el-col v-for="count in buttonCount" :key="count" class="app-ey-upload__item">
<el-upload
ref="upload"
list-type="text"
:disabled="disabled"
:action="getAction()"
:headers="myHeaders"
:file-list="uploadFileList"
:show-file-list="false"
:http-request="customUploadFile">
<el-button size="small" :disabled="disabled">
<img src="assets/img/ey_upload.svg">
文件上传
</el-button>
</el-upload>
<div class="app-ey-upload__buttons">
<img v-if="count === buttonCount" src="assets/img/ic_add_circle.svg" @click="buttonCount++">
<img v-else src="assets/img/remove_circle.svg" @click="buttonCount--">
</div>
</el-col>
</el-row>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
...@@ -194,6 +238,14 @@ export default class AppEYUpload extends Vue { ...@@ -194,6 +238,14 @@ export default class AppEYUpload extends Vue {
*/ */
public iframeUrl: any = ""; public iframeUrl: any = "";
/**
* 按钮数量
*
* @type {number}
* @memberof AppEYUpload
*/
public buttonCount: number = 1;
/** /**
* 关闭自定义弹框 * 关闭自定义弹框
* *
...@@ -207,6 +259,21 @@ export default class AppEYUpload extends Vue { ...@@ -207,6 +259,21 @@ export default class AppEYUpload extends Vue {
iframe.parentNode.removeChild("fileIframe"); iframe.parentNode.removeChild("fileIframe");
} }
/**
* 获取文件大小
*
* @memberof AppEYUpload
*/
public getFileSize(size: number) {
if (size < 1024) {
return `${size}Byte`;
} else if (size < 1024 * 1024) {
return `${size / 1024}KB`;
} else {
return `${size / 1024 / 1024}MB`;
}
}
/** /**
* 拼接上传路径 * 拼接上传路径
* *
...@@ -343,6 +410,7 @@ export default class AppEYUpload extends Vue { ...@@ -343,6 +410,7 @@ export default class AppEYUpload extends Vue {
if (this.isCreate == true) { if (this.isCreate == true) {
this.isUpdateBatch = true; this.isUpdateBatch = true;
} }
this.buttonCount--;
// 保存到文件列表进行显示 // 保存到文件列表进行显示
this.uploadFileList.push(response.data); this.uploadFileList.push(response.data);
// persistence=true时需要持久化表单属性 // persistence=true时需要持久化表单属性
...@@ -493,7 +561,7 @@ export default class AppEYUpload extends Vue { ...@@ -493,7 +561,7 @@ export default class AppEYUpload extends Vue {
* @param index * @param index
* @memberof AppEYUpload * @memberof AppEYUpload
*/ */
public onRemove(item: any, index: number) { public onRemove(item: any, index: number, isSwitch: boolean = false) {
let _this: any = this; let _this: any = this;
if (item) { if (item) {
MessageBox.confirm(_this.$t("components.diskFileUpload.deleteFile"), _this.$t("components.diskFileUpload.deleteFilePrompt"), { MessageBox.confirm(_this.$t("components.diskFileUpload.deleteFile"), _this.$t("components.diskFileUpload.deleteFilePrompt"), {
...@@ -511,6 +579,9 @@ export default class AppEYUpload extends Vue { ...@@ -511,6 +579,9 @@ export default class AppEYUpload extends Vue {
} }
// 从文件列表中删除 // 从文件列表中删除
this.uploadFileList.splice(index, 1); this.uploadFileList.splice(index, 1);
if (isSwitch) {
this.buttonCount++;
}
// persistence=true时需要持久化表单属性 // persistence=true时需要持久化表单属性
if (this.persistence == true) { if (this.persistence == true) {
const value = JSON.stringify(this.uploadFileList); const value = JSON.stringify(this.uploadFileList);
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
:viewDefaultUsage="false" :viewDefaultUsage="false"
:formDruipart="formDruipart" :formDruipart="formDruipart"
:isformDruipart="true" :isformDruipart="true"
openType="EMBED"
@mditemsload="mditemsload" @mditemsload="mditemsload"
@drdatasaved="drdatasaved" @drdatasaved="drdatasaved"
@drdatachange="drdatachange" @drdatachange="drdatachange"
......
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ 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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ 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; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ 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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; 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; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ 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; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -250,20 +250,18 @@ dataType="LONGTEXT" unitName="" :precision="0" ...@@ -250,20 +250,18 @@ dataType="LONGTEXT" unitName="" :precision="0"
</i-col> </i-col>
<i-col v-show="detailsModel.formitem2.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.formitem2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem2' :itemRules="this.rules().formitem2" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem2')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem2.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='formitem2' :itemRules="this.rules().formitem2" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem2')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem2.error" :isEmptyCaption="false" labelPos="LEFT">
<app-ey-upload <app-ey-upload
:limit="9999" :limit="9999"
:accept="'*'" :accept="'*'"
:formState="formState" :formState="formState"
:ignorefieldvaluechange="ignorefieldvaluechange" :ignorefieldvaluechange="ignorefieldvaluechange"
@formitemvaluechange="onFormItemValueChange"
:data="JSON.stringify(this.data)" :data="JSON.stringify(this.data)"
name='formitem2' name='formitem2'
:value="data.formitem2" :value="data.formitem2"
:disabled="detailsModel.formitem2.disabled" :disabled="detailsModel.formitem2.disabled"
:uploadparams='{}' :uploadparams='{}'
:exportparams='{}' :exportparams='{}'
:multiple='true' @formitemvaluechange="onFormItemValueChange">
style="overflow: auto;">
</app-ey-upload> </app-ey-upload>
</app-form-item> </app-form-item>
......
...@@ -12,30 +12,6 @@ ...@@ -12,30 +12,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -71,6 +47,30 @@ ...@@ -71,6 +47,30 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -20,18 +20,6 @@ ...@@ -20,18 +20,6 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -55,6 +43,18 @@ ...@@ -55,6 +43,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -1072,15 +1072,12 @@ ...@@ -1072,15 +1072,12 @@
"MINFILECNT" : "", "MINFILECNT" : "",
"MAXFILECNT" : "" "MAXFILECNT" : ""
}, },
"editorStyle" : "EY",
"editorType" : "FILEUPLOADER", "editorType" : "FILEUPLOADER",
"maxFileCount" : -1, "maxFileCount" : -1,
"maxFileSize" : -1, "maxFileSize" : -1,
"minFileCount" : 0, "minFileCount" : 0,
"name" : "formitem2", "name" : "formitem2"
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
......
...@@ -42,30 +42,6 @@ ...@@ -42,30 +42,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -101,6 +77,30 @@ ...@@ -101,6 +77,30 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -88,18 +88,6 @@ ...@@ -88,18 +88,6 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -123,6 +111,18 @@ ...@@ -123,6 +111,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -1201,15 +1201,12 @@ ...@@ -1201,15 +1201,12 @@
"MINFILECNT" : "", "MINFILECNT" : "",
"MAXFILECNT" : "" "MAXFILECNT" : ""
}, },
"editorStyle" : "EY",
"editorType" : "FILEUPLOADER", "editorType" : "FILEUPLOADER",
"maxFileCount" : -1, "maxFileCount" : -1,
"maxFileSize" : -1, "maxFileSize" : -1,
"minFileCount" : 0, "minFileCount" : 0,
"name" : "formitem2", "name" : "formitem2"
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
}
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
......
...@@ -2014,15 +2014,6 @@ ...@@ -2014,15 +2014,6 @@
"codeName" : "IBIZSample0016" "codeName" : "IBIZSample0016"
} ], } ],
"getAllPSAppEditorStyleRefs" : [ { "getAllPSAppEditorStyleRefs" : [ {
"containerType" : "FORMITEM",
"editorType" : "FILEUPLOADER",
"name" : "安永文件上传",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
},
"pluginCode" : "EYUpload"
}, {
"containerType" : "FORMITEM", "containerType" : "FORMITEM",
"editorType" : "SLIDER", "editorType" : "SLIDER",
"name" : "红色滑动条", "name" : "红色滑动条",
...@@ -2231,6 +2222,14 @@ ...@@ -2231,6 +2222,14 @@
"name" : "【单选】人员(指定单位内人员)", "name" : "【单选】人员(指定单位内人员)",
"rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EMPSELECT", "rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EMPSELECT",
"styleCode" : "EMPSELECT" "styleCode" : "EMPSELECT"
}, {
"codeName" : "EY",
"containerType" : "FORMITEM",
"editorType" : "FILEUPLOADER",
"mOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EY",
"name" : "安永文件上传",
"rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/EY",
"styleCode" : "EY"
}, { }, {
"codeName" : "HIDDEN", "codeName" : "HIDDEN",
"containerType" : "FORMITEM", "containerType" : "FORMITEM",
...@@ -5523,16 +5522,6 @@ ...@@ -5523,16 +5522,6 @@
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>", "templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>",
"templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});", "templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});",
"templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}" "templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}"
}, {
"name" : "安永文件上传",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
},
"pluginCode" : "EYUpload",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"refMode" : "EDITORSTYPE",
"templCode" : "<app-ey-upload\n :limit=\"<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>\"\n :accept=\"'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>'\"\n :formState=\"formState\"\n :ignorefieldvaluechange=\"ignorefieldvaluechange\"\n @formitemvaluechange=\"onFormItemValueChange\"\n :data=\"JSON.stringify(this.data)\"\n name='${editor.name}'\n :value=\"data.${editor.name}\"\n :disabled=\"detailsModel.${editor.name}.disabled\"\n :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'\n :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'\n :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'\n style=\"${editor.getEditorCssStyle()}overflow: auto;\">\n</app-ey-upload>"
}, { }, {
"name" : "工具栏测试插件", "name" : "工具栏测试插件",
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
...@@ -63,16 +63,6 @@ ...@@ -63,16 +63,6 @@
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>", "templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>",
"templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});", "templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});",
"templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}" "templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}"
}, {
"name" : "安永文件上传",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
},
"pluginCode" : "EYUpload",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"refMode" : "EDITORSTYPE",
"templCode" : "<app-ey-upload\n :limit=\"<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>\"\n :accept=\"'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>'\"\n :formState=\"formState\"\n :ignorefieldvaluechange=\"ignorefieldvaluechange\"\n @formitemvaluechange=\"onFormItemValueChange\"\n :data=\"JSON.stringify(this.data)\"\n name='${editor.name}'\n :value=\"data.${editor.name}\"\n :disabled=\"detailsModel.${editor.name}.disabled\"\n :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'\n :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'\n :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'\n style=\"${editor.getEditorCssStyle()}overflow: auto;\">\n</app-ey-upload>"
}, { }, {
"name" : "工具栏测试插件", "name" : "工具栏测试插件",
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
......
...@@ -1047,14 +1047,15 @@ ...@@ -1047,14 +1047,15 @@
"styleCode" : "MAPPOSITION", "styleCode" : "MAPPOSITION",
"replaceDefault" : false "replaceDefault" : false
}, { }, {
"codeName" : "EY",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/EY.json",
"editorHeight" : -1.0, "editorHeight" : -1.0,
"editorType" : "FILEUPLOADER", "editorType" : "FILEUPLOADER",
"editorWidth" : -1.0, "editorWidth" : -1.0,
"mOSFilePath" : "pssyseditorstyles/EY",
"name" : "安永文件上传", "name" : "安永文件上传",
"getPSSysPFPlugin" : { "rTMOSFilePath" : "pssyseditorstyles/EY",
"pluginType" : "EDITOR_CUSTOMSTYLE", "styleCode" : "EY",
"pluginCode" : "EYUpload"
},
"replaceDefault" : false "replaceDefault" : false
}, { }, {
"codeName" : "Auto10", "codeName" : "Auto10",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册