Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qr-consistency-vue3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
刘怀志
qr-consistency-vue3
Commits
275ba859
Commit
275ba859
authored
May 08, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(市场法规清单):加中英文
parent
f471bf7e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
567 additions
and
137 deletions
+567
-137
cn.json
src/locales/baseData/marketRegulations/cn.json
+37
-0
en.json
src/locales/baseData/marketRegulations/en.json
+37
-0
index.vue
src/views/baseData/marketRegulations/index.vue
+252
-73
info.vue
src/views/baseData/marketRegulations/info.vue
+241
-64
No files found.
src/locales/baseData/marketRegulations/cn.json
0 → 100644
View file @
275ba859
{
"applicableMarket"
:
"适用市场"
,
"listCode"
:
"清单编号"
,
"listName"
:
"清单名称"
,
"listVersion"
:
"清单版本"
,
"listStatus"
:
"清单状态"
,
"search"
:
"搜索"
,
"reset"
:
"重置"
,
"serialNumber"
:
"序号"
,
"steeringType"
:
"左/右舵"
,
"releaseDate"
:
"发布时间"
,
"author"
:
"作者"
,
"viewDetails"
:
"查看详情"
,
"addOrEdit"
:
"添加或修改市场法规清单"
,
"remark"
:
"备注"
,
"delFlag"
:
"删除标记"
,
"confirm"
:
"确 定"
,
"cancel"
:
"取 消"
,
"view"
:
"查看"
,
"basicInfo"
:
"基本信息"
,
"marketRegulationsList"
:
"市场法规清单"
,
"standardNumber"
:
"标准编号"
,
"standardName"
:
"标准名称"
,
"standardType"
:
"类型"
,
"standardEnglishName"
:
"标准英文名称"
,
"equivalentRegulation"
:
"等效法规"
,
"replacedStandardCode"
:
"被代替标准编号"
,
"newCertificationCarDate"
:
"新认证车实施日期"
,
"newProductionCarDate"
:
"新生产车实施日期"
,
"registrationDate"
:
"注册日期"
,
"applicableModel"
:
"适用车型"
,
"powerType"
:
"动力类型"
,
"certificationTarget"
:
"认证对象"
,
"certifyTheDeliverables"
:
"认证交付物"
,
"batchLimit"
:
"批量限制"
,
"listExplain"
:
"清单说明"
}
src/locales/baseData/marketRegulations/en.json
0 → 100644
View file @
275ba859
{
"applicableMarket"
:
"Applicable Market"
,
"listCode"
:
"List Code"
,
"listName"
:
"List Name"
,
"listVersion"
:
"List Version"
,
"listStatus"
:
"List Status"
,
"search"
:
"Search"
,
"reset"
:
"Reset"
,
"serialNumber"
:
"Serial Number"
,
"steeringType"
:
"Left/Right Hand Drive"
,
"releaseDate"
:
"Release Date"
,
"author"
:
"Author"
,
"viewDetails"
:
"View Details"
,
"addOrEdit"
:
"Add or Edit Market Regulations List"
,
"remark"
:
"Remark"
,
"delFlag"
:
"Delete Flag"
,
"confirm"
:
"Confirm"
,
"cancel"
:
"Cancel"
,
"view"
:
"View"
,
"basicInfo"
:
"Basic Information"
,
"marketRegulationsList"
:
"Market Regulations List"
,
"standardNumber"
:
"Standard Number"
,
"standardName"
:
"Standard Name"
,
"standardType"
:
"Type"
,
"standardEnglishName"
:
"Standard English Name"
,
"equivalentRegulation"
:
"Equivalent Regulation"
,
"replacedStandardCode"
:
"Replaced Standard Code"
,
"newCertificationCarDate"
:
"New Certification Car Implementation Date"
,
"newProductionCarDate"
:
"New Production Car Implementation Date"
,
"registrationDate"
:
"Registration Date"
,
"applicableModel"
:
"Applicable Model"
,
"powerType"
:
"Power Type"
,
"certificationTarget"
:
"Certification Target"
,
"certifyTheDeliverables"
:
"Certification Deliverables"
,
"batchLimit"
:
"Batch Limit"
,
"listExplain"
:
"List Explanation"
}
src/views/baseData/marketRegulations/index.vue
View file @
275ba859
<
template
>
<div
class=
"app-container"
>
<!-- 搜索表单部分,之前已修改,此处省略,可参考之前回复 -->
<el-form
v-model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
v-show=
"showSearch"
label-width=
"70px"
>
<el-form-item
label=
"适用市场"
prop=
"applicableMarket"
>
<el-form-item
:label=
"`$
{cn.applicableMarket}
<br>
${en.applicableMarket}`" prop="applicableMarket">
<template
#
label
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
applicableMarket
}}
<br/>
{{
en
.
applicableMarket
}}
</div>
</
template
>
<el-input
v-model=
"queryParams.applicableMarket"
placeholder=
"请输入适用市场
"
:placeholder=
"`${cn.applicableMarket}${en.applicableMarket}`
"
clearable
@
keyup
.
enter=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"清单编号"
prop=
"listCode"
>
<el-form-item
:label=
"`${cn.listCode}<br>${en.listCode}`"
prop=
"listCode"
>
<
template
#
label
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listCode
}}
<br/>
{{
en
.
listCode
}}
</div>
</
template
>
<el-input
v-model=
"queryParams.listCode"
placeholder=
"请输入清单编号
"
:placeholder=
"`${cn.listCode}${en.listCode}`
"
clearable
@
keyup
.
enter=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"清单名称"
prop=
"listName"
>
<el-form-item
:label=
"`${cn.listName}<br>${en.listName}`"
prop=
"listName"
>
<
template
#
label
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listName
}}
<br/>
{{
en
.
listName
}}
</div>
</
template
>
<el-input
v-model=
"queryParams.listName"
placeholder=
"请输入清单名称
"
:placeholder=
"`${cn.listName}${en.listName}`
"
clearable
@
keyup
.
enter=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"清单版本"
prop=
"listVersion"
>
<el-form-item
:label=
"`${cn.listVersion}<br>${en.listVersion}`"
prop=
"listVersion"
>
<
template
#
label
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listVersion
}}
<br/>
{{
en
.
listVersion
}}
</div>
</
template
>
<el-input
v-model=
"queryParams.listVersion"
placeholder=
"请输入清单版本
"
:placeholder=
"`${cn.listVersion}${en.listVersion}`
"
clearable
@
keyup
.
enter=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"清单状态"
prop=
"status"
>
<el-form-item
:label=
"`${cn.listStatus}<br>${en.listStatus}`"
prop=
"status"
>
<
template
#
label
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listStatus
}}
<br/>
{{
en
.
listStatus
}}
</div>
</
template
>
<el-select
v-model=
"queryParams.listStatus"
placeholder=
"清单状态
"
:placeholder=
"`${cn.listStatus}${en.listStatus}`
"
clearable
style=
"width: 200px"
>
...
...
@@ -49,33 +85,109 @@
</el-select>
</el-form-item>
<el-form-item
>
<el-button
type=
"primary"
icon=
"Search"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"Refresh"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
type=
"primary"
class=
"btn-A"
@
click=
"handleQuery"
>
{{cn.search}}/{{en.search}}
</el-button>
<el-button
class=
"btn-C"
@
click=
"resetQuery"
>
{{cn.reset}}/{{en.reset}}
</el-button>
</el-form-item>
</el-form>
<el-table
v-loading=
"loading"
:data=
"tableList"
>
<el-table-column
type=
"index"
width=
"55"
align=
"center"
label=
"序号"
/>
<el-table-column
label=
"适用市场"
align=
"center"
prop=
"applicableMarket"
/>
<el-table-column
label=
"清单编号"
align=
"center"
prop=
"listCode"
/>
<el-table-column
label=
"清单名称"
align=
"center"
prop=
"listName"
/>
<el-table-column
label=
"左/右舵"
align=
"center"
prop=
"steeringType"
/>
<el-table-column
label=
"清单版本"
align=
"center"
prop=
"listVersion"
/>
<el-table-column
label=
"发布时间"
align=
"center"
prop=
"releaseDate"
width=
"180"
sortable
:sort-method=
"sortByTime"
>
<el-table-column
type=
"index"
width=
"55"
align=
"center"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
serialNumber
}}
<br/>
{{
en
.
serialNumber
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"applicableMarket"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
applicableMarket
}}
<br/>
{{
en
.
applicableMarket
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"listCode"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listCode
}}
<br/>
{{
en
.
listCode
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"listName"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listName
}}
<br/>
{{
en
.
listName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"steeringType"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
steeringType
}}
<br/>
{{
en
.
steeringType
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"listVersion"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listVersion
}}
<br/>
{{
en
.
listVersion
}}
</div>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"releaseDate"
width=
"180"
sortable
:sort-method=
"sortByTime"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
releaseDate
}}
<br/>
{{
en
.
releaseDate
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
releaseDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"作者"
align
=
"center"
prop
=
"author"
/>
<
el
-
table
-
column
label
=
"清单状态"
align
=
"center"
prop
=
"listStatus"
>
<
el
-
table
-
column
align
=
"center"
prop
=
"author"
>
<
template
#
header
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
author
}}
<
br
/>
{{
en
.
author
}}
<
/div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"center"
prop
=
"listStatus"
>
<
template
#
header
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
listStatus
}}
<
br
/>
{{
en
.
listStatus
}}
<
/div
>
<
/template
>
<
template
#
default
=
"scope"
>
<
dict
-
tag
:
options
=
"marketregulations_list_status"
:
value
=
"scope.row.listStatus"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
el
-
table
-
column
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
template
#
header
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
operation
}}
<
br
/>
{{
en
.
operation
}}
<
/div
>
<
/template
>
<
template
#
default
=
"scope"
>
<
el
-
button
type
=
"text"
@
click
=
"handleView(scope.row)"
>
查看详情
<
/el-button
>
<
el
-
button
type
=
"text"
@
click
=
"handleView(scope.row)"
>
{{
cn
.
viewDetails
}}
/
{{
en
.
viewDetails
}}
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
...
...
@@ -89,42 +201,105 @@
/>
<!--
添加或修改市场法规清单对话框
-->
<
el
-
dialog
:
title
=
"title"
v
-
model
=
"open"
width
=
"500px"
append
-
to
-
body
>
<
el
-
dialog
:
title
=
"`${cn.addOrEdit
}
<br>${en.addOrEdit
}
`"
v
-
model
=
"open"
width
=
"500px"
append
-
to
-
body
>
<
template
#
title
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
addOrEdit
}}
<
br
/>
{{
en
.
addOrEdit
}}
<
/div
>
<
/template
>
<
el
-
form
ref
=
"listRef"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"80px"
>
<
el
-
form
-
item
label
=
"适用市场"
prop
=
"applicableMarket"
>
<
el
-
input
v
-
model
=
"form.applicableMarket"
placeholder
=
"请输入适用市场"
/>
<
el
-
form
-
item
:
label
=
"`${cn.applicableMarket
}
<br>${en.applicableMarket
}
`"
prop
=
"applicableMarket"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
applicableMarket
}}
<
br
/>
{{
en
.
applicableMarket
}}
<
/div
>
<
/template
>
<
el
-
input
v
-
model
=
"form.applicableMarket"
:
placeholder
=
"`${cn.applicableMarket
}
${en.applicableMarket
}
`"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"清单编号"
prop
=
"listCode"
>
<
el
-
input
v
-
model
=
"form.listCode"
placeholder
=
"请输入清单编号"
/>
<
el
-
form
-
item
:
label
=
"`${cn.listCode
}
<br>${en.listCode
}
`"
prop
=
"listCode"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
listCode
}}
<
br
/>
{{
en
.
listCode
}}
<
/div
>
<
/template
>
<
el
-
input
v
-
model
=
"form.listCode"
:
placeholder
=
"`${cn.listCode
}
${en.listCode
}
`"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"清单名称"
prop
=
"listName"
>
<
el
-
input
v
-
model
=
"form.listName"
placeholder
=
"请输入清单名称"
/>
<
el
-
form
-
item
:
label
=
"`${cn.listName
}
<br>${en.listName
}
`"
prop
=
"listName"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
listName
}}
<
br
/>
{{
en
.
listName
}}
<
/div
>
<
/template
>
<
el
-
input
v
-
model
=
"form.listName"
:
placeholder
=
"`${cn.listName
}
${en.listName
}
`"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"清单版本"
prop
=
"listVersion"
>
<
el
-
input
v
-
model
=
"form.listVersion"
placeholder
=
"请输入清单版本"
/>
<
el
-
form
-
item
:
label
=
"`${cn.listVersion
}
<br>${en.listVersion
}
`"
prop
=
"listVersion"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
listVersion
}}
<
br
/>
{{
en
.
listVersion
}}
<
/div
>
<
/template
>
<
el
-
input
v
-
model
=
"form.listVersion"
:
placeholder
=
"`${cn.listVersion
}
${en.listVersion
}
`"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"发布时间"
prop
=
"releaseDate"
>
<
el
-
form
-
item
:
label
=
"`${cn.releaseDate
}
<br>${en.releaseDate
}
`"
prop
=
"releaseDate"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
releaseDate
}}
<
br
/>
{{
en
.
releaseDate
}}
<
/div
>
<
/template
>
<
el
-
date
-
picker
clearable
v
-
model
=
"form.releaseDate"
type
=
"date"
value
-
format
=
"YYYY-MM-DD"
placeholder
=
"请选择发布时间
"
>
:
placeholder
=
"`${cn.releaseDate
}
${en.releaseDate
}
`
"
>
<
/el-date-picker
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"作者"
prop
=
"author"
>
<
el
-
input
v
-
model
=
"form.author"
placeholder
=
"请输入作者"
/>
<
el
-
form
-
item
:
label
=
"`${cn.author
}
<br>${en.author
}
`"
prop
=
"author"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
author
}}
<
br
/>
{{
en
.
author
}}
<
/div
>
<
/template
>
<
el
-
input
v
-
model
=
"form.author"
:
placeholder
=
"`${cn.author
}
${en.author
}
`"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"备注"
prop
=
"remark"
>
<
el
-
input
v
-
model
=
"form.remark"
type
=
"textarea"
placeholder
=
"请输入内容"
/>
<
el
-
form
-
item
:
label
=
"`${cn.remark
}
<br>${en.remark
}
`"
prop
=
"remark"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
remark
}}
<
br
/>
{{
en
.
remark
}}
<
/div
>
<
/template
>
<
el
-
input
v
-
model
=
"form.remark"
type
=
"textarea"
:
placeholder
=
"`${cn.remark
}
${en.remark
}
`"
/>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"${comment
}
"
prop
=
"delFlag"
>
<
el
-
input
v
-
model
=
"form.delFlag"
placeholder
=
"请输入${comment
}
"
/>
<
el
-
form
-
item
:
label
=
"`${cn.delFlag
}
<br>${en.delFlag
}
`"
prop
=
"delFlag"
>
<
template
#
label
>
<
div
style
=
"line-height: 15px;"
>
{{
cn
.
delFlag
}}
<
br
/>
{{
en
.
delFlag
}}
<
/div
>
<
/template
>
<
el
-
input
v
-
model
=
"form.delFlag"
:
placeholder
=
"`${cn.delFlag
}
${en.delFlag
}
`"
/>
<
/el-form-item
>
<
/el-form
>
<
template
#
footer
>
<
div
class
=
"dialog-footer"
>
<
el
-
button
type
=
"primary"
@
click
=
"submitForm"
>
确
定
<
/el-button
>
<
el
-
button
@
click
=
"cancel"
>
取
消
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"submitForm"
>
{{
cn
.
confirm
}}
/
{{
en
.
confirm
}}
<
/el-button
>
<
el
-
button
@
click
=
"cancel"
>
{{
cn
.
cancel
}}
/
{{
en
.
cancel
}}
<
/el-button
>
<
/div
>
<
/template
>
<
/el-dialog
>
...
...
@@ -133,12 +308,16 @@
<
script
setup
>
import
{
listList
,
getDataList
,
delList
,
addList
,
updateList
}
from
"@/api/marketRegulations/list"
;
import
{
ref
}
from
'vue'
;
import
cn
from
'@/locales/baseData/marketRegulations/cn.json'
;
import
en
from
'@/locales/baseData/marketRegulations/en.json'
const
{
proxy
}
=
getCurrentInstance
();
const
{
marketregulations_list_status
}
=
proxy
.
useDict
(
'marketregulations_list_status'
)
const
tableList
=
ref
([]);
import
{
useRouter
}
from
'vue-router'
;
// 补充 operation 文案到 cn 和 en 对象
cn
.
operation
=
'操作'
;
en
.
operation
=
'Operation'
;
const
router
=
useRouter
();
const
open
=
ref
(
false
);
const
loading
=
ref
(
true
);
...
...
src/views/baseData/marketRegulations/info.vue
View file @
275ba859
...
...
@@ -2,179 +2,355 @@
<div
class=
"app-container"
>
<div
@
click=
"boBack"
style=
"display: flex;align-items: center;width: 100%;border-bottom: 1px solid #cbcbcb;padding-bottom: 10px"
>
<el-icon><ArrowLeftBold
/></el-icon>
<span
style=
"margin-left: 10px"
>
查看
</span>
<span
style=
"margin-left: 10px"
>
{{
cn
.
view
}}
/
{{
en
.
view
}}
</span>
</div>
<!-- 基本信息整体div
-->
<!-- 基本信息整体div
-->
<div
class=
"baseInfo"
>
<div
class=
"baseInfoTitle"
>
基本信息
</div>
<div
class=
"baseInfoTitle"
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
basicInfo
}}
<br/>
{{
en
.
basicInfo
}}
</div>
</div>
<el-row>
<el-col
:span=
"2"
>
<span
>
适用市场
</span>
<span>
<div
style=
"line-height: 15px;"
>
{{
cn
.
applicableMarket
}}
<br/>
{{
en
.
applicableMarket
}}
</div>
</span>
</el-col>
<el-col
:span=
"7"
>
<span
>
{{
dataOBj
.
applicableMarket
}}
</span>
<span>
{{
dataOBj
.
applicableMarket
}}
</span>
</el-col>
<el-col
:offset=
"-1"
:span=
"2"
>
<span
>
清单编号
</span>
<span>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listCode
}}
<br/>
{{
en
.
listCode
}}
</div>
</span>
</el-col>
<el-col
:span=
"3"
>
<span
>
{{
dataOBj
.
listCode
}}
</span>
<span>
{{
dataOBj
.
listCode
}}
</span>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"2"
>
<span
>
清单名称
</span>
<span>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listName
}}
<br/>
{{
en
.
listName
}}
</div>
</span>
</el-col>
<el-col
:span=
"7"
>
<span
>
{{
dataOBj
.
listName
}}
</span>
<span>
{{
dataOBj
.
listName
}}
</span>
</el-col>
<el-col
:offset=
"-1"
:span=
"2"
>
<span
>
左/右舵
</span>
<span>
<div
style=
"line-height: 15px;"
>
{{
cn
.
steeringType
}}
<br/>
{{
en
.
steeringType
}}
</div>
</span>
</el-col>
<el-col
:span=
"3"
>
<span
>
{{
dataOBj
.
steeringType
}}
</span>
<span>
{{
dataOBj
.
steeringType
}}
</span>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"2"
>
<span
>
作者
</span>
<span>
<div
style=
"line-height: 15px;"
>
{{
cn
.
author
}}
<br/>
{{
en
.
author
}}
</div>
</span>
</el-col>
<el-col
:span=
"2"
>
<span
>
{{
dataOBj
.
author
}}
</span>
<span>
{{
dataOBj
.
author
}}
</span>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"2"
>
<span
>
发布时间
</span>
<span>
<div
style=
"line-height: 15px;"
>
{{
cn
.
releaseDate
}}
<br/>
{{
en
.
releaseDate
}}
</div>
</span>
</el-col>
<el-col
:span=
"2"
>
<span
>
{{
dataOBj
.
releaseDate
}}
</span>
<span>
{{
dataOBj
.
releaseDate
}}
</span>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"2"
>
<span
>
清单说明
</span>
<span>
<div
style=
"line-height: 15px;"
>
{{
cn
.
listExplain
}}
<br/>
{{
en
.
listExplain
}}
</div>
</span>
</el-col>
<el-col
:span=
"9"
>
<span
>
{{
dataOBj
.
listExplain
}}
</span>
<span>
{{
dataOBj
.
listExplain
}}
</span>
</el-col>
</el-row>
</div>
<!-- 市场法规清单列表-->
<div
>
<div
class=
"baseInfoTitle"
>
市场法规清单
</div>
<!-- 市场法规清单列表 -->
<div>
<div
class=
"baseInfoTitle"
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
marketRegulationsList
}}
<br/>
{{
en
.
marketRegulationsList
}}
</div>
</div>
<el-form
v-model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
label-width=
"70px"
>
<el-form-item
label=
"标准编号"
prop=
"standardNumber"
>
<el-form-item
:label=
"`$
{cn.standardNumber}
<br>
${en.standardNumber}`" prop="standardNumber">
<template
#
label
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
standardNumber
}}
<br/>
{{
en
.
standardNumber
}}
</div>
</
template
>
<el-input
v-model=
"queryParams.standardNumber"
placeholder=
"请输入适标准编号
"
:placeholder=
"`${cn.standardNumber}${en.standardNumber}`
"
clearable
/>
</el-form-item>
<el-form-item
label=
"标准名称"
prop=
"standardName"
>
<el-form-item
:label=
"`${cn.standardName}<br>${en.standardName}`"
prop=
"standardName"
>
<
template
#
label
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
standardName
}}
<br/>
{{
en
.
standardName
}}
</div>
</
template
>
<el-input
v-model=
"queryParams.standardName"
placeholder=
"请输入标准名称
"
:placeholder=
"`${cn.standardName}${en.standardName}`
"
clearable
/>
</el-form-item>
<el-form-item
style=
"float: right"
>
<el-button
type=
"primary"
icon=
"Search"
@
click=
"handleQuery"
>
查询
</el-button>
<el-button
icon=
"Refresh"
@
click=
"resetQuery"
>
清空
</el-button>
<el-button
type=
"primary"
class=
"btn-A"
@
click=
"handleQuery"
>
{{cn.search}}/{{en.search}}
</el-button>
<el-button
@
click=
"resetQuery"
class=
"btn-C"
>
{{cn.reset}}/{{en.reset}}
</el-button>
</el-form-item>
</el-form>
<el-table
:data=
"tableList"
>
<el-table-column
type=
"index"
width=
"55"
align=
"center"
label=
"序号"
/>
<el-table-column
label=
"类型"
align=
"center"
prop=
"standardType"
/>
<el-table-column
label=
"标准编号"
align=
"center"
prop=
"standardNumber"
/>
<el-table-column
label=
"标准名称"
align=
"center"
prop=
"standardName"
/>
<el-table-column
show-overflow-tooltip
label=
"标准英文名称"
align=
"center"
prop=
"standardEnglishName"
width=
"130"
/>
<el-table-column
type=
"index"
width=
"55"
align=
"center"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
serialNumber
}}
<br/>
{{
en
.
serialNumber
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"类型"
align=
"center"
prop=
"standardType"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
standardType
}}
<br/>
{{
en
.
standardType
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"标准编号"
align=
"center"
prop=
"standardNumber"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
standardNumber
}}
<br/>
{{
en
.
standardNumber
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"标准名称"
align=
"center"
prop=
"standardName"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
standardName
}}
<br/>
{{
en
.
standardName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
show-overflow-tooltip
label=
"标准英文名称"
align=
"center"
prop=
"standardEnglishName"
width=
"130"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
standardEnglishName
}}
<br/>
{{
en
.
standardEnglishName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"等效法规"
align=
"center"
prop=
"equivalentRegulation"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
equivalentRegulation
}}
<br/>
{{
en
.
equivalentRegulation
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
equivalentRegulation
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"被代替标准编号"
align=
"center"
prop=
"replacedStandardCode"
width=
"130"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
replacedStandardCode
}}
<br/>
{{
en
.
replacedStandardCode
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
replacedStandardCode
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"新认证车实施日期"
align=
"center"
prop=
"newCertificationCarDate"
width=
"140"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
newCertificationCarDate
}}
<br/>
{{
en
.
newCertificationCarDate
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
newAuthImplDate
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"新生产车实施日期"
align=
"center"
prop=
"newProductionCarDate"
width=
"140"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
newProductionCarDate
}}
<br/>
{{
en
.
newProductionCarDate
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
newProductImplDate
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"注册日期"
align=
"center"
prop=
"registrationDate"
width=
"140"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
registrationDate
}}
<br/>
{{
en
.
registrationDate
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
registrationDate
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"适用市场"
align=
"center"
prop=
"country"
>
<el-table-column
label=
"适用市场"
align=
"center"
prop=
"country"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
applicableMarket
}}
<br/>
{{
en
.
applicableMarket
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
country
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"适用车型"
align=
"center"
prop=
"applicableModel"
>
<el-table-column
label=
"适用车型"
align=
"center"
prop=
"applicableModel"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
applicableModel
}}
<br/>
{{
en
.
applicableModel
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
applicableModel
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"动力类型"
align=
"center"
prop=
"powerType"
>
<el-table-column
label=
"动力类型"
align=
"center"
prop=
"powerType"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
powerType
}}
<br/>
{{
en
.
powerType
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
powerType
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"认证对象"
align=
"center"
prop=
"certificationTarget"
width=
"140"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
certificationTarget
}}
<br/>
{{
en
.
certificationTarget
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
certificationTarget
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"认证交付物"
align=
"center"
prop=
"certifyTheDeliverables"
width=
"140"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
certifyTheDeliverables
}}
<br/>
{{
en
.
certifyTheDeliverables
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
certifyTheDeliverables
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"批量限制"
align=
"center"
prop=
"batchLimit"
width=
"140"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
batchLimit
}}
<br/>
{{
en
.
batchLimit
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
batchLimit
||
'——'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
show-overflow-tooltip
align=
"center"
prop=
"remark"
>
<el-table-column
label=
"备注"
show-overflow-tooltip
align=
"center"
prop=
"remark"
>
<
template
#
header
>
<div
style=
"line-height: 15px;"
>
{{
cn
.
remark
}}
<br/>
{{
en
.
remark
}}
</div>
</
template
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
remark
||
'——'
}}
</span>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
...
...
@@ -185,9 +361,10 @@
/>
</div>
</div>
</template>
<
script
setup
>
import
cn
from
'@/locales/baseData/marketRegulations/cn.json'
;
import
en
from
'@/locales/baseData/marketRegulations/en.json'
;
import
{
getDataList
,
detailList
}
from
"@/api/marketRegulations/list"
;
import
{
useRoute
}
from
'vue-router'
;
const
route
=
useRoute
();
...
...
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