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

ibizdev提交

上级 35d9fa5c
...@@ -31,7 +31,19 @@ export default class AppFormatData extends Vue { ...@@ -31,7 +31,19 @@ export default class AppFormatData extends Vue {
* @memberof AppFormatData * @memberof AppFormatData
*/ */
getcurValue(){ getcurValue(){
return moment(this.data).format(this.format); if(this.data){
if(this.format){
if(this.format.indexOf('%1$t') !== -1){
return moment(this.data).format("YYYY-MM-DD HH:mm:ss");
}else{
return moment(this.data).format(this.format);
}
}else{
return this.data;
}
}else{
return "";
}
} }
} }
......
...@@ -35,13 +35,13 @@ import { Environment } from '@/environments/environment'; ...@@ -35,13 +35,13 @@ import { Environment } from '@/environments/environment';
import { Subject, Unsubscribable } from 'rxjs'; import { Subject, Unsubscribable } from 'rxjs';
@Component({}) @Component({})
export default class AppImageUpload extends Vue { export default class AppImagePreview extends Vue {
/** /**
* 表单状态 * 表单状态
* *
* @type {Subject<any>} * @type {Subject<any>}
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
@Prop() public formState?: Subject<any> @Prop() public formState?: Subject<any>
...@@ -51,7 +51,7 @@ export default class AppImageUpload extends Vue { ...@@ -51,7 +51,7 @@ export default class AppImageUpload extends Vue {
* *
* @private * @private
* @type {(Unsubscribable | undefined)} * @type {(Unsubscribable | undefined)}
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
private formStateEvent: Unsubscribable | undefined; private formStateEvent: Unsubscribable | undefined;
...@@ -59,7 +59,7 @@ export default class AppImageUpload extends Vue { ...@@ -59,7 +59,7 @@ export default class AppImageUpload extends Vue {
* 初始化值 * 初始化值
* *
* @type {*} * @type {*}
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
@Prop() public value?: any; @Prop() public value?: any;
...@@ -69,7 +69,7 @@ export default class AppImageUpload extends Vue { ...@@ -69,7 +69,7 @@ export default class AppImageUpload extends Vue {
* @param {*} newval * @param {*} newval
* @param {*} val * @param {*} val
* @returns * @returns
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
@Watch('value') @Watch('value')
onValueChange(newval: any, val: any) { onValueChange(newval: any, val: any) {
...@@ -80,28 +80,28 @@ export default class AppImageUpload extends Vue { ...@@ -80,28 +80,28 @@ export default class AppImageUpload extends Vue {
* 所属表单项名称 * 所属表单项名称
* *
* @type {string} * @type {string}
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
@Prop() public name!: string; @Prop() public name!: string;
/** /**
* 上传文件路径 * 上传文件路径
* *
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public uploadUrl = Environment.BaseUrl + Environment.UploadFile; public uploadUrl = Environment.BaseUrl + Environment.UploadFile;
/** /**
* 下载文件路径 * 下载文件路径
* *
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public downloadUrl = Environment.BaseUrl + Environment.ExportFile; public downloadUrl = Environment.BaseUrl + Environment.ExportFile;
/** /**
* 文件列表 * 文件列表
* *
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
@Provide() public files = []; @Provide() public files = [];
...@@ -109,7 +109,7 @@ export default class AppImageUpload extends Vue { ...@@ -109,7 +109,7 @@ export default class AppImageUpload extends Vue {
* 设置files * 设置files
* *
* @private * @private
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
private setFiles(value:any): void { private setFiles(value:any): void {
let _files = JSON.parse(value); let _files = JSON.parse(value);
...@@ -127,7 +127,7 @@ export default class AppImageUpload extends Vue { ...@@ -127,7 +127,7 @@ export default class AppImageUpload extends Vue {
/** /**
* vue 生命周期 * vue 生命周期
* *
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public created() { public created() {
if (this.formState) { if (this.formState) {
...@@ -143,7 +143,7 @@ export default class AppImageUpload extends Vue { ...@@ -143,7 +143,7 @@ export default class AppImageUpload extends Vue {
/** /**
* vue 生命周期 * vue 生命周期
* *
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public mounted() { public mounted() {
this.setFiles(this.value); this.setFiles(this.value);
...@@ -152,7 +152,7 @@ export default class AppImageUpload extends Vue { ...@@ -152,7 +152,7 @@ export default class AppImageUpload extends Vue {
/** /**
* 组件销毁 * 组件销毁
* *
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public destroyed(): void { public destroyed(): void {
if (this.formStateEvent) { if (this.formStateEvent) {
...@@ -164,7 +164,7 @@ export default class AppImageUpload extends Vue { ...@@ -164,7 +164,7 @@ export default class AppImageUpload extends Vue {
* 下载文件 * 下载文件
* *
* @param {*} file * @param {*} file
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public onDownload(file: any) { public onDownload(file: any) {
window.open(file.url); window.open(file.url);
...@@ -174,7 +174,7 @@ export default class AppImageUpload extends Vue { ...@@ -174,7 +174,7 @@ export default class AppImageUpload extends Vue {
* 预览图片地址 * 预览图片地址
* *
* @type {string} * @type {string}
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public dialogImageUrl: string = ''; public dialogImageUrl: string = '';
...@@ -182,7 +182,7 @@ export default class AppImageUpload extends Vue { ...@@ -182,7 +182,7 @@ export default class AppImageUpload extends Vue {
* 是否显示预览界面 * 是否显示预览界面
* *
* @type {boolean} * @type {boolean}
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public dialogVisible: boolean = false; public dialogVisible: boolean = false;
...@@ -190,7 +190,7 @@ export default class AppImageUpload extends Vue { ...@@ -190,7 +190,7 @@ export default class AppImageUpload extends Vue {
* 预览 * 预览
* *
* @param {*} file * @param {*} file
* @memberof AppImageUpload * @memberof AppImagePreview
*/ */
public onPreview(file: any) { public onPreview(file: any) {
this.dialogImageUrl = file.url; this.dialogImageUrl = file.url;
......
<template> <template>
<div class="app-range-editor"> <div class="app-range-editor">
<template v-for="(item, index) in refFormItem"> <template v-for="(item, index) in refFormItem">
<span v-if="index > 0" class="editor-space" :key="index">~</span> <span v-if="index > 0" class="editor-space" :key="index+10">~</span>
<date-picker <date-picker
:key="index" :key="index"
v-if="Object.is(editorType, 'DATEPICKEREX') || Object.is(editorType, 'DATEPICKEREX_NOTIME')" v-if="Object.is(editorType, 'DATEPICKEREX') || Object.is(editorType, 'DATEPICKEREX_NOTIME')"
......
...@@ -5,6 +5,12 @@ import codelist_en_US from '@locale/lanres/codelist/codelist_en_US'; ...@@ -5,6 +5,12 @@ import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
export default { export default {
app: { app: {
commonWords:{
error: 'Error',
success: 'Success',
ok: 'OK',
cancel: 'Cancel',
},
gridpage: { gridpage: {
choicecolumns: 'Choice columns', choicecolumns: 'Choice columns',
refresh: 'refresh', refresh: 'refresh',
...@@ -32,7 +38,9 @@ export default { ...@@ -32,7 +38,9 @@ export default {
month: 'month', month: 'month',
week: 'week', week: 'week',
day: 'day', day: 'day',
list: 'list' list: 'list',
dateSelectModalTitle: 'select the time you wanted',
gotoDate: 'goto',
}, },
// 非实体视图 // 非实体视图
views: { views: {
......
...@@ -5,6 +5,12 @@ import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN'; ...@@ -5,6 +5,12 @@ import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
export default { export default {
app: { app: {
commonWords:{
error: '失败',
success: '成功',
ok: '确认',
cancel: '取消',
},
gridpage: { gridpage: {
choicecolumns: '选择列', choicecolumns: '选择列',
refresh: '刷新', refresh: '刷新',
...@@ -32,7 +38,9 @@ export default { ...@@ -32,7 +38,9 @@ export default {
month: '月', month: '月',
week: '周', week: '周',
day: '天', day: '天',
list: '列' list: '列',
dateSelectModalTitle: '选择要跳转的时间',
gotoDate: '跳转',
}, },
// 非实体视图 // 非实体视图
views: { views: {
......
...@@ -1069,16 +1069,12 @@ export default class IBZDictEditViewBase extends Vue { ...@@ -1069,16 +1069,12 @@ export default class IBZDictEditViewBase extends Vue {
* @memberof IBZDictEditViewBase * @memberof IBZDictEditViewBase
*/ */
protected SaveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { protected SaveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
// _this 指向容器对象
// xData 数据对象
const _this: any = this; const _this: any = this;
if (xData && xData.saveAndExit instanceof Function) { if (xData && xData.saveAndExit instanceof Function) {
xData.saveAndExit().then((response: any) => { xData.saveAndExit().then((response: any) => {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
_this.$emit('viewdataschange', null);
return; return;
} }
_this.$emit('viewdataschange', [{ ...response.data }]);
if(window.parent){ if(window.parent){
window.parent.postMessage([{ ...response.data }],'*'); window.parent.postMessage([{ ...response.data }],'*');
} }
...@@ -1088,7 +1084,6 @@ export default class IBZDictEditViewBase extends Vue { ...@@ -1088,7 +1084,6 @@ export default class IBZDictEditViewBase extends Vue {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
return; return;
} }
_this.$emit('closeview', [{ ...response.data }]);
if(window.parent){ if(window.parent){
window.parent.postMessage([{ ...response.data }],'*'); window.parent.postMessage([{ ...response.data }],'*');
} }
...@@ -1108,19 +1103,25 @@ export default class IBZDictEditViewBase extends Vue { ...@@ -1108,19 +1103,25 @@ export default class IBZDictEditViewBase extends Vue {
*/ */
protected RemoveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { protected RemoveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
if (!xData || !(xData.removeAndExit instanceof Function)) { if (xData && xData.removeAndExit instanceof Function) {
return ; xData.removeAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} else if (_this.removeAndExit && _this.removeAndExit instanceof Function) {
_this.removeAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} }
xData.removeAndExit(args).then((response: any) => {
if (!response || response.status !== 200) {
_this.$emit('viewdataschange', JSON.stringify({status:'error',action:'removeAndExit'}));
return ;
}
_this.$emit('viewdataschange', JSON.stringify({status:'success',action:'removeAndExit',data:response.data}));
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} }
/** /**
* 开始流程 * 开始流程
......
...@@ -1069,16 +1069,12 @@ export default class IBZDictItemEditViewBase extends Vue { ...@@ -1069,16 +1069,12 @@ export default class IBZDictItemEditViewBase extends Vue {
* @memberof IBZDictItemEditViewBase * @memberof IBZDictItemEditViewBase
*/ */
protected SaveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { protected SaveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
// _this 指向容器对象
// xData 数据对象
const _this: any = this; const _this: any = this;
if (xData && xData.saveAndExit instanceof Function) { if (xData && xData.saveAndExit instanceof Function) {
xData.saveAndExit().then((response: any) => { xData.saveAndExit().then((response: any) => {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
_this.$emit('viewdataschange', null);
return; return;
} }
_this.$emit('viewdataschange', [{ ...response.data }]);
if(window.parent){ if(window.parent){
window.parent.postMessage([{ ...response.data }],'*'); window.parent.postMessage([{ ...response.data }],'*');
} }
...@@ -1088,7 +1084,6 @@ export default class IBZDictItemEditViewBase extends Vue { ...@@ -1088,7 +1084,6 @@ export default class IBZDictItemEditViewBase extends Vue {
if (!response || response.status !== 200) { if (!response || response.status !== 200) {
return; return;
} }
_this.$emit('closeview', [{ ...response.data }]);
if(window.parent){ if(window.parent){
window.parent.postMessage([{ ...response.data }],'*'); window.parent.postMessage([{ ...response.data }],'*');
} }
...@@ -1108,19 +1103,25 @@ export default class IBZDictItemEditViewBase extends Vue { ...@@ -1108,19 +1103,25 @@ export default class IBZDictItemEditViewBase extends Vue {
*/ */
protected RemoveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { protected RemoveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
if (!xData || !(xData.removeAndExit instanceof Function)) { if (xData && xData.removeAndExit instanceof Function) {
return ; xData.removeAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} else if (_this.removeAndExit && _this.removeAndExit instanceof Function) {
_this.removeAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} }
xData.removeAndExit(args).then((response: any) => {
if (!response || response.status !== 200) {
_this.$emit('viewdataschange', JSON.stringify({status:'error',action:'removeAndExit'}));
return ;
}
_this.$emit('viewdataschange', JSON.stringify({status:'success',action:'removeAndExit',data:response.data}));
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} }
/** /**
* 开始流程 * 开始流程
......
...@@ -201,12 +201,12 @@ export default class AppIndexViewBase extends Vue implements ControlInterface { ...@@ -201,12 +201,12 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
/** /**
* 关闭视图 * 关闭视图
* *
* @param {any[]} args * @param {any} args
* @memberof AppIndexView * @memberof AppIndexView
*/ */
protected closeView(args: any[]): void { protected closeView(args: any): void {
let _this: any = this; let _this: any = this;
_this.$emit('closeview', args); _this.$emit('closeview', [args]);
} }
/** /**
......
...@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
/** /**
* 关闭视图 * 关闭视图
* *
* @param {any[]} args * @param {any} args
* @memberof Default * @memberof Default
*/ */
protected closeView(args: any[]): void { protected closeView(args: any): void {
let _this: any = this; let _this: any = this;
_this.$emit('closeview', args); _this.$emit('closeview', [args]);
} }
/** /**
......
...@@ -8,40 +8,16 @@ ...@@ -8,40 +8,16 @@
<row> <row>
<i-col v-show="detailsModel.ibzdictid.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }"> <i-col v-show="detailsModel.ibzdictid.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='ibzdictid' :itemRules="this.rules.ibzdictid" class='' :caption="$t('ibzdict.main_form.details.ibzdictid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibzdictid.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.ibzdictid" @enter="onEnter($event)" unit="" :disabled="detailsModel.ibzdictid.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
<i-col v-show="detailsModel.ibzdictname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }"> <i-col v-show="detailsModel.ibzdictname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='ibzdictname' :itemRules="this.rules.ibzdictname" class='' :caption="$t('ibzdict.main_form.details.ibzdictname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibzdictname.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.ibzdictname" @enter="onEnter($event)" unit="" :disabled="detailsModel.ibzdictname.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
</row> </row>
...@@ -156,12 +132,12 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -156,12 +132,12 @@ export default class MainBase extends Vue implements ControlInterface {
/** /**
* 关闭视图 * 关闭视图
* *
* @param {any[]} args * @param {any} args
* @memberof Main * @memberof Main
*/ */
protected closeView(args: any[]): void { protected closeView(args: any): void {
let _this: any = this; let _this: any = this;
_this.$emit('closeview', args); _this.$emit('closeview', [args]);
} }
/** /**
......
...@@ -177,12 +177,12 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -177,12 +177,12 @@ export default class MainBase extends Vue implements ControlInterface {
/** /**
* 关闭视图 * 关闭视图
* *
* @param {any[]} args * @param {any} args
* @memberof Main * @memberof Main
*/ */
protected closeView(args: any[]): void { protected closeView(args: any): void {
let _this: any = this; let _this: any = this;
_this.$emit('closeview', args); _this.$emit('closeview', [args]);
} }
/** /**
......
...@@ -18,6 +18,13 @@ ...@@ -18,6 +18,13 @@
background : #ededed !important; background : #ededed !important;
border-radius: 10px !important; border-radius: 10px !important;
} }
/*表头过长省略*/
.el-table th>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table { .el-table {
.el-tooltip{ .el-tooltip{
.ivu-form-item{ .ivu-form-item{
......
...@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -127,12 +127,12 @@ export default class DefaultBase extends Vue implements ControlInterface {
/** /**
* 关闭视图 * 关闭视图
* *
* @param {any[]} args * @param {any} args
* @memberof Default * @memberof Default
*/ */
protected closeView(args: any[]): void { protected closeView(args: any): void {
let _this: any = this; let _this: any = this;
_this.$emit('closeview', args); _this.$emit('closeview', [args]);
} }
/** /**
......
...@@ -8,130 +8,46 @@ ...@@ -8,130 +8,46 @@
<row> <row>
<i-col v-show="detailsModel.ibzdictitemname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.ibzdictitemname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='ibzdictitemname' :itemRules="this.rules.ibzdictitemname" class='' :caption="$t('ibzdictitem.main_form.details.ibzdictitemname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.ibzdictitemname.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.ibzdictitemname" @enter="onEnter($event)" unit="" :disabled="detailsModel.ibzdictitemname.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
<i-col v-show="detailsModel.dictitemval.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.dictitemval.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='dictitemval' :itemRules="this.rules.dictitemval" class='' :caption="$t('ibzdictitem.main_form.details.dictitemval')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.dictitemval.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.dictitemval" @enter="onEnter($event)" unit="" :disabled="detailsModel.dictitemval.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
<i-col v-show="detailsModel.pitemval.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.pitemval.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='pitemval' :itemRules="this.rules.pitemval" class='' :caption="$t('ibzdictitem.main_form.details.pitemval')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.pitemval.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.pitemval" @enter="onEnter($event)" unit="" :disabled="detailsModel.pitemval.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
<i-col v-show="detailsModel.itemfilter.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.itemfilter.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='itemfilter' :itemRules="this.rules.itemfilter" class='' :caption="$t('ibzdictitem.main_form.details.itemfilter')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.itemfilter.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.itemfilter" @enter="onEnter($event)" unit="" :disabled="detailsModel.itemfilter.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
<i-col v-show="detailsModel.itemcls.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.itemcls.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='itemcls' :itemRules="this.rules.itemcls" class='' :caption="$t('ibzdictitem.main_form.details.itemcls')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.itemcls.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.itemcls" @enter="onEnter($event)" unit="" :disabled="detailsModel.itemcls.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
<i-col v-show="detailsModel.itemicon.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.itemicon.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='itemicon' :itemRules="this.rules.itemicon" class='' :caption="$t('ibzdictitem.main_form.details.itemicon')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.itemicon.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.itemicon" @enter="onEnter($event)" unit="" :disabled="detailsModel.itemicon.disabled" type='text' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
<i-col v-show="detailsModel.showorder.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.showorder.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
!!!!模版产生代码错误:Syntax error in template "TEMPLCODE_zh_CN" in line 9, column 435: <app-form-item name='showorder' :itemRules="this.rules.showorder" class='' :caption="$t('ibzdictitem.main_form.details.showorder')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.showorder.error" :isEmptyCaption="false" labelPos="LEFT">
Encountered "=", but was expecting one of: <input-box v-model="data.showorder" @enter="onEnter($event)" unit="" :disabled="detailsModel.showorder.disabled" type='number' style=""></input-box>
<STRING_LITERAL> </app-form-item>
<RAW_STRING>
"false"
"true"
<INTEGER>
<DECIMAL>
"."
"+"
"-"
"!"
"["
"("
"{"
<ID>
</i-col> </i-col>
</row> </row>
...@@ -246,12 +162,12 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -246,12 +162,12 @@ export default class MainBase extends Vue implements ControlInterface {
/** /**
* 关闭视图 * 关闭视图
* *
* @param {any[]} args * @param {any} args
* @memberof Main * @memberof Main
*/ */
protected closeView(args: any[]): void { protected closeView(args: any): void {
let _this: any = this; let _this: any = this;
_this.$emit('closeview', args); _this.$emit('closeview', [args]);
} }
/** /**
......
...@@ -212,12 +212,12 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -212,12 +212,12 @@ export default class MainBase extends Vue implements ControlInterface {
/** /**
* 关闭视图 * 关闭视图
* *
* @param {any[]} args * @param {any} args
* @memberof Main * @memberof Main
*/ */
protected closeView(args: any[]): void { protected closeView(args: any): void {
let _this: any = this; let _this: any = this;
_this.$emit('closeview', args); _this.$emit('closeview', [args]);
} }
/** /**
......
...@@ -18,6 +18,13 @@ ...@@ -18,6 +18,13 @@
background : #ededed !important; background : #ededed !important;
border-radius: 10px !important; border-radius: 10px !important;
} }
/*表头过长省略*/
.el-table th>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table { .el-table {
.el-tooltip{ .el-tooltip{
.ivu-form-item{ .ivu-form-item{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册