Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
e8e6f11a
Commit
e8e6f11a
authored
Dec 06, 2024
by
Smile
Committed by
wux
Jan 02, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户端多语言,后台管理多语言的内容,添加法语项,例如:“客户端无法再后台添加修改仓库法语名称问题”修改
parent
14bb3986
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
183 additions
and
7 deletions
+183
-7
dict.js
src/utils/dict.js
+1
-0
edit.vue
src/views/ecw/channel/edit.vue
+22
-0
index.vue
...cw/memberManagement/addIntegrationRuleOperation/index.vue
+34
-0
index.vue
src/views/ecw/product/index.vue
+17
-0
index.vue
src/views/ecw/productAttr/index.vue
+10
-5
index.vue
src/views/ecw/productBrank/index.vue
+10
-0
index.vue
src/views/ecw/region/index.vue
+8
-0
index.vue
src/views/ecw/unit/index.vue
+9
-0
index.vue
src/views/ecw/warehouse/index.vue
+31
-0
index.vue
src/views/system/helpDoc/index.vue
+15
-1
index.vue
src/views/system/needKnow/index.vue
+13
-0
index.vue
src/views/system/notice/index.vue
+13
-1
No files found.
src/utils/dict.js
View file @
e8e6f11a
...
...
@@ -273,6 +273,7 @@ export const DICT_TYPE = {
MEMBER_SCORE_OPERATE_TYPE
:
"
member_user_score_log_operate_type
"
,
//会员积分日志操作类型
SCORE_RULE_TYPE
:
"
score_rule_type
"
,
//积分规则指标类型
YES_OR_NO
:
"
yes_or_no
"
,
YES_OR_NO_OR_ALL
:
"
yes_or_no_or_all
"
,
CLIENT_PLATFORM
:
"
client_platform
"
,
MEMBER_SCORE_SOURCE
:
"
member_score_source
"
,
//会员积分来源
};
...
...
src/views/ecw/channel/edit.vue
View file @
e8e6f11a
...
...
@@ -16,6 +16,11 @@
<el-input
v-model=
"form.nameEn"
:placeholder=
"$t('请输入名称-英文')"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('名称法文')"
prop=
"nameFr"
>
<el-input
v-model=
"form.nameFr"
:placeholder=
"$t('请输入名称-英文')"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('内部名称中文')"
prop=
"internalNameZh"
>
<el-input
...
...
@@ -32,6 +37,14 @@
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('内部名称法文')"
prop=
"internalNameFr"
>
<el-input
v-model=
"form.internalNameFr"
:placeholder=
"$t('请输入内部名称-法文')"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('类型编码')"
prop=
"typeNumber"
>
<el-input
...
...
@@ -156,6 +169,13 @@
:placeholder=
"$t('请输入备注-英文')"
/>
</el-form-item></el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('备注-法文')"
prop=
"remarksFr"
>
<el-input
v-model=
"form.remarksFr"
:placeholder=
"$t('请输入备注-法文')"
/>
</el-form-item></el-col>
</el-row>
...
...
@@ -230,8 +250,10 @@ export default {
rules
:
{
nameZh
:
{
required
:
true
,
message
:
'
请输入中文名称
'
,
trigger
:
'
blur
'
},
nameEn
:
{
required
:
true
,
message
:
'
请输入英文名称
'
,
trigger
:
'
blur
'
},
nameFr
:
{
required
:
true
,
message
:
'
请输入法文名称
'
,
trigger
:
'
blur
'
},
internalNameZh
:
{
required
:
true
,
message
:
'
请输入内部中文名称
'
,
trigger
:
'
blur
'
},
internalNameEn
:
{
required
:
true
,
message
:
'
请输入内部英文名称
'
,
trigger
:
'
blur
'
},
internalNameFr
:
{
required
:
true
,
message
:
'
请输入内部法文名称
'
,
trigger
:
'
blur
'
},
typeNumber
:
{
required
:
true
,
message
:
'
请输入编码类型
'
,
trigger
:
'
blur
'
},
code
:
{
required
:
true
,
message
:
'
请输入简码
'
,
trigger
:
'
blur
'
},
attrId
:
{
required
:
true
,
message
:
'
请选择可出商品特性
'
,
trigger
:
'
blur
'
},
...
...
src/views/ecw/memberManagement/addIntegrationRuleOperation/index.vue
View file @
e8e6f11a
...
...
@@ -14,6 +14,9 @@
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('英文标题')"
prop=
"titleEn"
>
<el-input
style=
"width: 300px"
v-model=
"queryParams.titleEn"
:placeholder=
"$t('请输入查找')"
clearable
v-trim
/>
</el-form-item
></el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('法文标题')"
prop=
"titleFr"
>
<el-input
style=
"width: 300px"
v-model=
"queryParams.titleFr"
:placeholder=
"$t('请输入查找')"
clearable
v-trim
/>
</el-form-item
></el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"12"
>
...
...
@@ -26,6 +29,11 @@
<image-upload
v-model=
"queryParams.coverImageEn"
:isShowEditButton=
"!showViewTime"
:fileType=
"['png', 'jpg', 'jpeg']"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('法文封面图')"
prop=
"coverImageFr"
>
<image-upload
v-model=
"queryParams.coverImageFr"
:isShowEditButton=
"!showViewTime"
:fileType=
"['png', 'jpg', 'jpeg']"
/>
</el-form-item>
</el-col>
</el-row>
<!--分享活动内容 -->
<el-form-item
:label=
"$t('中文活动内容')"
prop=
"extraShare.activityDescZh"
v-if=
"queryParams.type == '4'"
>
...
...
@@ -156,6 +164,12 @@
</el-form-item>
<span
class=
"del-btn"
>
{{
$t
(
"
注:此说明用于展示给会员查看积分原因,请规范填写
"
)
}}
</span>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('法文规则说明')"
prop=
"descFr"
>
<el-input
type=
"textarea"
v-model=
"queryParams.descFr"
></el-input>
</el-form-item>
<span
class=
"del-btn"
>
{{
$t
(
"
注:此说明用于展示给会员查看积分原因,请规范填写
"
)
}}
</span>
</el-col>
</el-row>
<el-form-item
:label=
"$t('是否推送')"
prop=
"pushActivity"
>
<el-radio-group
v-model=
"queryParams.pushActivity"
>
...
...
@@ -340,6 +354,7 @@ export default {
pageSize
:
10
,
titleZh
:
null
,
titleEn
:
null
,
titleFr
:
null
,
contentZh
:
null
,
contentEn
:
null
,
bannerUrlWeb
:
null
,
...
...
@@ -377,6 +392,13 @@ export default {
trigger
:
"
blur
"
}
],
descFr
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
请输入法文规则说明
"
),
trigger
:
"
blur
"
}
],
descZh
:
[
{
required
:
true
,
...
...
@@ -398,6 +420,13 @@ export default {
trigger
:
"
blur
"
}
],
titleFr
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
请输入法文标题
"
),
trigger
:
"
blur
"
}
],
orderNum
:
[
{
required
:
true
,
...
...
@@ -549,8 +578,10 @@ export default {
type
:
""
,
//指标类型
titleZh
:
""
,
titleEn
:
""
,
titleFr
:
""
,
coverImageZh
:
""
,
coverImageEn
:
""
,
coverImageFr
:
""
,
maxScoreTotal
:
""
,
endTime
:
""
,
startTime
:
""
,
//活动开始时间
...
...
@@ -559,6 +590,7 @@ export default {
descZh
:
""
,
pushActivity
:
"
0
"
,
//是否推送(0是,1否)默认是
descEn
:
""
,
descFr
:
""
,
getScoreOnce
:
""
,
//除v值之外的积分规则
showPlatform
:
"
1,2,3
"
,
//展示平台
registerUrl
:
""
,
//注册链接
...
...
@@ -723,8 +755,10 @@ export default {
this
.
dialogVisible
=
false
this
.
queryParams
.
titleZh
=
row
.
titleZh
this
.
queryParams
.
titleEn
=
row
.
titleEn
this
.
queryParams
.
titleFr
=
row
.
titleFr
this
.
queryParams
.
coverImageZh
=
row
.
bannerUrlApp
this
.
queryParams
.
coverImageEn
=
row
.
bannerUrlApp
this
.
queryParams
.
coverImageFr
=
row
.
bannerUrlApp
this
.
queryParams
.
extraShare
.
activityDescZh
=
row
.
contentEn
this
.
queryParams
.
extraShare
.
activityDescEn
=
row
.
contentZh
},
...
...
src/views/ecw/product/index.vue
View file @
e8e6f11a
...
...
@@ -234,6 +234,7 @@
/>
<el-table-column
:label=
"$t('中文标题')"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
:label=
"$t('英文标题')"
align=
"center"
prop=
"titleEn"
/>
<el-table-column
:label=
"$t('法文标题')"
align=
"center"
prop=
"titleFr"
/>
<el-table-column
:label=
"$t('商品特性')"
align=
"center"
prop=
"attrId"
>
<
template
slot-scope=
"scope"
>
<span>
{{
getAttrName
(
scope
.
row
.
attrId
)
}}
</span>
...
...
@@ -426,6 +427,13 @@
/>
</el-form-item>
<el-form-item
:label=
"$t('法文标题')"
prop=
"titleFr"
>
<el-input
v-model=
"form.titleFr"
:placeholder=
"$t('请输入英文标题')"
/>
</el-form-item>
<el-form-item
:label=
"$t('商品图片')"
prop=
"img"
>
<image-upload
v-model=
"form.imgs"
/>
</el-form-item>
...
...
@@ -690,6 +698,7 @@ export default {
attrId
:
null
,
titleZh
:
null
,
titleEn
:
null
,
titleFr
:
null
,
auditStatus
:
null
,
status
:
null
,
},
...
...
@@ -732,6 +741,13 @@ export default {
trigger
:
"
blur
"
,
},
],
titleFr
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
法文标题不能为空
"
),
trigger
:
"
blur
"
,
},
],
// materialType: [{ required: true, message: this.$t("商品材质不能为空"), trigger: "blur" }],
// packaging: [{ required: true, message: this.$t("包装要求不能为空"), trigger: "blur" }],
// containerLocation: [{ required: true, message: this.$t("默认货柜位置不能为空"), trigger: "blur" }],
...
...
@@ -1005,6 +1021,7 @@ export default {
attrId
:
undefined
,
titleZh
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
auditStatus
:
undefined
,
status
:
undefined
,
requirements
:
0
,
...
...
src/views/ecw/productAttr/index.vue
View file @
e8e6f11a
...
...
@@ -62,9 +62,12 @@
<el-form-item
:label=
"$t('属性名称')"
prop=
"attrName"
>
<el-input
v-model=
"form.attrName"
:placeholder=
"$t('请输入属性名称')"
/>
</el-form-item>
<el-form-item
:label=
"$t('属性英文名')"
prop=
"attrName"
>
<el-form-item
:label=
"$t('属性英文名')"
prop=
"attrName
En
"
>
<el-input
v-model=
"form.attrNameEn"
:placeholder=
"$t('请输入属性英文名')"
/>
</el-form-item>
<el-form-item
:label=
"$t('属性法文名')"
prop=
"attrNameFr"
>
<el-input
v-model=
"form.attrNameFr"
:placeholder=
"$t('请输入属性法文名')"
/>
</el-form-item>
<el-form-item
:label=
"$t('属性代码')"
prop=
"attrCode"
>
<el-input
v-model=
"form.attrCode"
:placeholder=
"$t('请输入属性代码')"
/>
</el-form-item>
...
...
@@ -117,6 +120,8 @@ export default {
pageNo
:
1
,
pageSize
:
10
,
attrName
:
null
,
attrNameEn
:
null
,
attrNameFr
:
null
,
attrCode
:
null
,
remark
:
null
,
content
:
null
,
...
...
src/views/ecw/productBrank/index.vue
View file @
e8e6f11a
...
...
@@ -9,6 +9,9 @@
<el-form-item
:label=
"$t('品牌英文标题')"
prop=
"titleEn"
>
<el-input
v-model=
"queryParams.titleEn"
:placeholder=
"$t('请输入品牌英文标题')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('品牌法文标题')"
prop=
"titleFr"
>
<el-input
v-model=
"queryParams.titleFr"
:placeholder=
"$t('请输入品牌法文标题')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('排序')"
prop=
"aorder"
>
<el-input
v-model=
"queryParams.aorder"
:placeholder=
"$t('请输入排序')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
...
...
@@ -52,6 +55,7 @@
<el-table-column
label=
"主键ID"
align=
"center"
prop=
"id"
/>
<el-table-column
:label=
"$t('品牌中文标题')"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
:label=
"$t('品牌英文标题')"
align=
"center"
prop=
"titleEn"
/>
<el-table-column
:label=
"$t('品牌法文标题')"
align=
"center"
prop=
"titleFr"
/>
<el-table-column
:label=
"$t('排序')"
align=
"center"
prop=
"aorder"
/>
<el-table-column
:label=
"$t('是否备案')"
align=
"center"
prop=
"filing"
>
<!--
<template
slot-scope=
"scope"
>
-->
...
...
@@ -105,6 +109,9 @@
<el-form-item
:label=
"$t('品牌英文标题')"
prop=
"titleEn"
>
<el-input
v-model=
"form.titleEn"
:placeholder=
"$t('请输入品牌英文标题')"
/>
</el-form-item>
<el-form-item
:label=
"$t('品牌法文标题')"
prop=
"titleFr"
>
<el-input
v-model=
"form.titleFr"
:placeholder=
"$t('请输入品牌法文标题')"
/>
</el-form-item>
<el-form-item
:label=
"$t('排序')"
prop=
"aorder"
>
<el-input
v-model=
"form.aorder"
:placeholder=
"$t('请输入排序')"
/>
</el-form-item>
...
...
@@ -192,6 +199,7 @@ export default {
pageSize
:
10
,
titleZh
:
null
,
titleEn
:
null
,
titleFr
:
null
,
aorder
:
null
,
filing
:
null
,
},
...
...
@@ -201,6 +209,7 @@ export default {
rules
:
{
titleZh
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请输入品牌中文标题
'
),
trigger
:
"
blur
"
}],
titleEn
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请输入品牌英文标题
'
),
trigger
:
"
blur
"
}],
titleFr
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请输入品牌法文标题
'
),
trigger
:
"
blur
"
}],
// aorder: [{ required: true, message: this.$t('请输入排序'), trigger: "blur" }],
filing
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请选择是否备案
'
),
trigger
:
"
change
"
}],
},
...
...
@@ -260,6 +269,7 @@ export default {
id
:
undefined
,
titleZh
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
aorder
:
undefined
,
filing
:
undefined
,
"
trademarkList
"
:
[
...
...
src/views/ecw/region/index.vue
View file @
e8e6f11a
...
...
@@ -7,6 +7,9 @@
<el-form-item
:label=
"$t('英文名称')"
prop=
"titleEn"
>
<el-input
v-model=
"queryParams.titleEn"
:placeholder=
"$t('请输入英文名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('法文名称')"
prop=
"titleFr"
>
<el-input
v-model=
"queryParams.titleFr"
:placeholder=
"$t('请输入法文名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('语言')"
prop=
"language"
>
<el-input
v-model=
"queryParams.language"
:placeholder=
"$t('请输入语言')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
...
...
@@ -42,6 +45,7 @@
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column
prop=
"titleZh"
:label=
"$t('中文名称')"
width=
"200"
></el-table-column>
<el-table-column
prop=
"titleEn"
:label=
"$t('英文名称')"
width=
"200"
></el-table-column>
<el-table-column
prop=
"titleFr"
:label=
"$t('法文名称')"
width=
"200"
></el-table-column>
<el-table-column
prop=
"shortName"
:label=
"$t('简称')"
width=
"120"
/>
<el-table-column
prop=
"areaCode"
:label=
"$t('区号')"
width=
"120"
>
<template
slot-scope=
"scope"
v-if=
"scope.row.areaCode"
>
...
...
@@ -96,6 +100,9 @@
<el-form-item
:label=
"$t('英文名称')"
prop=
"titleEn"
>
<el-input
v-model=
"form.titleEn"
:placeholder=
"$t('请输入英文名称')"
/>
</el-form-item>
<el-form-item
:label=
"$t('法文名称')"
prop=
"titleFr"
>
<el-input
v-model=
"form.titleFr"
:placeholder=
"$t('请输入法文名称')"
/>
</el-form-item>
<el-form-item
:label=
"$t('简称')"
prop=
"shortName"
>
<el-input
v-model=
"form.shortName"
:placeholder=
"$t('请输入简称')"
/>
</el-form-item>
...
...
@@ -243,6 +250,7 @@ export default {
queryParams
:
{
titleZh
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
shortName
:
undefined
,
status
:
undefined
},
...
...
src/views/ecw/unit/index.vue
View file @
e8e6f11a
...
...
@@ -9,6 +9,9 @@
<el-form-item
:label=
"$t('英文名称')"
prop=
"titleEn"
>
<el-input
v-model=
"queryParams.titleEn"
:placeholder=
"$t('请输入英文名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('法文名称')"
prop=
"titleFr"
>
<el-input
v-model=
"queryParams.titleFr"
:placeholder=
"$t('请输入法文名称')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('单位符号')"
prop=
"fuhao"
>
<el-input
v-model=
"queryParams.fuhao"
:placeholder=
"$t('请输入单位符号')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
...
...
@@ -49,6 +52,7 @@
<el-table-column
label=
""
align=
"center"
prop=
"id"
/>
<el-table-column
:label=
"$t('中文名称')"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
:label=
"$t('英文名称')"
align=
"center"
prop=
"titleEn"
/>
<el-table-column
:label=
"$t('法文名称')"
align=
"center"
prop=
"titleFr"
/>
<el-table-column
:label=
"$t('单位符号')"
align=
"center"
prop=
"fuhao"
/>
<el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
"show"
>
<template
slot-scope=
"scope"
>
...
...
@@ -83,6 +87,9 @@
<el-form-item
:label=
"$t('英文名称')"
prop=
"titleEn"
>
<el-input
v-model=
"form.titleEn"
:placeholder=
"$t('请输入英文名称')"
/>
</el-form-item>
<el-form-item
:label=
"$t('法文名称')"
prop=
"titleFr"
>
<el-input
v-model=
"form.titleFr"
:placeholder=
"$t('请输入法文名称')"
/>
</el-form-item>
<el-form-item
:label=
"$t('单位符号')"
prop=
"fuhao"
>
<el-input
v-model=
"form.fuhao"
:placeholder=
"$t('请输入单位符号')"
/>
</el-form-item>
...
...
@@ -149,6 +156,7 @@ export default {
pageSize
:
10
,
titleZh
:
null
,
titleEn
:
null
,
titleFr
:
null
,
fuhao
:
null
,
status
:
null
,
aorder
:
null
,
...
...
@@ -190,6 +198,7 @@ export default {
id
:
undefined
,
titleZh
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
fuhao
:
undefined
,
status
:
undefined
,
aorder
:
undefined
,
...
...
src/views/ecw/warehouse/index.vue
View file @
e8e6f11a
...
...
@@ -91,6 +91,7 @@
<el-table-column
:label=
"$t('仓库编号')"
align=
"center"
prop=
"number"
/>
<el-table-column
:label=
"$t('仓库名称')"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
:label=
"$t('英文名称')"
align=
"center"
prop=
"titleEn"
/>
<el-table-column
:label=
"$t('法文名称')"
align=
"center"
prop=
"titleFr"
/>
<el-table-column
:label=
"$t('贸易属性')"
align=
"center"
prop=
"tradeType"
>
<template
slot-scope=
"scope"
>
<div>
{{
tradeTypeName
(
scope
.
row
.
tradeType
)
}}
</div>
...
...
@@ -429,6 +430,12 @@
:placeholder=
"$t('请输入英文名称')"
/>
</el-form-item>
<el-form-item
:label=
"$t('法文名称')"
prop=
"titleFr"
>
<el-input
v-model=
"form.titleFr"
:placeholder=
"$t('请输入法文名称')"
/>
</el-form-item>
<el-form-item
:label=
"$t('负责人')"
prop=
"head"
>
<el-input
v-model=
"form.head"
:placeholder=
"$t('请输入负责人')"
/>
</el-form-item>
...
...
@@ -452,6 +459,12 @@
:placeholder=
"$t('请输入英文地址')"
/>
</el-form-item>
<el-form-item
:label=
"$t('法文地址')"
prop=
"addressFr"
>
<el-input
v-model=
"form.addressFr"
:placeholder=
"$t('请输入法文地址')"
/>
</el-form-item>
<el-form-item
:label=
"$t('贸易属性')"
prop=
"tradeType"
>
<el-select
v-model=
"form.tradeType"
:placeholder=
"$t('请选择')"
>
...
...
@@ -971,9 +984,11 @@ export default {
number
:
null
,
titleZh
:
null
,
titleEn
:
null
,
titleFr
:
null
,
volume
:
null
,
addressZh
:
null
,
addressEn
:
null
,
addressFr
:
null
,
zhou
:
null
,
guojia
:
null
,
sheng
:
null
,
...
...
@@ -1057,6 +1072,13 @@ export default {
trigger
:
"
blur
"
,
},
],
titleFr
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
法文名称不能为空
"
),
trigger
:
"
blur
"
,
},
],
head
:
[
{
required
:
true
,
...
...
@@ -1088,6 +1110,13 @@ export default {
trigger
:
"
blur
"
,
},
],
addressFr
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
法文地址不能为空
"
),
trigger
:
"
blur
"
,
},
],
tradeType
:
[
{
required
:
true
,
...
...
@@ -1636,9 +1665,11 @@ export default {
qianzhui
:
undefined
,
titleZh
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
volume
:
undefined
,
addressZh
:
undefined
,
addressEn
:
undefined
,
addressFr
:
undefined
,
zhou
:
undefined
,
guojia
:
undefined
,
sheng
:
undefined
,
...
...
src/views/system/helpDoc/index.vue
View file @
e8e6f11a
...
...
@@ -9,7 +9,9 @@
<el-form-item
:label=
"$t('标题英文')"
prop=
"titleEn"
>
<el-input
v-model=
"queryParams.titleEn"
:placeholder=
"$t('请输入标题英文')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('标题法文')"
prop=
"titleFr"
>
<el-input
v-model=
"queryParams.titleFr"
:placeholder=
"$t('请输入标题法文')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('状态')"
prop=
"status"
>
<el-select
v-model=
"queryParams.status"
:placeholder=
"$t('请选择')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.HELP_DOC_STATUS)"
...
...
@@ -44,8 +46,10 @@
<el-table-column
label=
""
align=
"center"
prop=
"id"
/>
<el-table-column
:label=
"$t('标题中文')"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
:label=
"$t('标题英文')"
align=
"center"
prop=
"titleEn"
/>
<el-table-column
:label=
"$t('标题法文')"
align=
"center"
prop=
"titleFr"
/>
<el-table-column
:label=
"$t('内容中文')"
align=
"center"
prop=
"contentZh"
/>
<el-table-column
:label=
"$t('内容英语')"
align=
"center"
prop=
"contentEn"
/>
<el-table-column
:label=
"$t('内容法文')"
align=
"center"
prop=
"contentFr"
/>
<el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
"status"
>
<template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.HELP_DOC_STATUS"
:value=
"scope.row.status"
/>
...
...
@@ -78,12 +82,18 @@
<el-form-item
:label=
"$t('标题英文')"
prop=
"titleEn"
>
<el-input
v-model=
"form.titleEn"
:placeholder=
"$t('请输入标题英文')"
/>
</el-form-item>
<el-form-item
:label=
"$t('标题法文')"
prop=
"titleFr"
>
<el-input
v-model=
"form.titleFr"
:placeholder=
"$t('请输入标题法文')"
/>
</el-form-item>
<el-form-item
:label=
"$t('内容中文')"
prop=
"contentZh"
>
<editor
v-model=
"form.contentZh"
:min-height=
"192"
/>
</el-form-item>
<el-form-item
:label=
"$t('内容英语')"
prop=
"contentEn"
>
<editor
v-model=
"form.contentEn"
:min-height=
"192"
/>
</el-form-item>
<el-form-item
:label=
"$t('内容法文')"
prop=
"contentFr"
>
<editor
v-model=
"form.contentFr"
:min-height=
"192"
/>
</el-form-item>
<el-form-item
:label=
"$t('状态')"
prop=
"status"
>
<el-radio-group
v-model=
"form.status"
>
<el-radio
v-for=
"dict in this.getDictDatas(DICT_TYPE.HELP_DOC_STATUS)"
...
...
@@ -130,8 +140,10 @@ export default {
pageSize
:
10
,
titleZh
:
null
,
titleEn
:
null
,
titleFr
:
null
,
contentZh
:
null
,
contentEn
:
null
,
contentFr
:
null
,
status
:
null
,
},
// 表单参数
...
...
@@ -169,8 +181,10 @@ export default {
id
:
undefined
,
titleZh
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
contentZh
:
undefined
,
contentEn
:
undefined
,
contentFr
:
undefined
,
status
:
undefined
,
};
this
.
resetForm
(
"
form
"
);
...
...
src/views/system/needKnow/index.vue
View file @
e8e6f11a
...
...
@@ -15,6 +15,9 @@
<el-form-item
:label=
"$t('标题英文')"
prop=
"titleEn"
>
<el-input
v-model=
"queryParams.titleEn"
:placeholder=
"$t('请输入标题英文')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('标题法文')"
prop=
"titleFr"
>
<el-input
v-model=
"queryParams.titleFr"
:placeholder=
"$t('请输入标题法文')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
:label=
"$t('状态')"
prop=
"status"
>
<el-select
v-model=
"queryParams.status"
:placeholder=
"$t('请选择')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.NEED_KNOW_STATUS)"
...
...
@@ -54,6 +57,7 @@
</el-table-column>
<el-table-column
:label=
"$t('标题中文')"
align=
"center"
prop=
"titleZh"
/>
<el-table-column
:label=
"$t('标题英文')"
align=
"center"
prop=
"titleEn"
/>
<el-table-column
:label=
"$t('标题法文')"
align=
"center"
prop=
"titleFr"
/>
<!-- <el-table-column :label="$t('内容中文')" align="center" prop="contentZh" />-->
<!-- <el-table-column :label="$t('内容英语')" align="center" prop="contentEn" />-->
<el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
"status"
>
...
...
@@ -94,12 +98,18 @@
<el-form-item
:label=
"$t('标题英文')"
prop=
"titleEn"
>
<el-input
v-model=
"form.titleEn"
:placeholder=
"$t('请输入标题英文')"
/>
</el-form-item>
<el-form-item
:label=
"$t('标题法文')"
prop=
"titleFr"
>
<el-input
v-model=
"form.titleFr"
:placeholder=
"$t('请输入标题法文')"
/>
</el-form-item>
<el-form-item
:label=
"$t('内容中文')"
prop=
"contentZh"
>
<ueditor
v-model=
"form.contentZh"
:min-height=
"192"
:placeholder=
"$t('请输入内容中文')"
/>
</el-form-item>
<el-form-item
:label=
"$t('内容英语')"
prop=
"contentEn"
>
<ueditor
v-model=
"form.contentEn"
:min-height=
"192"
placeholder=
"plese entry english"
/>
</el-form-item>
<el-form-item
:label=
"$t('内容法语')"
prop=
"contentFr"
>
<ueditor
v-model=
"form.contentFr"
:min-height=
"192"
placeholder=
"plese entry english"
/>
</el-form-item>
<el-form-item
:label=
"$t('状态')"
prop=
"status"
>
<el-radio-group
v-model=
"form.status"
>
<el-radio
v-for=
"dict in this.getDictDatas(DICT_TYPE.NEED_KNOW_STATUS)"
...
...
@@ -147,6 +157,7 @@ export default {
knowType
:
null
,
titleZh
:
null
,
titleEn
:
null
,
titleFr
:
null
,
status
:
null
,
},
// 表单参数
...
...
@@ -185,8 +196,10 @@ export default {
knowType
:
undefined
,
titleZh
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
contentZh
:
undefined
,
contentEn
:
undefined
,
contentFr
:
undefined
,
status
:
undefined
,
};
this
.
resetForm
(
"
form
"
);
...
...
src/views/system/notice/index.vue
View file @
e8e6f11a
...
...
@@ -73,10 +73,15 @@
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('标题英文')
"
prop
=
"
title
"
>
<
el
-
form
-
item
:
label
=
"
$t('标题英文')
"
prop
=
"
title
En
"
>
<
el
-
input
v
-
model
=
"
form.titleEn
"
:
placeholder
=
"
$t('请输入标题英文')
"
/>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('标题法文')
"
prop
=
"
titleFr
"
>
<
el
-
input
v
-
model
=
"
form.titleFr
"
:
placeholder
=
"
$t('请输入标题法文')
"
/>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('公告类型')
"
prop
=
"
type
"
>
<
el
-
select
v
-
model
=
"
form.type
"
:
placeholder
=
"
$t('请选择')
"
>
...
...
@@ -117,6 +122,11 @@
<
editor
v
-
model
=
"
form.contentEn
"
:
min
-
height
=
"
192
"
/>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"
24
"
>
<
el
-
form
-
item
:
label
=
"
$t('内容法文')
"
>
<
editor
v
-
model
=
"
form.contentFr
"
:
min
-
height
=
"
192
"
/>
<
/el-form-item
>
<
/el-col
>
<
/el-row
>
<
/el-form
>
<
div
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
...
...
@@ -204,9 +214,11 @@ export default {
id
:
undefined
,
title
:
undefined
,
titleEn
:
undefined
,
titleFr
:
undefined
,
type
:
undefined
,
content
:
undefined
,
contentEn
:
undefined
,
contentFr
:
undefined
,
status
:
CommonStatusEnum
.
ENABLE
}
;
this
.
resetForm
(
"
form
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment