Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-Mob-R7
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-Mob-R7
提交
679d6ea6
提交
679d6ea6
编写于
5月 29, 2020
作者:
KK
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提示多语言
上级
01d44420
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
39 行增加
和
17 行删除
+39
-17
CONTROL-BASE.vue.ftl
@CONTROL/日历部件/CONTROL-BASE.vue.ftl
+5
-5
CONTROL-BASE.vue.ftl
@CONTROL/移动端多项数据控件/CONTROL-BASE.vue.ftl
+5
-5
CONTROL-BASE.vue.ftl
@CONTROL/移动端数据视图控件/CONTROL-BASE.vue.ftl
+5
-5
CONTROL-BASE.vue.ftl
@CONTROL/表单/CONTROL-BASE.vue.ftl
+2
-2
en-US.ts.ftl
APP/src/locale/lang/en-US.ts.ftl
+11
-0
zh-CN.ts.ftl
APP/src/locale/lang/zh-CN.ts.ftl
+11
-0
未找到文件。
@CONTROL/日历部件/CONTROL-BASE.vue.ftl
浏览文件 @
679d6ea6
...
@@ -309,16 +309,16 @@ import moment from 'moment';
...
@@ -309,16 +309,16 @@ import moment from 'moment';
});
});
if (datas.length < 5) {
if (datas.length < 5) {
infoStr = infoStr +
' 共' + datas.length + '条数据'
;
infoStr = infoStr +
this.$t('app.message.totle') + datas.length + this.$t('app.message.data')
;
} else {
} else {
infoStr = infoStr + '...' +
' 共' + datas.length + '条数据'
;
infoStr = infoStr + '...' +
this.$t('app.message.totle') + datas.length + this.$t('app.message.data')
;
}
}
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
const _remove = async () => {
const _remove = async () => {
let _context: any = { [appde]: keys.join(';') }
let _context: any = { [appde]: keys.join(';') }
const response: any = await this.service.delete(this.activeItem, { ...this.context, ..._context }, arg, this.showBusyIndicator);
const response: any = await this.service.delete(this.activeItem, { ...this.context, ..._context }, arg, this.showBusyIndicator);
if (response && response.status === 200) {
if (response && response.status === 200) {
this.$notice.success(
'删除成功'
);
this.$notice.success(
this.$t('app.message.deleteSccess')
);
this.formatData(this.currentDate);
this.formatData(this.currentDate);
resolve(response);
resolve(response);
} else {
} else {
...
@@ -329,8 +329,8 @@ import moment from 'moment';
...
@@ -329,8 +329,8 @@ import moment from 'moment';
}
}
this.$dialog.confirm({
this.$dialog.confirm({
title:
'警告'
,
title:
this.$t('app.message.warning')
,
message:
'确认要删除 ' + infoStr + ',删除操作将不可恢复
?',
message:
this.$t('app.message.confirmToDelete') + infoStr +','+ this.$t('app.message.unrecoverable') + '
?',
}).then(() => {
}).then(() => {
_remove();
_remove();
}).catch(() => {
}).catch(() => {
...
...
@CONTROL/移动端多项数据控件/CONTROL-BASE.vue.ftl
浏览文件 @
679d6ea6
...
@@ -364,16 +364,16 @@
...
@@ -364,16 +364,16 @@
});
});
if (datas.length < 5) {
if (datas.length < 5) {
infoStr = infoStr +
' 共' + datas.length + '条数据'
;
infoStr = infoStr +
this.$t('app.message.totle') + datas.length + this.$t('app.message.data')
;
} else {
} else {
infoStr = infoStr + '...' +
' 共' + datas.length + '条数据'
;
infoStr = infoStr + '...' +
this.$t('app.message.totle') + datas.length + this.$t('app.message.data')
;
}
}
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
const _remove = async () => {
const _remove = async () => {
let _context: any = { ${appde.getCodeName()?lower_case}: keys.join(';') }
let _context: any = { ${appde.getCodeName()?lower_case}: keys.join(';') }
const response: any = await this.service.delete(this.removeAction, Object.assign({}, this.context, _context), arg, this.showBusyIndicator);
const response: any = await this.service.delete(this.removeAction, Object.assign({}, this.context, _context), arg, this.showBusyIndicator);
if (response && response.status === 200) {
if (response && response.status === 200) {
this.$notice.success(
'删除成功'
);
this.$notice.success(
this.$t('app.message.deleteSccess')
);
this.load();
this.load();
resolve(response);
resolve(response);
} else {
} else {
...
@@ -383,8 +383,8 @@
...
@@ -383,8 +383,8 @@
}
}
this.$dialog.confirm({
this.$dialog.confirm({
title:
'警告'
,
title:
this.$t('app.message.warning')
,
message:
'确认要删除 ' + infoStr + ',删除操作将不可恢复
?',
message:
this.$t('app.message.confirmToDelete') + infoStr +','+ this.$t('app.message.unrecoverable') + '
?',
}).then(() => {
}).then(() => {
_remove();
_remove();
}).catch(() => {
}).catch(() => {
...
...
@CONTROL/移动端数据视图控件/CONTROL-BASE.vue.ftl
浏览文件 @
679d6ea6
...
@@ -372,16 +372,16 @@
...
@@ -372,16 +372,16 @@
});
});
if (datas.length < 5) {
if (datas.length < 5) {
infoStr = infoStr +
' 共' + datas.length + '条数据'
;
infoStr = infoStr +
this.$t('app.message.totle') + datas.length + this.$t('app.message.data')
;
} else {
} else {
infoStr = infoStr + '...' +
' 共' + datas.length + '条数据'
;
infoStr = infoStr + '...' +
this.$t('app.message.totle') + datas.length + this.$t('app.message.data')
;
}
}
return new Promise((resolve, reject) => {
return new Promise((resolve, reject) => {
const _remove = async () => {
const _remove = async () => {
let _context: any = { ${appde.getCodeName()?lower_case}: keys.join(';') }
let _context: any = { ${appde.getCodeName()?lower_case}: keys.join(';') }
const response: any = await this.service.delete(this.removeAction, Object.assign({}, this.context, _context), arg, this.showBusyIndicator);
const response: any = await this.service.delete(this.removeAction, Object.assign({}, this.context, _context), arg, this.showBusyIndicator);
if (response && response.status === 200) {
if (response && response.status === 200) {
this.$notice.success(
'删除成功'
);
this.$notice.success(
this.$t('app.message.deleteSccess')
);
this.load();
this.load();
resolve(response);
resolve(response);
} else {
} else {
...
@@ -391,8 +391,8 @@
...
@@ -391,8 +391,8 @@
}
}
this.$dialog.confirm({
this.$dialog.confirm({
title:
'警告'
,
title:
this.$t('app.message.warning')
,
message:
'确认要删除 ' + infoStr + ',删除操作将不可恢复
?',
message:
this.$t('app.message.confirmToDelete') + infoStr +','+ this.$t('app.message.unrecoverable') + '
?',
}).then(() => {
}).then(() => {
_remove();
_remove();
}).catch(() => {
}).catch(() => {
...
...
@CONTROL/表单/CONTROL-BASE.vue.ftl
浏览文件 @
679d6ea6
...
@@ -979,7 +979,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
...
@@ -979,7 +979,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
});
});
<#if ctrl.getFormFuncMode()?lower_case != 'wizardform'>
<#if ctrl.getFormFuncMode()?lower_case != 'wizardform'>
if (showResultInfo) {
if (showResultInfo) {
this.$notice.success((data.srfmajortext ? data.srfmajortext : '') + '
保存成功!'
);
this.$notice.success((data.srfmajortext ? data.srfmajortext : '') + '
'+ this.$t('app.message.savedSuccess')
);
}
}
</#if>
</#if>
} else if (response && response.status !== 401) {
} else if (response && response.status !== 401) {
...
@@ -1016,7 +1016,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
...
@@ -1016,7 +1016,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
this.$emit('remove', data);
this.$emit('remove', data);
this.formState.next({ type: 'remove', data: data });
this.formState.next({ type: 'remove', data: data });
this.data.ismodify = false;
this.data.ismodify = false;
this.$notice.success((data.srfmajortext ? data.srfmajortext : '') + '
删除成功!'
);
this.$notice.success((data.srfmajortext ? data.srfmajortext : '') + '
'+ this.$t('app.message.deleteSccess')
);
} else if (response && response.status !== 401) {
} else if (response && response.status !== 401) {
const { error: _data } = response;
const { error: _data } = response;
this.$notice.error(_data.message);
this.$notice.error(_data.message);
...
...
APP/src/locale/lang/en-US.ts.ftl
浏览文件 @
679d6ea6
...
@@ -77,6 +77,17 @@ export default {
...
@@ -77,6 +77,17 @@ export default {
},
},
view:"View",
view:"View",
notConfig:" Parameter not configured",
notConfig:" Parameter not configured",
message: {
success: "successfully",
fail: "failed",
savedSuccess: "Saved successfully",
deleteSccess: "successfully deleted",
warning: " Warning ",
confirmToDelete: "Confirm to delete",
unrecoverable: "Will the delete operation be unrecoverable",
totle: "A total of",
data: "data"
},
statusMessage:{
statusMessage:{
200: 'The server successfully returned the requested data',
200: 'The server successfully returned the requested data',
201: 'New or modified data is successful.',
201: 'New or modified data is successful.',
...
...
APP/src/locale/lang/zh-CN.ts.ftl
浏览文件 @
679d6ea6
...
@@ -78,6 +78,17 @@ export default {
...
@@ -78,6 +78,17 @@ export default {
},
},
view:"视图",
view:"视图",
notConfig:"参数未配置",
notConfig:"参数未配置",
message:{
success: "成功",
fail: "失败",
savedSuccess: "保存成功",
deleteSccess: "删除成功",
warning: "警告",
confirmToDelete: "确认删除 ",
unrecoverable: " 删除操作将不可恢复",
totle: "共",
data: "条数据"
},
statusMessage:{
statusMessage:{
200: '服务器成功返回请求的数据。',
200: '服务器成功返回请求的数据。',
201: '新建或修改数据成功。',
201: '新建或修改数据成功。',
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录