Commit d0fca11e authored by lwy's avatar lwy

备案参数总表页面-更改字段

parent baaf9348
...@@ -125,27 +125,27 @@ ...@@ -125,27 +125,27 @@
border border
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column label="序号" align="center"> <el-table-column label="序号" align="center" >
<template #default="scope"> <template #default="scope">
{{scope.$index + 1}} {{scope.$index + 1}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型代码" align="center" prop="modelCode" > <el-table-column label="车型代码" align="center" prop="modelCode" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.modelCode || '--' }} {{ scope.row.modelCode || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型系列" align="center" prop="modelSeries" > <el-table-column label="车型系列" align="center" prop="modelSeries" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.modelSeries || '--' }} {{ scope.row.modelSeries || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型公告号" align="center" prop="announcementNumber" > <el-table-column label="车型公告号" align="center" prop="announcementNumber" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.announcementNumber || '--' }} {{ scope.row.announcementNumber || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="整车生产企业地址" align="center" prop="productionAddress" > <el-table-column label="整车生产企业地址" align="center" prop="productionAddress" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.productionAddress || '--' }} {{ scope.row.productionAddress || '--' }}
</template> </template>
...@@ -155,38 +155,38 @@ ...@@ -155,38 +155,38 @@
{{ scope.row.vehicleProductName || '--' }} {{ scope.row.vehicleProductName || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="产品商标" align="center" prop="productTrademark" > <el-table-column label="产品商标" align="center" prop="productTrademark" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.productTrademark || '--' }} {{ scope.row.productTrademark || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型俗名" align="center" prop="vehicleCommonName" > <el-table-column label="车型俗名" align="center" prop="vehicleCommonName" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.vehicleCommonName || '--' }} {{ scope.row.vehicleCommonName || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="版本号" align="center" prop="versionNumber" > <el-table-column label="版本号" align="center" prop="versionNumber" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.versionNumber || '--' }} {{ scope.row.versionNumber || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="计划书编号" align="center" prop="planNumber" > <el-table-column label="计划书编号" align="center" prop="planNumber" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.planNumber || '--' }} {{ scope.row.planNumber || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="创建日期" align="center" prop="createTime" > <el-table-column label="创建日期" align="center" prop="createTime" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.createTime || '--' }} {{ scope.row.createTime || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<!-- 固定右侧 --> <!-- 固定右侧 -->
<el-table-column label="公告发布日期" align="center" prop="noticeDate" fixed="right"> <el-table-column label="公告发布日期" align="center" prop="noticeDate" fixed="right" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.noticeDate || '--' }} {{ scope.row.noticeDate || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="3C发布日期" align="center" prop="cccDate" fixed="right"> <el-table-column label="3C发布日期" align="center" prop="cccDate" fixed="right" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.cccDate || '--' }} {{ scope.row.cccDate || '--' }}
</template> </template>
...@@ -368,7 +368,12 @@ function handleExport() { ...@@ -368,7 +368,12 @@ function handleExport() {
function handleView(row) { function handleView(row) {
proxy.$router.push({ proxy.$router.push({
path: 'parameterDetail', path: 'parameterDetail',
query: {id: row.id} query: {
id: row.id,
modelCode: row.modelCode,
modelSeries: row.modelSeries,
announcementNumber: row.announcementNumber
}
}) })
} }
......
...@@ -130,22 +130,22 @@ ...@@ -130,22 +130,22 @@
{{scope.$index + 1}} {{scope.$index + 1}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型代码" align="center" prop="modelCode" > <el-table-column label="车型代码" align="center" prop="modelCode" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.modelCode || '--' }} {{ scope.row.modelCode || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型系列" align="center" prop="modelSeries" > <el-table-column label="车型系列" align="center" prop="modelSeries" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.modelSeries || '--' }} {{ scope.row.modelSeries || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型公告号" align="center" prop="announcementNumber" > <el-table-column label="车型公告号" align="center" prop="announcementNumber" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.announcementNumber || '--' }} {{ scope.row.announcementNumber || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="整车生产企业地址" align="center" prop="productionAddress" > <el-table-column label="整车生产企业地址" align="center" prop="productionAddress" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.productionAddress || '--' }} {{ scope.row.productionAddress || '--' }}
</template> </template>
...@@ -155,38 +155,38 @@ ...@@ -155,38 +155,38 @@
{{ scope.row.vehicleProductName || '--' }} {{ scope.row.vehicleProductName || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="产品商标" align="center" prop="productTrademark" > <el-table-column label="产品商标" align="center" prop="productTrademark" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.productTrademark || '--' }} {{ scope.row.productTrademark || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="车型俗名" align="center" prop="vehicleCommonName" > <el-table-column label="车型俗名" align="center" prop="vehicleCommonName" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.vehicleCommonName || '--' }} {{ scope.row.vehicleCommonName || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="版本号" align="center" prop="versionNumber" > <el-table-column label="版本号" align="center" prop="versionNumber" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.versionNumber || '--' }} {{ scope.row.versionNumber || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="计划书编号" align="center" prop="planNumber" > <el-table-column label="计划书编号" align="center" prop="planNumber" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.planNumber || '--' }} {{ scope.row.planNumber || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="创建日期" align="center" prop="createTime" > <el-table-column label="创建日期" align="center" prop="createTime" sortable >
<template #default="scope"> <template #default="scope">
{{ scope.row.createTime || '--' }} {{ scope.row.createTime || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<!-- 固定右侧 --> <!-- 固定右侧 -->
<el-table-column label="公告发布日期" align="center" prop="noticeDate" fixed="right"> <el-table-column label="公告发布日期" align="center" prop="noticeDate" fixed="right" sortable>
<template #default="scope"> <template #default="scope">
{{ scope.row.noticeDate || '--' }} {{ scope.row.noticeDate || '--' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="3C发布日期" align="center" prop="cccDate" fixed="right"> <el-table-column label="3C发布日期" align="center" prop="cccDate" fixed="right" sortable>
<template #default="scope"> <template #default="scope">
{{ scope.row.cccDate || '--' }} {{ scope.row.cccDate || '--' }}
</template> </template>
...@@ -368,7 +368,12 @@ function handleExport() { ...@@ -368,7 +368,12 @@ function handleExport() {
function handleView(row) { function handleView(row) {
proxy.$router.push({ proxy.$router.push({
path: 'parameterDetail', path: 'parameterDetail',
query: { id: row.id} query: {
id: row.id,
modelCode: row.modelCode,
modelSeries: row.modelSeries,
announcementNumber: row.announcementNumber
}
}) })
} }
onMounted(() => { onMounted(() => {
......
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px"> <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="项目" prop="fieldName"> <div style="display:flex;align-items:center;margin-bottom:16px">
<span style="margin-right:16px">车型代码: {{ modelCode || '--' }}</span>
<span style="margin-right:16px">车型系列: {{ modelSeries || '--' }}</span>
<span style="margin-right:16px">车型公告号: {{ announcementNumber || '--' }}</span>
<el-form-item label="项目" prop="fieldName">
<el-input <el-input
v-model="queryParams.fieldName" v-model="queryParams.fieldName"
placeholder="请输入" placeholder="请输入"
...@@ -21,15 +25,9 @@ ...@@ -21,15 +25,9 @@
<el-button class="btn-A" icon="Search" @click="handleQuery">搜索</el-button> <el-button class="btn-A" icon="Search" @click="handleQuery">搜索</el-button>
<el-button class="btn-B" icon="Refresh" @click="resetQuery">重置</el-button> <el-button class="btn-B" icon="Refresh" @click="resetQuery">重置</el-button>
</el-form-item> </el-form-item>
</div>
</el-form> </el-form>
<!-- <el-button
style="border: 1px solid #0154fb;color: #0154fb;float:right;margin-bottom: 24px;width: 66px"
plain
@click="handleExport"
v-hasPermi="['filingParameter:parameter:export']"
>导出</el-button>-->
<el-row :gutter="0" style="margin-bottom:24px"> <el-row :gutter="0" style="margin-bottom:24px">
<el-col :span="24" style="text-align:right"> <el-col :span="24" style="text-align:right">
<el-button <el-button
...@@ -75,6 +73,9 @@ import { useRoute } from 'vue-router'; ...@@ -75,6 +73,9 @@ import { useRoute } from 'vue-router';
const route = useRoute(); const route = useRoute();
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const modelCode = route.query.modelCode
const modelSeries = route.query.modelSeries
const announcementNumber = route.query.announcementNumber
const parameterList = ref([]); const parameterList = ref([]);
const open = ref(false); const open = ref(false);
const loading = ref(true); const loading = ref(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment