标准法规清单页面
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="attribute-custom v-class">
|
<div class="attribute-custom v-class">
|
||||||
<div class="action-bar1">
|
<div class="action-bar1">
|
||||||
<el-button class="common-button-primary add-button" size="mini" v-btn-permission="'df57f63c9e993bbfb2a4b400d5257577'" type="primary" @click="showAddModel"><i class="iconfont"></i>新增</el-button>
|
<el-button class="common-button-primary add-button" size="mini" v-btn-permission="''" type="primary" @click="showAddModel"><i class="iconfont"></i>新增</el-button>
|
||||||
<el-button class="common-button-default" size="mini" v-btn-permission="'9557b51320a50728d7047448d01c57c6'" @click="showDisplayLocationDialog">展示区域管理</el-button>
|
<el-button class="common-button-default" size="mini" v-btn-permission="''" @click="showDisplayLocationDialog">展示区域管理</el-button>
|
||||||
</div>
|
</div>
|
||||||
<loading :loading="attributeDataLoading">数据处理中</loading>
|
<loading :loading="attributeDataLoading">数据处理中</loading>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -76,8 +76,8 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item v-btn-permission="'abba040e019fad5092624ffd71a70372'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>
|
<el-dropdown-item v-btn-permission="''" :command="[scope.row, '编辑']">编辑</el-dropdown-item>
|
||||||
<el-dropdown-item v-btn-permission="'730c9240a8f80bcdb88c71adb37f2aa7'" :disabled="scope.row.isEdit==='1'" :command="[scope.row, '删除']">删除</el-dropdown-item>
|
<el-dropdown-item v-btn-permission="''" :disabled="scope.row.isEdit==='1'" :command="[scope.row, '删除']">删除</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
<stand v-if="tabValue === 'stand'"></stand>
|
<stand v-if="tabValue === 'stand'"></stand>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="国内外政策" name="laws">
|
<!-- <el-tab-pane label="国内外政策" name="laws">
|
||||||
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
|
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
|
||||||
<laws v-if="tabValue === 'laws'"></laws>
|
<laws v-if="tabValue === 'laws'"></laws>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>-->
|
||||||
<el-tab-pane label="企业标准库" name="buss">
|
<el-tab-pane label="企业标准库" name="buss">
|
||||||
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
|
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
|
||||||
<buss v-if="tabValue === 'buss'"></buss>
|
<buss v-if="tabValue === 'buss'"></buss>
|
||||||
|
|||||||
+8
-2
@@ -117,7 +117,7 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="applicationScope"
|
prop="applicationScope"
|
||||||
label="适用领域"
|
label="适用领域"
|
||||||
align="center">
|
align="center">
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updateTime"
|
prop="updateTime"
|
||||||
label="更新时间"
|
label="更新时间"
|
||||||
@@ -188,6 +188,7 @@ export default {
|
|||||||
selectedList: [],
|
selectedList: [],
|
||||||
// 新增、编辑 准入信息字段
|
// 新增、编辑 准入信息字段
|
||||||
sarAccessEO: {
|
sarAccessEO: {
|
||||||
|
relateFile: '',
|
||||||
country: "",
|
country: "",
|
||||||
applyArctic: "",
|
applyArctic: "",
|
||||||
energyKind: "",
|
energyKind: "",
|
||||||
@@ -261,11 +262,16 @@ export default {
|
|||||||
searchSarAccess() {
|
searchSarAccess() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
sortKey: 1,
|
sortKey: 1,
|
||||||
|
page: 1,
|
||||||
|
pageSize: 10,
|
||||||
...this.sarSarAccessEOSearch,
|
...this.sarSarAccessEOSearch,
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records;
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.sarAccessListDatas.forEach(item => {
|
||||||
|
this.$set(item,'relateFile','')
|
||||||
|
})
|
||||||
this.sarAccessListTotal = res.data.total
|
this.sarAccessListTotal = res.data.total
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="applicationScope"
|
prop="applicationScope"
|
||||||
label="适用领域"
|
label="适用领域"
|
||||||
align="center">
|
align="center">
|
||||||
@@ -117,14 +117,14 @@
|
|||||||
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updateTime"
|
prop="updateTime"
|
||||||
label="更新时间"
|
label="更新时间"
|
||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -269,6 +269,8 @@ export default {
|
|||||||
searchSarAccess() {
|
searchSarAccess() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
...this.sarSarAccessEOSearch,
|
...this.sarSarAccessEOSearch,
|
||||||
|
page: 1,
|
||||||
|
pageSize: 10,
|
||||||
sortKey: 3
|
sortKey: 3
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
|
|||||||
@@ -109,7 +109,7 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
prop="applicationScope"
|
prop="applicationScope"
|
||||||
label="适用领域"
|
label="适用领域"
|
||||||
align="center">
|
align="center">
|
||||||
@@ -118,14 +118,14 @@
|
|||||||
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updateTime"
|
prop="updateTime"
|
||||||
label="更新时间"
|
label="更新时间"
|
||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -270,6 +270,8 @@ export default {
|
|||||||
searchSarAccess() {
|
searchSarAccess() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
...this.sarSarAccessEOSearch,
|
...this.sarSarAccessEOSearch,
|
||||||
|
page: 1,
|
||||||
|
pageSize: 10,
|
||||||
sortKey: 2
|
sortKey: 2
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -294,7 +296,7 @@ export default {
|
|||||||
projectName: "",
|
projectName: "",
|
||||||
detailedListName: "",
|
detailedListName: "",
|
||||||
};
|
};
|
||||||
this.searchSarAccess();
|
this.searchSarAccess()
|
||||||
|
|
||||||
},
|
},
|
||||||
// 新增相关
|
// 新增相关
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
<!-- <el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="sarAccessEO.applicationScope"
|
v-model="sarAccessEO.applicationScope"
|
||||||
multiple
|
multiple
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>-->
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -336,40 +336,93 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
sortable
|
align="center"
|
||||||
label="发布日期">
|
width="180px"
|
||||||
|
label="英文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrq"
|
prop="issueTime"
|
||||||
sortable
|
align="center"
|
||||||
label="新车型实施日期">
|
width="180px"
|
||||||
|
label="适用车型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
prop="issueTime"
|
||||||
prop="zccssrq"
|
align="center"
|
||||||
sortable
|
width="180px"
|
||||||
label="在产车实施日期">
|
label="能源类型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
prop="issueTime"
|
||||||
prop="textStatus"
|
sortable
|
||||||
width="120px"
|
align="center"
|
||||||
label="文本状态">
|
width="210px"
|
||||||
|
label="标准实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="zccssrq"
|
||||||
|
sortable
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
|
label="在产车实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="XCXSSRQ"
|
||||||
|
sortable
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="新车型实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="zccssrq"
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
|
label="责任部门">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
width="180px"
|
||||||
|
align="center"
|
||||||
|
label="适用产品线">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
|
label="乘用车VPPS中文名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="卡车VPPS编码">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column>
|
<el-table-column>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
type="primary"
|
type="primary"
|
||||||
size="small" @click="moveUp(scope.$index, scope.row)"
|
size="small" @click="moveUp(scope.$index, scope.row)"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>上移</el-button>
|
>上移</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
type="danger"
|
type="danger"
|
||||||
size="small" @click="moveDown(scope.$index, scope.row)"
|
size="small" @click="moveDown(scope.$index, scope.row)"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>下移</el-button>
|
>下移</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -484,7 +537,7 @@ export default {
|
|||||||
type: '',
|
type: '',
|
||||||
relateFile: '',
|
relateFile: '',
|
||||||
remark: '', // 清单说明
|
remark: '', // 清单说明
|
||||||
applicationScope: '' //适用领域
|
// applicationScope: '' //适用领域
|
||||||
},
|
},
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
@@ -525,7 +578,7 @@ export default {
|
|||||||
sarAccessInfoSearch: {
|
sarAccessInfoSearch: {
|
||||||
id: '',
|
id: '',
|
||||||
countryArea: '', // 国家
|
countryArea: '', // 国家
|
||||||
applicationScope: '', //适用区域
|
// applicationScope: '', //适用区域
|
||||||
keywords: '', // 关键字
|
keywords: '', // 关键字
|
||||||
detailedListName: '', //清单名称
|
detailedListName: '', //清单名称
|
||||||
applyArctic: '', // 能源种类
|
applyArctic: '', // 能源种类
|
||||||
@@ -790,6 +843,7 @@ export default {
|
|||||||
uploadBackSuccess (res, file, fileList) {
|
uploadBackSuccess (res, file, fileList) {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.fileInfoList = fileList
|
this.fileInfoList = fileList
|
||||||
|
console.log(this.fileInfoList)
|
||||||
this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
|
this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
|
||||||
this.$message.success('上传成功')
|
this.$message.success('上传成功')
|
||||||
} else {
|
} else {
|
||||||
@@ -1122,7 +1176,7 @@ export default {
|
|||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -1130,6 +1184,7 @@ export default {
|
|||||||
relateFile.push(item.id)
|
relateFile.push(item.id)
|
||||||
})
|
})
|
||||||
sarAccessEO.relateFile = relateFile.join(',')
|
sarAccessEO.relateFile = relateFile.join(',')
|
||||||
|
console.log(sarAccessEO.relateFile)
|
||||||
}
|
}
|
||||||
if (!sarAccessEO.id) {
|
if (!sarAccessEO.id) {
|
||||||
// 新增
|
// 新增
|
||||||
@@ -1140,10 +1195,15 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.$message.success('新增成功')
|
||||||
this.isNext = true
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations',
|
||||||
|
query: {
|
||||||
|
relateFile: sarAccessEO.relateFile
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
console.log(sarAccessEO)
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -1154,6 +1214,7 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.$message.success('编辑成功')
|
||||||
this.isNext = true
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
@@ -1376,8 +1437,8 @@ export default {
|
|||||||
this.sarAccessInfoList.push(nowstandinfo)
|
this.sarAccessInfoList.push(nowstandinfo)
|
||||||
this.sarAccessInfoList[this.sarAccessInfoList.length - 1].uuid = this.number
|
this.sarAccessInfoList[this.sarAccessInfoList.length - 1].uuid = this.number
|
||||||
this.number++
|
this.number++
|
||||||
this.isSubmit = false
|
|
||||||
this.$message.success('添加成功')
|
this.$message.success('添加成功')
|
||||||
|
this.isSubmit = false
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoList.map((item, index) => {
|
this.sarAccessInfoList.map((item, index) => {
|
||||||
if (item.uuid === nowstandinfo.uuid) {
|
if (item.uuid === nowstandinfo.uuid) {
|
||||||
@@ -1678,7 +1739,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
|
// this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
|
||||||
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
||||||
this.sarAccessEO.id = accessRow.id
|
this.sarAccessEO.id = accessRow.id
|
||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
@@ -1768,4 +1829,4 @@ export default {
|
|||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -26,13 +26,13 @@
|
|||||||
title="下载"
|
title="下载"
|
||||||
@click="downloadFile(item.id)"
|
@click="downloadFile(item.id)"
|
||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="'E5QPKLR9CFVXTV64N32C'"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
<i
|
<i
|
||||||
title="下载带水印"
|
title="下载带水印"
|
||||||
@click="downloadFileByWater(item.id,item.name)"
|
@click="downloadFileByWater(item.id,item.name)"
|
||||||
class="icon-download2"
|
class="icon-download2"
|
||||||
v-btn-permission="'43MBNPD59L2VYEQH4DSL'"
|
v-btn-permission="''"
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -452,6 +452,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 请求上传的文件信息
|
// 请求上传的文件信息
|
||||||
getFileInfo() {
|
getFileInfo() {
|
||||||
|
console.log(this.sarAccessEO)
|
||||||
this.$http.get("att/attFile/getMultiFileInfos", {
|
this.$http.get("att/attFile/getMultiFileInfos", {
|
||||||
fileIds: this.sarAccessEO.relateFile
|
fileIds: this.sarAccessEO.relateFile
|
||||||
}, {
|
}, {
|
||||||
@@ -564,6 +565,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
|
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
|
||||||
|
console.log(accessRow)
|
||||||
this.pageId = accessRow.id
|
this.pageId = accessRow.id
|
||||||
this.sarAccessEO = accessRow;
|
this.sarAccessEO = accessRow;
|
||||||
this.selectInfobyAccid();
|
this.selectInfobyAccid();
|
||||||
|
|||||||
+67
-12
@@ -13,7 +13,7 @@
|
|||||||
<el-form-item label="清单类别" prop="detailedList" class="search-item">
|
<el-form-item label="清单类别" prop="detailedList" class="search-item">
|
||||||
<el-input v-model="sarAccessEO.detailedList" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
<el-input v-model="sarAccessEO.detailedList" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
<!-- <el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="sarAccessEO.applicationScope"
|
v-model="sarAccessEO.applicationScope"
|
||||||
multiple
|
multiple
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>-->
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -322,25 +322,78 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
sortable
|
align="center"
|
||||||
label="发布日期">
|
width="180px"
|
||||||
|
label="英文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrq"
|
prop="issueTime"
|
||||||
|
align="center"
|
||||||
|
width="180px"
|
||||||
|
label="适用车型">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
|
align="center"
|
||||||
|
width="180px"
|
||||||
|
label="能源类型">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
sortable
|
sortable
|
||||||
label="新车型实施日期">
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="标准实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="zccssrq"
|
prop="zccssrq"
|
||||||
sortable
|
sortable
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="XCXSSRQ"
|
||||||
|
sortable
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="新车型实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="zccssrq"
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
|
label="责任部门">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
width="120px"
|
width="180px"
|
||||||
label="文本状态">
|
align="center"
|
||||||
|
label="适用产品线">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
|
label="乘用车VPPS中文名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="卡车VPPS编码">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column>
|
<el-table-column>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -469,7 +522,7 @@ export default {
|
|||||||
type: '',
|
type: '',
|
||||||
relateFile: '',
|
relateFile: '',
|
||||||
remark: '', // 清单说明
|
remark: '', // 清单说明
|
||||||
applicationScope: '' //适用领域
|
// applicationScope: '' //适用领域
|
||||||
},
|
},
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
@@ -510,7 +563,7 @@ export default {
|
|||||||
sarAccessInfoSearch: {
|
sarAccessInfoSearch: {
|
||||||
id: '',
|
id: '',
|
||||||
countryArea: '', // 国家
|
countryArea: '', // 国家
|
||||||
applicationScope: '', //适用区域
|
// applicationScope: '', //适用区域
|
||||||
keywords: '', // 关键字
|
keywords: '', // 关键字
|
||||||
detailedListName: '', //清单名称
|
detailedListName: '', //清单名称
|
||||||
applyArctic: '', // 能源种类
|
applyArctic: '', // 能源种类
|
||||||
@@ -1107,7 +1160,7 @@ export default {
|
|||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -1125,6 +1178,7 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.$message.success('新增成功')
|
||||||
this.isNext = true
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
@@ -1139,6 +1193,7 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.$message.success('编辑成功')
|
||||||
this.isNext = true
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
@@ -1669,7 +1724,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
|
// this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
|
||||||
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
||||||
this.sarAccessEO.id = accessRow.id
|
this.sarAccessEO.id = accessRow.id
|
||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
|
|||||||
+67
-12
@@ -13,7 +13,7 @@
|
|||||||
<el-form-item label="项目名称" prop="projectName" class="search-item">
|
<el-form-item label="项目名称" prop="projectName" class="search-item">
|
||||||
<el-input v-model="sarAccessEO.projectName" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
<el-input v-model="sarAccessEO.projectName" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
<!-- <el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="sarAccessEO.applicationScope"
|
v-model="sarAccessEO.applicationScope"
|
||||||
multiple
|
multiple
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>-->
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -322,25 +322,78 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
sortable
|
align="center"
|
||||||
label="发布日期">
|
width="180px"
|
||||||
|
label="英文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrq"
|
prop="issueTime"
|
||||||
|
align="center"
|
||||||
|
width="180px"
|
||||||
|
label="适用车型">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
|
align="center"
|
||||||
|
width="180px"
|
||||||
|
label="能源类型">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
sortable
|
sortable
|
||||||
label="新车型实施日期">
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="标准实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="zccssrq"
|
prop="zccssrq"
|
||||||
sortable
|
sortable
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="XCXSSRQ"
|
||||||
|
sortable
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="新车型实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="zccssrq"
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
|
label="责任部门">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="textStatus"
|
prop="textStatus"
|
||||||
width="120px"
|
width="180px"
|
||||||
label="文本状态">
|
align="center"
|
||||||
|
label="适用产品线">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
width="210px"
|
||||||
|
align="center"
|
||||||
|
label="乘用车VPPS中文名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="卡车VPPS编码">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
align="center"
|
||||||
|
width="210px"
|
||||||
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column>
|
<el-table-column>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -469,7 +522,7 @@ export default {
|
|||||||
type: '',
|
type: '',
|
||||||
relateFile: '',
|
relateFile: '',
|
||||||
remark: '', // 清单说明
|
remark: '', // 清单说明
|
||||||
applicationScope: '' //适用领域
|
// applicationScope: '' //适用领域
|
||||||
},
|
},
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
@@ -510,7 +563,7 @@ export default {
|
|||||||
sarAccessInfoSearch: {
|
sarAccessInfoSearch: {
|
||||||
id: '',
|
id: '',
|
||||||
countryArea: '', // 国家
|
countryArea: '', // 国家
|
||||||
applicationScope: '', //适用区域
|
// applicationScope: '', //适用区域
|
||||||
keywords: '', // 关键字
|
keywords: '', // 关键字
|
||||||
detailedListName: '', //清单名称
|
detailedListName: '', //清单名称
|
||||||
applyArctic: '', // 能源种类
|
applyArctic: '', // 能源种类
|
||||||
@@ -1108,7 +1161,7 @@ export default {
|
|||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -1126,6 +1179,7 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.$message.success('新增成功')
|
||||||
this.isNext = true
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
@@ -1140,6 +1194,7 @@ export default {
|
|||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.$message.success('编辑成功')
|
||||||
this.isNext = true
|
this.isNext = true
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'AccessStandardsAndRegulations'
|
name: 'AccessStandardsAndRegulations'
|
||||||
@@ -1670,7 +1725,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
|
// this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
|
||||||
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
||||||
this.sarAccessEO.id = accessRow.id
|
this.sarAccessEO.id = accessRow.id
|
||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
|
|||||||
Reference in New Issue
Block a user