Merge branch 'develop' into 'test'

Develop

See merge request !82
This commit is contained in:
王夏晖
2021-08-16 02:08:11 +00:00
4 changed files with 34 additions and 6 deletions
@@ -178,6 +178,7 @@
show-overflow-tooltip show-overflow-tooltip
fixed="left" fixed="left"
width="180px" width="180px"
align="center"
label="标准号"> label="标准号">
<template slot-scope="scope"> <template slot-scope="scope">
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</span> <span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</span>
@@ -185,6 +186,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="standName"
align="center"
label="标准名称" label="标准名称"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -194,6 +196,7 @@
<el-table-column <el-table-column
prop="issueTime" prop="issueTime"
sortable sortable
align="center"
label="发布日期"> label="发布日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</span> <span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</span>
@@ -202,6 +205,7 @@
<el-table-column <el-table-column
prop="xcxssrqgj" prop="xcxssrqgj"
sortable sortable
align="center"
label="新车型实施日期"> label="新车型实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span> <span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span>
@@ -211,6 +215,7 @@
show-overflow-tooltip show-overflow-tooltip
prop="zccssrqgj" prop="zccssrqgj"
sortable sortable
align="center"
label="在产车实施日期"> label="在产车实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}</span> <span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}</span>
@@ -220,6 +225,7 @@
show-overflow-tooltip show-overflow-tooltip
prop="textStatus" prop="textStatus"
width="120px" width="120px"
align="center"
label="文本状态"> label="文本状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span> <span>{{ textStatusMap[scope.row.textStatus] }}</span>
@@ -268,6 +274,7 @@
show-overflow-tooltip show-overflow-tooltip
width="180px" width="180px"
fixed="left" fixed="left"
align="center"
label="标准号"> label="标准号">
<template slot-scope="scope"> <template slot-scope="scope">
<a @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a> <a @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
@@ -276,6 +283,7 @@
<el-table-column <el-table-column
prop="standName" prop="standName"
label="标准名称" label="标准名称"
align="center"
width="260px" width="260px"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -380,7 +388,7 @@
width="210px" width="210px"
label="卡车VPPS中文名称"> label="卡车VPPS中文名称">
</el-table-column> </el-table-column>
<el-table-column width="240" align="center" label="操作"> <el-table-column width="240" align="center" fixed="right" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
class="common-button-default" class="common-button-default"
@@ -163,6 +163,7 @@
show-overflow-tooltip show-overflow-tooltip
fixed="left" fixed="left"
width="180px" width="180px"
align="center"
label="标准号"> label="标准号">
<template slot-scope="scope"> <template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a> <a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
@@ -170,6 +171,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="standName"
align="center"
label="标准名称" label="标准名称"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -178,6 +180,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="issueTime" prop="issueTime"
align="center"
sortable sortable
label="发布日期"> label="发布日期">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -187,6 +190,7 @@
<el-table-column <el-table-column
prop="xcxssrqgj" prop="xcxssrqgj"
sortable sortable
align="center"
label="新车型实施日期"> label="新车型实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span> <span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span>
@@ -195,6 +199,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="zccssrqgj" prop="zccssrqgj"
align="center"
sortable sortable
label="在产车实施日期"> label="在产车实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -204,6 +209,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="textStatus" prop="textStatus"
align="center"
width="120px" width="120px"
label="文本状态"> label="文本状态">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -251,6 +257,7 @@
prop="standNumber" prop="standNumber"
show-overflow-tooltip show-overflow-tooltip
width="180px" width="180px"
align="center"
fixed="left" fixed="left"
label="标准号"> label="标准号">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -259,6 +266,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="standName"
align="center"
label="标准名称" label="标准名称"
width="260px" width="260px"
> >
@@ -364,7 +372,7 @@
width="210px" width="210px"
label="卡车VPPS中文名称"> label="卡车VPPS中文名称">
</el-table-column> </el-table-column>
<el-table-column width="240" align="center" label="操作"> <el-table-column width="240" align="center" fixed="right" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
class="common-button-default" class="common-button-default"
@@ -200,6 +200,7 @@
prop="standNumber" prop="standNumber"
show-overflow-tooltip show-overflow-tooltip
fixed="left" fixed="left"
align="center"
width="180px" width="180px"
label="标准号"> label="标准号">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -208,6 +209,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="standName"
align="center"
label="标准名称" label="标准名称"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -216,17 +218,20 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="typeApplicable" prop="typeApplicable"
align="center"
label="适用车型" label="适用车型"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="syrz" prop="syrz"
align="center"
label="适用认证" label="适用认证"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="issueTime" prop="issueTime"
sortable sortable
align="center"
label="发布日期"> label="发布日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</span> <span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</span>
@@ -235,6 +240,7 @@
<el-table-column <el-table-column
prop="xcxssrqgj" prop="xcxssrqgj"
sortable sortable
align="center"
label="新车型实施日期"> label="新车型实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span> <span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}</span>
@@ -244,6 +250,7 @@
show-overflow-tooltip show-overflow-tooltip
prop="zccssrqgj" prop="zccssrqgj"
sortable sortable
align="center"
label="在产车实施日期"> label="在产车实施日期">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}</span> <span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}</span>
@@ -253,6 +260,7 @@
show-overflow-tooltip show-overflow-tooltip
prop="textStatus" prop="textStatus"
width="120px" width="120px"
align="center"
label="文本状态"> label="文本状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span> <span>{{ textStatusMap[scope.row.textStatus] }}</span>
@@ -300,6 +308,7 @@
show-overflow-tooltip show-overflow-tooltip
width="180px" width="180px"
fixed="left" fixed="left"
align="center"
label="标准号"> label="标准号">
<template slot-scope="scope"> <template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a> <a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standNumber }}</a>
@@ -308,6 +317,7 @@
<el-table-column <el-table-column
prop="standName" prop="standName"
label="标准名称" label="标准名称"
align="center"
width="260px" width="260px"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -412,7 +422,7 @@
width="210px" width="210px"
label="卡车VPPS中文名称"> label="卡车VPPS中文名称">
</el-table-column> </el-table-column>
<el-table-column width="240" align="center" label="操作"> <el-table-column width="240" align="center" fixed="right" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
class="common-button-default" class="common-button-default"
@@ -1376,6 +1386,7 @@ export default {
}, e => { }, e => {
}) })
}, },
// 查询按钮
selectLawsStands () { selectLawsStands () {
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
this.sarAccessInfoSearch.standType = 'INLAND' this.sarAccessInfoSearch.standType = 'INLAND'
@@ -1402,6 +1413,7 @@ export default {
}, e => { }, e => {
}) })
}, },
// 高级查询-查询按钮
selectBtn() { selectBtn() {
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') { if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
this.sarAccessInfoSearch.standType = 'INLAND' this.sarAccessInfoSearch.standType = 'INLAND'
@@ -14,8 +14,8 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="零件分类号" class="search-item"> <el-form-item label="零件分类号" class="search-item">
<el-input placeholder="根据零件分类代号查询" clearable :maxlength="100" v-model="searchFormData.partCategoryCode"> <el-input placeholder="根据零件分类代号查询" clearable :maxlength="100" v-model="searchFormData.partCategoryCode">
</el-input> </el-input>
</el-form-item> </el-form-item>
@@ -254,7 +254,7 @@ export default {
.search-area { .search-area {
/deep/ .el-input__inner { /deep/ .el-input__inner {
width: 185px; width: 200px;
} }
} }