@@ -909,4 +909,8 @@ tr.el-table__row{
|
||||
.button-list {
|
||||
padding: 5px 0px;
|
||||
}
|
||||
.myNewSelect {
|
||||
backgrounnd: red;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ import DeptRoleTree from './deptRoleTree' // 根据部门查询角色
|
||||
import RoleTree from './roleTree' // 查询所有机构及人员
|
||||
import SQTree from './SQTree'
|
||||
import OrgTable from './OrgTable'
|
||||
import MySelect from './mySelect'
|
||||
|
||||
const install = function (Vue) {
|
||||
Vue.component('loading', Loading)
|
||||
@@ -48,6 +49,7 @@ const install = function (Vue) {
|
||||
Vue.component('SQTree', SQTree)
|
||||
Vue.component('OrgTable', OrgTable)
|
||||
Vue.component('RoleTree', RoleTree)
|
||||
Vue.component('MySelect', MySelect)
|
||||
}
|
||||
|
||||
export default {
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
<template>
|
||||
<div id="mySelect">
|
||||
<el-dropdown placement="bottom" @command="handleCommand" trigger="click">
|
||||
<div class="my-select-input__wrap">
|
||||
<input class="el-input__inner" type="text" v-model.lazy="selectVal" v-show="false">
|
||||
<input class="el-input__inner mySelect" type="text" v-model.lazy="showLabel" readonly="readonly">
|
||||
</div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item
|
||||
v-for="(item,index) in options"
|
||||
:key="index"
|
||||
:command="item">{{ item.label }}</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
<i class="el-icon-arrow-down myIcon"></i>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "mySelect",
|
||||
data() {
|
||||
return {
|
||||
showLabel: '',
|
||||
activeLi: '',
|
||||
active: false,
|
||||
selectVal: ''
|
||||
}
|
||||
},
|
||||
props: {
|
||||
value: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
options: { // option
|
||||
type: Array,
|
||||
default: () => {
|
||||
return []
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleCommand (row) {
|
||||
this.selectVal = row.label
|
||||
this.showLabel = row.label
|
||||
this.active = !this.active
|
||||
this.$emit('update:value', this.selectVal);
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
value: {
|
||||
immediate: true,
|
||||
handler (val) {
|
||||
this.selectVal = val
|
||||
for (let a = 0; a < this.options.length; a++) {
|
||||
if (this.selectVal === this.options[a].value) {
|
||||
this.showLabel = this.options[a].label
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
for (let a = 0; a < this.options.length; a++) {
|
||||
if (this.selectVal === this.options[a].value) {
|
||||
this.showLabel = this.options[a].label
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
#mySelect {
|
||||
|
||||
}
|
||||
.active {
|
||||
background-color: rgb(245, 247, 250);
|
||||
}
|
||||
.mySelect {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.mySelect:focus + .myIcon{
|
||||
transform:rotate(180deg);
|
||||
-ms-transform:rotate(180deg); /* IE 9 */
|
||||
-moz-transform:rotate(180deg); /* Firefox */
|
||||
-webkit-transform:rotate(180deg); /* Safari 和 Chrome */
|
||||
-o-transform:rotate(180deg);
|
||||
}
|
||||
.mySelect:focus-within + .myIcon{
|
||||
transform:rotate(180deg);
|
||||
-ms-transform:rotate(180deg); /* IE 9 */
|
||||
-moz-transform:rotate(180deg); /* Firefox */
|
||||
-webkit-transform:rotate(180deg); /* Safari 和 Chrome */
|
||||
-o-transform:rotate(180deg);
|
||||
}
|
||||
.myIcon {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
right: 7px;
|
||||
top: calc(~'50% - 7px');
|
||||
transition: all .3s;
|
||||
}
|
||||
</style>
|
||||
@@ -353,7 +353,7 @@ export default {
|
||||
showRegionId: '',
|
||||
selVal: '',
|
||||
isSearch: '1',
|
||||
sarType: '',
|
||||
sarType: 'STAND',
|
||||
isWarn: '1'
|
||||
},
|
||||
attrTypeOptions: [
|
||||
@@ -561,7 +561,7 @@ export default {
|
||||
queryDisplayLocationList (sarType) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('lawssBase/utArea/getAreaList', {
|
||||
sarType: 'INLAND_STAND'
|
||||
sarType: sarType
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
|
||||
@@ -51,12 +51,20 @@
|
||||
prop="showNumber"
|
||||
label="标准号/政策号"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.showNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standName"
|
||||
label="标准名称/政策名称"
|
||||
show-overflow-tooltip
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="fileTypeShow"
|
||||
@@ -800,6 +808,17 @@ export default {
|
||||
this.conditionForm.pageSize = pageSize
|
||||
this.getSearch()
|
||||
},
|
||||
//点击查看详情
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: 'INLAND_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
// 查询政策和标准
|
||||
getSearch () {
|
||||
if (this.conditionForm.standType === 'FOREIGN2') {
|
||||
|
||||
@@ -57,8 +57,8 @@
|
||||
label="标准号/政策号"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.showNumber}}</div>
|
||||
<div v-else>{{scope.row.standNumSplit}}</div>
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.showNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -66,8 +66,8 @@
|
||||
label="标准名称/政策名称"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.standName}}</div>
|
||||
<div v-else>{{scope.row.standNameSplit}}</div>
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -146,8 +146,8 @@
|
||||
label="标准号/政策号"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.showNumber}}</div>
|
||||
<div v-else>{{scope.row.standNumSplit}}</div>
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.showNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -155,8 +155,8 @@
|
||||
label="标准名称/政策名称"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.standName}}</div>
|
||||
<div v-else>{{scope.row.standNameSplit}}</div>
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -266,6 +266,17 @@ export default {
|
||||
// this.selectedSplitStandList2 = []
|
||||
// this.selectedSplitStandList2.push(this.addSpiltStandList2[0])
|
||||
},
|
||||
//点击查看详情
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: 'INLAND_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
// 条款比对
|
||||
addStandCompareHis () {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
@@ -235,8 +235,7 @@
|
||||
width="170"
|
||||
align="center">
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <div v-if=" scope.row.splitStatus === '0'">{{ scope.row.standNumSplit }}</div>-->
|
||||
<!-- <div v-else>{{ scope.row.showNumber }}</div>-->
|
||||
<!-- <div @click="showUser(scope.row)" class="table-jump">{{ scope.row.showNumber }}</div>-->
|
||||
<!-- </template>-->
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -245,8 +244,7 @@
|
||||
show-overflow-tooltip
|
||||
align="center">
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span v-if=" scope.row.splitStatus === '0'">{{ scope.row.standNameSplit }}</span>-->
|
||||
<!-- <span v-else>{{ scope.row.standName }}</span>-->
|
||||
<!-- <span @click="showUser(scope.row)" class="table-jump">{{ scope.row.standName }}</span>-->
|
||||
<!-- </template>-->
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -459,6 +457,24 @@
|
||||
ProcessTitle
|
||||
},
|
||||
methods: {
|
||||
showUser (row) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'ItemSplitInfo',
|
||||
query: {
|
||||
infoId: row.id,
|
||||
result: row.result,
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
// this.$store.commit('setDetailMap', this.$route.path)
|
||||
// this.$router.push({
|
||||
// name: 'ItemSplitInfo',
|
||||
// query: {
|
||||
// infoId: row.id,
|
||||
// result: row.result,
|
||||
// }
|
||||
// })
|
||||
},
|
||||
setMap(data){
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
|
||||
@@ -272,14 +272,14 @@
|
||||
choiceZRRS (row, type, index) {
|
||||
this.type = type
|
||||
if (type === 1) {
|
||||
this.drawerTitle = '选择责任部门对接人'
|
||||
this.drawerTitle = '选择执行人'
|
||||
this.nodeList2 = []
|
||||
this.zxIndex= index
|
||||
this.nodeList2.push(row)
|
||||
this.modalshowflag2 = true
|
||||
} else {
|
||||
// 批量
|
||||
this.drawerTitle = '批量选择责任部门对接人'
|
||||
this.drawerTitle = '批量选择执行人'
|
||||
if (this.zxIdList.length > 0) {
|
||||
this.nodeList2 = []
|
||||
this.modalshowflag2 = true
|
||||
|
||||
@@ -114,7 +114,9 @@
|
||||
label="核心技术要求"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.technicalRequir" placeholder="请输入核心技术要求" />
|
||||
<div class="el-input">
|
||||
<input class="el-input__inner" type="text" v-model.lazy="scope.row.technicalRequir" placeholder="请输入核心技术要求">
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -123,7 +125,9 @@
|
||||
label="基于上一版本差异"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.changePoint" placeholder="请输入基于上一版本差异" />
|
||||
<div class="el-input">
|
||||
<input class="el-input__inner" type="text" v-model.lazy="scope.row.changePoint" placeholder="请输入基于上一版本差异">
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -133,7 +137,9 @@
|
||||
label="相对于国行标差异点"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.changePoint" placeholder="请输入相对于国行标差异点" />
|
||||
<div class="el-input">
|
||||
<input class="el-input__inner" type="text" v-model.lazy="scope.row.changePoint" placeholder="请输入相对于国行标差异点" >
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -142,10 +148,7 @@
|
||||
label="符合项状态"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-select v-model="scope.row.complianceRequir">
|
||||
<el-option value="1" label="符合" key="1"></el-option>
|
||||
<el-option value="2" label="不符合" key="2"></el-option>
|
||||
</el-select>
|
||||
<My-select v-model="scope.row.complianceRequir" :options="fhList"></My-select>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -154,7 +157,9 @@
|
||||
label="合规性分析"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.complianceState" placeholder="请输入合规性分析" />
|
||||
<div class="el-input">
|
||||
<input class="el-input__inner" type="text" v-model.lazy="scope.row.complianceState" placeholder="请输入合规性分析">
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -164,7 +169,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-date-picker
|
||||
v-model="scope.row.newData"
|
||||
v-model.lazy="scope.row.newData"
|
||||
type="date"
|
||||
placeholder="选择新车型实施日期">
|
||||
</el-date-picker>
|
||||
@@ -177,7 +182,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-date-picker
|
||||
v-model="scope.row.onlineData"
|
||||
v-model.lazy="scope.row.onlineData"
|
||||
type="date"
|
||||
placeholder="选择新车型实施日期">
|
||||
</el-date-picker>
|
||||
@@ -189,9 +194,7 @@
|
||||
label="适用车型"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-select v-model="scope.row.applyArctic">
|
||||
<el-option v-for="(item,index) in cxList" :value="item.label" :label="item.label" :key="index"></el-option>
|
||||
</el-select>
|
||||
<My-select v-model="scope.row.applyArctic" :options="cxList"></My-select>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -367,6 +370,16 @@
|
||||
name: "bzjdStep3",
|
||||
data() {
|
||||
return {
|
||||
fhList: [
|
||||
{
|
||||
value: '1',
|
||||
label: '符合'
|
||||
},
|
||||
{
|
||||
value: '2',
|
||||
label: '不符合'
|
||||
}
|
||||
],
|
||||
cxList: [],
|
||||
histortData: [],
|
||||
plForm: {
|
||||
@@ -545,9 +558,9 @@
|
||||
item.changePoint = item.changePoint || ''
|
||||
item.technicalRequir = item.technicalRequir || ''
|
||||
item.itemsTitle = item.itermsConditions
|
||||
item.applyArctic = item.applyArctic || ''
|
||||
})
|
||||
this.itemList = itemList
|
||||
console.log(this.itemList)
|
||||
this.loading = false
|
||||
}).catch(e => {
|
||||
})
|
||||
@@ -561,6 +574,9 @@
|
||||
_this: this
|
||||
}, res => {
|
||||
this.cxList = res.data.ENERGYTYPES // 适用车型
|
||||
this.cxList.forEach(item => {
|
||||
item.value = item.label
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,6 +120,9 @@
|
||||
align="center"
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
@@ -622,6 +625,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -100,6 +100,9 @@
|
||||
label="标准名称"
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -91,6 +91,9 @@
|
||||
label="标准名称"
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -120,6 +120,9 @@
|
||||
align="center"
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
@@ -599,6 +602,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -91,6 +91,9 @@
|
||||
label="标准名称"
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -115,6 +115,9 @@
|
||||
label="标准名称"
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
@@ -323,6 +326,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -91,6 +91,9 @@
|
||||
label="标准名称"
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -220,13 +220,13 @@
|
||||
<el-table-column type="selection" width="55" align="center"/>
|
||||
<el-table-column label="标准号" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standYear">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</div>
|
||||
<div v-else>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</div>
|
||||
<div v-if="scope.row.standYear" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</div>
|
||||
<div v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="cname" label="标准名称" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.standName }}</div>
|
||||
<div @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -361,6 +361,23 @@
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let pageType
|
||||
if (item.standType === 'FOREIGN') {
|
||||
pageType = 'FOREIGN_STAND'
|
||||
} else {
|
||||
pageType = 'INLAND_STAND'
|
||||
}
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.id,
|
||||
pageType: pageType
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
getData () {
|
||||
queryTaskFirst({
|
||||
bpnId: this.$route.query.bpnId
|
||||
|
||||
@@ -221,13 +221,13 @@
|
||||
<el-table-column type="selection" width="55" align="center"/>
|
||||
<el-table-column label="标准号" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standYear">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</div>
|
||||
<div v-else>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</div>
|
||||
<div v-if="scope.row.standYear" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</div>
|
||||
<div v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="cname" label="标准名称" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.standName }}</div>
|
||||
<div @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -361,6 +361,23 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let pageType
|
||||
if (item.standType === 'FOREIGN') {
|
||||
pageType = 'FOREIGN_STAND'
|
||||
} else {
|
||||
pageType = 'INLAND_STAND'
|
||||
}
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.id,
|
||||
pageType: pageType
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
addZqyjList() {
|
||||
this.title = '国内外标准库'
|
||||
this.listModel = true
|
||||
|
||||
@@ -263,6 +263,9 @@
|
||||
prop="standName"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -250,6 +250,9 @@
|
||||
prop="standName"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
|
||||
@@ -62,12 +62,25 @@
|
||||
width="55"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="center"
|
||||
width="200px"
|
||||
label="标准号"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standName"
|
||||
align="center"
|
||||
label="中文名称"
|
||||
width="180px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standEnName"
|
||||
@@ -75,6 +88,9 @@
|
||||
align="center"
|
||||
width="180px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ssrq"
|
||||
@@ -510,6 +526,17 @@ export default {
|
||||
},
|
||||
pageChange(page) {
|
||||
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: 'INLAND_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
pageSizeChange(pageSize) {
|
||||
|
||||
|
||||
@@ -62,12 +62,25 @@
|
||||
width="55"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="center"
|
||||
width="200px"
|
||||
label="标准号"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standName"
|
||||
align="center"
|
||||
label="中文名称"
|
||||
width="180px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standEnName"
|
||||
@@ -75,6 +88,9 @@
|
||||
align="center"
|
||||
width="180px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ssrq"
|
||||
@@ -578,6 +594,17 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: 'INLAND_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
choiceZRR(type, title, id) {
|
||||
this.nodeList = [];
|
||||
this.nodeList.push(id);
|
||||
|
||||
@@ -78,6 +78,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
@@ -327,7 +330,6 @@ export default {
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
console.log(item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
|
||||
@@ -78,6 +78,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
@@ -325,7 +328,6 @@ export default {
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
console.log(item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
|
||||
@@ -78,6 +78,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
@@ -327,7 +330,6 @@ export default {
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
console.log(item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
|
||||
@@ -55,12 +55,25 @@
|
||||
width="55"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="center"
|
||||
width="200px"
|
||||
label="标准号"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standName"
|
||||
align="center"
|
||||
label="中文名称"
|
||||
width="180px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standEnName"
|
||||
@@ -68,6 +81,9 @@
|
||||
align="center"
|
||||
width="180px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ssrq"
|
||||
@@ -284,6 +300,17 @@ export default {
|
||||
handleTabs(type) {
|
||||
this.active = type;
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: 'INLAND_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
//获取数据
|
||||
getData() {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
@@ -82,12 +82,18 @@
|
||||
align="center"
|
||||
label="中文名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standEnName"
|
||||
label="英文名称"
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ssrq"
|
||||
|
||||
@@ -79,12 +79,18 @@
|
||||
align="center"
|
||||
label="中文名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standEnName"
|
||||
label="英文名称"
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="ssrq"
|
||||
|
||||
@@ -79,6 +79,9 @@
|
||||
prop="standName"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
@@ -255,7 +258,6 @@ export default {
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
console.log(item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
|
||||
@@ -79,6 +79,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
|
||||
@@ -78,6 +78,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
|
||||
@@ -78,6 +78,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
@@ -327,7 +330,6 @@ export default {
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
console.log(item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
|
||||
@@ -78,6 +78,9 @@
|
||||
align="center"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
@@ -327,7 +330,6 @@ export default {
|
||||
methods: {
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
console.log(item)
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
|
||||
@@ -165,7 +165,6 @@
|
||||
<div class="process-box">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -350,6 +349,7 @@ export default {
|
||||
border-radius: 10px;
|
||||
}
|
||||
.card-box {
|
||||
cursor: pointer;
|
||||
.card-top {
|
||||
width: 100%;
|
||||
background: #2d8cf0;
|
||||
|
||||
@@ -119,13 +119,15 @@
|
||||
<el-form :model="sarAccessInfo" class="label-input-form" v-if="!disabledFlag" inline>
|
||||
<el-form-item label="标准号" class="labelBox">
|
||||
<el-input
|
||||
style="width: 165px"
|
||||
v-model="sarAccessInfo.standNumber"
|
||||
placeholder="请输入"
|
||||
size="small"
|
||||
clearable/>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准名称" class="labelBox">
|
||||
<el-form-item label="标准名称" class="labelBox1">
|
||||
<el-input
|
||||
style="width: 165px"
|
||||
v-model="sarAccessInfo.standName"
|
||||
placeholder="请输入"
|
||||
size="small"
|
||||
@@ -2175,7 +2177,12 @@ export default {
|
||||
.labelBox {
|
||||
/deep/ .el-form-item__label {
|
||||
padding-right: 5px;
|
||||
padding-left: 10px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
.labelBox1 {
|
||||
/deep/ .el-form-item__label {
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
.un-select {
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="责任部门" class="search-item" prop="responseUnit">
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardForm.zrbm"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
@@ -86,102 +85,11 @@
|
||||
icon="export"
|
||||
>导出
|
||||
</el-button>
|
||||
<el-button type="primary" v-if="showSelectBox" class="common-button-primary" size="mini" @click="selectMoreBtn">
|
||||
<i class="iconfont"></i>
|
||||
高级查询
|
||||
</el-button>
|
||||
<el-button type="primary" v-if="!showSelectBox" class="common-button-primary" size="mini" @click="selectMoreBtn">
|
||||
<el-button type="primary" class="common-button-primary" size="mini" @click="selectMoreBtn">
|
||||
<i class="iconfont"></i>
|
||||
高级查询
|
||||
</el-button>
|
||||
</el-form>
|
||||
<div v-if="!showSelectBox">
|
||||
<el-form :model="standardFormList" class="label-input-form" label-width="108px" inline>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="中文名称" class="search-item">
|
||||
<el-input
|
||||
v-model="standardFormList.standName"
|
||||
placeholder="请输入"
|
||||
:maxlength="100"
|
||||
size="small"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用车型" class="labelBox" label-width="61px">
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.typeApplicable"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in applyArcticOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="能源类型" label-width="68px" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.nylx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in categoryOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="责任部门" class="labelBox" label-width="108px" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.zrbm"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in zrbmOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用产品线" label-width="86px" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.sycpx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in sycpxOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<div style="padding-left: 110px">
|
||||
<el-form-item>
|
||||
<el-button type="primary" size="small" style="width: 100px" @click="selectSuper">确认</el-button>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container" style="position:relative;">
|
||||
@@ -358,6 +266,101 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<el-drawer
|
||||
title="高级搜索"
|
||||
size="700px"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="isAdvancedSearch">
|
||||
<div class="demo-drawer-content">
|
||||
<el-form :model="standardFormList" class="labelForm" label-position="right" label-width="100px">
|
||||
<el-form-item label="中文名称" >
|
||||
<el-input
|
||||
class="showBox"
|
||||
v-model="standardFormList.standName"
|
||||
placeholder="请输入"
|
||||
:maxlength="100"
|
||||
size="small"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用车型" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.typeApplicable"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in applyArcticOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="能源类型" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.nylx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in categoryOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="责任部门" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.zrbm"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in zrbmOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用产品线" >
|
||||
<el-select
|
||||
class="showBox"
|
||||
v-model="standardFormList.sycpx"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
size="small"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in sycpxOptions"
|
||||
:value="item.value"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
<el-button
|
||||
size="small"
|
||||
icon="el-icon-check"
|
||||
type="primary"
|
||||
@click="queryInfo">搜索</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
icon="el-icon-close"
|
||||
@click="backInfo">取消</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
|
||||
<loading :loading="dataLoading">{{ $t("m.dataAcquisition") }}</loading>
|
||||
</div>
|
||||
</template>
|
||||
@@ -368,6 +371,7 @@ export default {
|
||||
name: "AccessStandardDetails",
|
||||
data() {
|
||||
return {
|
||||
isAdvancedSearch: false,
|
||||
// 高级检索状态
|
||||
showSelectBox: true,
|
||||
textStatusMap: {},
|
||||
@@ -519,11 +523,6 @@ export default {
|
||||
// this.$router.push(this.$store.state.detailMap)
|
||||
// this.$store.commit('setDetailMap', '')
|
||||
},
|
||||
selectSuper() {
|
||||
this.page = 1;
|
||||
this.standardForm.page = 1;
|
||||
this.selectInfoMore();
|
||||
},
|
||||
// 搜索
|
||||
selectProductBtn() {
|
||||
this.page = 1;
|
||||
@@ -535,11 +534,6 @@ export default {
|
||||
this.standardForm.zrbm = ''
|
||||
this.standardForm.standName = ''
|
||||
this.standardForm.responseUnit = ''
|
||||
this.standardFormList.standName = ''
|
||||
this.standardFormList.typeApplicable = ''
|
||||
this.standardFormList.nylx = ''
|
||||
this.standardFormList.zrbm = ''
|
||||
this.standardFormList.sycpx = ''
|
||||
this.selectInfobyAccid()
|
||||
this.selectInfoMore()
|
||||
},
|
||||
@@ -701,18 +695,31 @@ export default {
|
||||
* 高级检索
|
||||
*/
|
||||
selectMoreBtn() {
|
||||
this.showSelectBox = !this.showSelectBox
|
||||
this.isAdvancedSearch = true
|
||||
this.standardFormList.standName = ''
|
||||
this.standardFormList.typeApplicable = ''
|
||||
this.standardFormList.nylx = ''
|
||||
this.standardFormList.zrbm = ''
|
||||
this.standardFormList.sycpx = ''
|
||||
this.showTableFlag = false
|
||||
if (!this.showSelectBox) {
|
||||
// this.standardForm = {}
|
||||
// this.standardForm.issueTime = ''
|
||||
// this.standardForm.textStatus = ''
|
||||
// this.standardForm.modifyTime = ''
|
||||
}
|
||||
this.page = 1
|
||||
this.standardForm.page = 1
|
||||
this.selectInfoMore()
|
||||
},
|
||||
queryInfo() {
|
||||
this.page = 1;
|
||||
this.standardForm.page = 1;
|
||||
this.selectInfoMore();
|
||||
this.isAdvancedSearch = false
|
||||
},
|
||||
backInfo() {
|
||||
this.standardFormList.standName = ''
|
||||
this.standardFormList.typeApplicable = ''
|
||||
this.standardFormList.nylx = ''
|
||||
this.standardFormList.zrbm = ''
|
||||
this.standardFormList.sycpx = ''
|
||||
this.isAdvancedSearch = false
|
||||
},
|
||||
// 获取工作组信息下拉框信息
|
||||
getGzzOption() {
|
||||
this.$http.get("lawss/sarGroupMenu/queryGroup", "", {
|
||||
@@ -927,10 +934,8 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
.labelBox {
|
||||
/deep/ .el-form-item__label {
|
||||
padding-right: 5px;
|
||||
}
|
||||
.labelForm {
|
||||
margin-top: 20px;
|
||||
}
|
||||
/deep/ .relateClass {
|
||||
& > button {
|
||||
@@ -964,7 +969,7 @@ export default {
|
||||
}
|
||||
|
||||
/deep/.showBox{
|
||||
width: 165px;
|
||||
width: 300px;
|
||||
}
|
||||
.iconClass {
|
||||
width: 18px;
|
||||
@@ -989,7 +994,6 @@ export default {
|
||||
cursor: pointer
|
||||
}
|
||||
}
|
||||
|
||||
.relateClass {
|
||||
.el-dialog__body {
|
||||
max-height: 460px;
|
||||
|
||||
@@ -104,13 +104,15 @@
|
||||
<el-form :model="sarAccessInfo" class="label-input-form" v-if="!disabledFlag" inline>
|
||||
<el-form-item label="标准号" class="labelBox">
|
||||
<el-input
|
||||
style="width: 165px"
|
||||
v-model="sarAccessInfo.standNumber"
|
||||
placeholder="请输入"
|
||||
size="small"
|
||||
clearable/>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准名称" class="labelBox">
|
||||
<el-form-item label="标准名称" class="labelBox1">
|
||||
<el-input
|
||||
style="width: 165px"
|
||||
v-model="sarAccessInfo.standName"
|
||||
placeholder="请输入"
|
||||
size="small"
|
||||
@@ -2155,7 +2157,12 @@ export default {
|
||||
.labelBox {
|
||||
/deep/ .el-form-item__label {
|
||||
padding-right: 5px;
|
||||
padding-left: 10px;
|
||||
padding-left: 23px;
|
||||
}
|
||||
}
|
||||
.labelBox1 {
|
||||
/deep/ .el-form-item__label {
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
.un-select {
|
||||
|
||||
+9
-2
@@ -104,13 +104,15 @@
|
||||
<el-form :model="sarAccessInfo" class="label-input-form" v-if="!disabledFlag" inline>
|
||||
<el-form-item label="标准号" class="labelBox">
|
||||
<el-input
|
||||
style="width: 165px;"
|
||||
v-model="sarAccessInfo.standNumber"
|
||||
placeholder="请输入"
|
||||
size="small"
|
||||
clearable/>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准名称" class="labelBox">
|
||||
<el-form-item label="标准名称" class="labelBox1">
|
||||
<el-input
|
||||
style="width: 165px"
|
||||
v-model="sarAccessInfo.standName"
|
||||
placeholder="请输入"
|
||||
size="small"
|
||||
@@ -2158,7 +2160,12 @@ export default {
|
||||
.labelBox {
|
||||
/deep/ .el-form-item__label {
|
||||
padding-right: 5px;
|
||||
padding-left: 10px;
|
||||
padding-left: 23px;
|
||||
}
|
||||
}
|
||||
.labelBox1 {
|
||||
/deep/ .el-form-item__label {
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
.un-select {
|
||||
|
||||
@@ -3118,6 +3118,7 @@ export default {
|
||||
formData.collectMenuId = undefined
|
||||
}
|
||||
formData.standType = 'FOREIGN'
|
||||
formData.userId = this.$store.getters.userInfo.userId
|
||||
this.SarExportSearchEo = formData
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {
|
||||
_this: this, loading: 'loading'
|
||||
|
||||
@@ -4,17 +4,18 @@
|
||||
<div class="back" title="返回" @click="back">
|
||||
<i class="el-icon-back"></i>
|
||||
</div>
|
||||
<div class="title">车型《{{localProEO.projectName}}》 详情</div>
|
||||
<div class="title">车型《{{ localProEO.projectName }}》 详情</div>
|
||||
</div>
|
||||
<div class="contaiiner">
|
||||
<el-card class="contaiinerCard" style="margin: 5px">
|
||||
<div style="padding: 20px">
|
||||
<el-row style="margin-top: 10px">
|
||||
<el-col :span="5">产品平台: <span class="valueColor">{{ localProEO.projectPlatfor}}</span></el-col>
|
||||
<el-col :span="5">产品平台: <span class="valueColor">{{ localProEO.projectPlatfor }}</span></el-col>
|
||||
<el-col :span="5" :push="1">项目编号: <span class="valueColor">{{ localProEO.projectNumber }}</span></el-col>
|
||||
<el-col :span="5" :push="2">项目名称: <span class="valueColor">{{ localProEO.projectName }}</span></el-col>
|
||||
<!-- <el-col :span="5" :push="2">车型系列:<span class="valueColor">{{ localProEO.productSet }}</span></el-col>-->
|
||||
<el-col :span="4" :push="3">项目分类:<span class="valueColor">{{ localProEO.projectClassification }}</span></el-col>
|
||||
<el-col :span="4" :push="3">项目分类:<span class="valueColor">{{ localProEO.projectClassification }}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row style="margin-top: 10px">
|
||||
<el-col :span="5">项目状态: <span class="valueColor">{{ localProEO.projectStatus }} </span></el-col>
|
||||
@@ -24,20 +25,24 @@
|
||||
</el-row>
|
||||
<el-row style="margin-top: 10px">
|
||||
<el-col :span="5">项目经理: <span class="valueColor">{{ localProEO.projectManager }} </span></el-col>
|
||||
<el-col :span="5" :push="1"> 项目计划开始时间: <span class="valueColor">{{ $moment(localProEO.projectStartDate).format('YYYY-MM-DD')}}</span></el-col>
|
||||
<el-col :span="5" :push="2">项目计划完成时间: <span class="valueColor">{{ $moment(localProEO.projectEndDate).format('YYYY-MM-DD') }} </span></el-col>
|
||||
<el-col :span="5" :push="1"> 项目计划开始时间: <span
|
||||
class="valueColor">{{ $moment(localProEO.projectStartDate).format('YYYY-MM-DD') }}</span></el-col>
|
||||
<el-col :span="5" :push="2">项目计划完成时间: <span
|
||||
class="valueColor">{{ $moment(localProEO.projectEndDate).format('YYYY-MM-DD') }} </span></el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</el-card>
|
||||
<div class="action-bar">
|
||||
<el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="addList">调取</el-button>
|
||||
<el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="deleteList">批量删除</el-button>
|
||||
<el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="deleteList">批量删除
|
||||
</el-button>
|
||||
<el-button class="common-button-default export-button"
|
||||
size="mini" @click="exportStandard"
|
||||
v-btn-permission="''"
|
||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||
icon="export"
|
||||
>导出</el-button>
|
||||
>导出
|
||||
</el-button>
|
||||
</div>
|
||||
<!-- <el-tabs type="border-card">-->
|
||||
<!-- <el-tab-pane :label="localProEO.productName" class="details-panel-tabs-item">-->
|
||||
@@ -65,7 +70,10 @@
|
||||
width="260px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">{{ scope.row.standSort+ ' ' + scope.row.standNumber + '-' + scope.row.standYear}}</span>
|
||||
<span
|
||||
style="margin-left: 10px">{{
|
||||
scope.row.standSort + ' ' + scope.row.standNumber + '-' + scope.row.standYear
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -86,7 +94,9 @@
|
||||
sortable
|
||||
label="标准实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">{{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '-' }}</span>
|
||||
<span style="margin-left: 10px">{{
|
||||
scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '-'
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -94,7 +104,9 @@
|
||||
width="190px"
|
||||
label="新车型实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">{{scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format('YYYY-MM-DD') : '-' }}</span>
|
||||
<span style="margin-left: 10px">{{
|
||||
scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format('YYYY-MM-DD') : '-'
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -103,7 +115,9 @@
|
||||
width="190px"
|
||||
label="在产车实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">{{ scope.row.zccssrq ? $moment(scope.row.zccssrq).format('YYYY-MM-DD') : '-' }}</span>
|
||||
<span style="margin-left: 10px">{{
|
||||
scope.row.zccssrq ? $moment(scope.row.zccssrq).format('YYYY-MM-DD') : '-'
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -113,7 +127,7 @@
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">
|
||||
{{zrbmMap[scope.row.zrbm]}}
|
||||
{{ zrbmMap[scope.row.zrbm] }}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -171,7 +185,8 @@
|
||||
</el-formItem>
|
||||
<el-formItem label="标准类别" prop="standSort" class="search-item">
|
||||
<el-select v-model="standCommonlySearch.standSort" placeholder="根据标准类别查找" clearable>
|
||||
<el-option v-for="opt in standSortOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label }}
|
||||
<el-option v-for="opt in standSortOptions" :value="opt.value === undefined ? '' :opt.value"
|
||||
:key="opt.value" :label="opt.label">{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-formItem>
|
||||
@@ -183,15 +198,17 @@
|
||||
</el-formItem>
|
||||
<el-formItem class="search-item btn-box">
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
class="common-button-primary"
|
||||
type="primary"
|
||||
size="mini"
|
||||
class="common-button-primary"
|
||||
|
||||
@click="search">查询</el-button>
|
||||
@click="search">查询
|
||||
</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
size="mini"
|
||||
@click="clearSearch">清空</el-button>
|
||||
class="common-button-default"
|
||||
size="mini"
|
||||
@click="clearSearch">清空
|
||||
</el-button>
|
||||
</el-formItem>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -218,7 +235,8 @@
|
||||
label="标准号">
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standYear" class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||
scope.row.standNumber
|
||||
}}-{{ scope.row.standYear }}</a>
|
||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }}
|
||||
{{ scope.row.standNumber }}</a>
|
||||
@@ -228,6 +246,10 @@
|
||||
prop="standName"
|
||||
label="标准名称"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="issueTime"
|
||||
@@ -238,7 +260,9 @@
|
||||
label="新车型实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">
|
||||
{{scope.row.attrInfoCaseMap.xcxssrq ? $moment(scope.row.attrInfoCaseMap.xcxssrq).format('YYYY-MM-DD') : '-'}}
|
||||
{{
|
||||
scope.row.attrInfoCaseMap.xcxssrq ? $moment(scope.row.attrInfoCaseMap.xcxssrq).format('YYYY-MM-DD') : '-'
|
||||
}}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -248,7 +272,9 @@
|
||||
label="在产车实施日期">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">
|
||||
{{scope.row.attrInfoCaseMap.zccssrq ? $moment(scope.row.attrInfoCaseMap.zccssrq).format('YYYY-MM-DD') : '-'}}
|
||||
{{
|
||||
scope.row.attrInfoCaseMap.zccssrq ? $moment(scope.row.attrInfoCaseMap.zccssrq).format('YYYY-MM-DD') : '-'
|
||||
}}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -258,7 +284,7 @@
|
||||
label="文本状态">
|
||||
<template slot-scope="scope">
|
||||
<span style="margin-left: 10px">
|
||||
{{textStatusMap[scope.row.textStatus]}}
|
||||
{{ textStatusMap[scope.row.textStatus] }}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -285,22 +311,24 @@
|
||||
<div slot="footer">
|
||||
<el-button class="common-button-primary" icon="el-icon-check" type="primary"
|
||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||
@click="exportTestItem">导出</el-button>
|
||||
@click="exportTestItem">导出
|
||||
</el-button>
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="cancal">取消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import {mapGetters} from 'vuex'
|
||||
import LawsTreeView from '@/components/ProjectRelatedPersonnel/view'
|
||||
import { interfaceUrl } from "@/sysConfig";
|
||||
import {interfaceUrl} from "@/sysConfig";
|
||||
|
||||
export default {
|
||||
name: 'Details',
|
||||
components: {
|
||||
LawsTreeView
|
||||
},
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
standSortOptions: [],
|
||||
standCommonlySearch: {
|
||||
@@ -308,6 +336,8 @@ export default {
|
||||
standNumber: '',
|
||||
standType: ''
|
||||
},
|
||||
//用来存放项目id
|
||||
proId: '',
|
||||
size: this.$store.getters.userInfo.configContent,
|
||||
pageSizeNo: this.$store.getters.userInfo.configContent,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
@@ -324,13 +354,13 @@ export default {
|
||||
data: [],
|
||||
Height: 0,
|
||||
localProEO: {},
|
||||
localProLib:{},
|
||||
localProLib: {},
|
||||
takeingFlag: false,
|
||||
exportModelFlag: false,
|
||||
exportName: '',
|
||||
standList:[],//调取添加的数据
|
||||
standList1:[],//调取添加的数据
|
||||
id:'',//批量删除.
|
||||
standList: [],//调取添加的数据
|
||||
standList1: [],//调取添加的数据
|
||||
id: '',//批量删除.
|
||||
saveExportType: '',// 导出文件模态框控制,和文件名称
|
||||
zrbmMap: {},
|
||||
textStatusMap: {} // 文本状态id与name对应
|
||||
@@ -358,11 +388,11 @@ export default {
|
||||
this.pageSize = this.$store.getters.userInfo.configContent;
|
||||
this.selectionList();
|
||||
},
|
||||
pageChangeNo(page){
|
||||
pageChangeNo(page) {
|
||||
this.pageNo = page
|
||||
this.addList()
|
||||
},
|
||||
pageSizeChangeNo(pageSize){
|
||||
pageSizeChangeNo(pageSize) {
|
||||
this.pageSizeNo = this.$store.getters.userInfo.configContent;
|
||||
this.addList()
|
||||
|
||||
@@ -374,13 +404,13 @@ export default {
|
||||
//点击添加事件
|
||||
addList() {
|
||||
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
|
||||
page:this.pageNo,
|
||||
pageSize:this.pageSizeNo,
|
||||
page: this.pageNo,
|
||||
pageSize: this.pageSizeNo,
|
||||
standSort: this.standCommonlySearch.standSort,
|
||||
standNumber: this.standCommonlySearch.standNumber,
|
||||
standType: this.standCommonlySearch.standType
|
||||
}, {
|
||||
_this:this,
|
||||
_this: this,
|
||||
}, res => {
|
||||
console.log('res')
|
||||
console.log(res)
|
||||
@@ -413,12 +443,17 @@ export default {
|
||||
exits.push(item);
|
||||
});
|
||||
// 批量删除表格数据
|
||||
for (let i=0;i<this.selectList.length;i++){
|
||||
for (let i = 0; i < this.selectList.length; i++) {
|
||||
this.selectList1.push(this.selectList[i].standId)
|
||||
}
|
||||
this.id=this.selectList1.join(',')
|
||||
let deleteTagList = []
|
||||
this.selectList1.forEach(item => {
|
||||
//项目id-标准id,项目id-标准id
|
||||
deleteTagList.push( this.proId + '-' + item )
|
||||
})
|
||||
this.id = deleteTagList.join(',')
|
||||
this.$http.post('sarStandProjectLibrary/deleteByIds', {
|
||||
id:this.id
|
||||
id: this.id,
|
||||
}, {
|
||||
_this: this,
|
||||
loading: 'loading'
|
||||
@@ -432,18 +467,18 @@ export default {
|
||||
});
|
||||
}
|
||||
},
|
||||
getDataList(){
|
||||
getDataList() {
|
||||
// 查询详情表格数据
|
||||
this.$http.get('sarStandProjectLibrary/queryStandInfo', {
|
||||
id:this.localProEO.id,
|
||||
current:this.page,
|
||||
pageSize:this.pageSize
|
||||
id: this.localProEO.id,
|
||||
current: this.page,
|
||||
pageSize: this.pageSize
|
||||
}, {
|
||||
_this: this,
|
||||
loading: 'loading'
|
||||
}, res => {
|
||||
this.dataList=res.data.records
|
||||
this.total=res.data.total
|
||||
this.dataList = res.data.records
|
||||
this.total = res.data.total
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
@@ -457,12 +492,12 @@ export default {
|
||||
if (this.standList.length < 1) {
|
||||
_this.$message.warning("请选择标准");
|
||||
} else {
|
||||
for (let i=0;i<this.dataList.length;i++){
|
||||
for (let i = 0; i < this.dataList.length; i++) {
|
||||
let newStand = false;
|
||||
for (let j=0;j<this.standList.length;j++){
|
||||
if (this.standList[j].id==this.dataList[i].standId){
|
||||
for (let j = 0; j < this.standList.length; j++) {
|
||||
if (this.standList[j].id == this.dataList[i].standId) {
|
||||
newStand = true;
|
||||
this.standList.splice(j,1)
|
||||
this.standList.splice(j, 1)
|
||||
j--
|
||||
}
|
||||
}
|
||||
@@ -474,13 +509,13 @@ export default {
|
||||
}
|
||||
this.standardData = []
|
||||
_this.standModel = false;
|
||||
for (var i=0;i<this.standList.length;i++){
|
||||
for (var i = 0; i < this.standList.length; i++) {
|
||||
this.standList1.push({
|
||||
standId:this.standList[i].id,
|
||||
projectId:this.localProEO.id
|
||||
standId: this.standList[i].id,
|
||||
projectId: this.localProEO.id
|
||||
})
|
||||
}
|
||||
if(this.standList1!=''){
|
||||
if (this.standList1 != '') {
|
||||
this.$http.postData("sarStandProjectLibrary/batchInsert", this.standList1, {
|
||||
_this: this
|
||||
}, res => {
|
||||
@@ -513,11 +548,11 @@ export default {
|
||||
this.listForm.descriptionList = bringData[0].remark;
|
||||
this.listForm.fileId = bringData[0].fileId;
|
||||
this.ListModel = false;
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", { id: bringData[0].id }, {
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {id: bringData[0].id}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res.data==null){
|
||||
res.data=[]
|
||||
if (res.data == null) {
|
||||
res.data = []
|
||||
}
|
||||
this.dataList = res.data;
|
||||
this.listForm.dataList = res.data;
|
||||
@@ -535,7 +570,7 @@ export default {
|
||||
}
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview (item) {
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
@@ -545,7 +580,7 @@ export default {
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
back () {
|
||||
back() {
|
||||
console.log(this.$route.query.tabName);
|
||||
this.$router.push({
|
||||
path: this.$store.state.detailMap,
|
||||
@@ -555,18 +590,20 @@ export default {
|
||||
})
|
||||
this.$store.commit('setDetailMap', '')
|
||||
},
|
||||
showLocalProductData (item) {
|
||||
showLocalProductData(item) {
|
||||
console.log(item)
|
||||
this.localProEO = JSON.parse(JSON.stringify(item))
|
||||
this.proId = this.localProEO.id
|
||||
// 查询详情表格数据
|
||||
this.$http.get('sarStandProjectLibrary/queryStandInfo', {
|
||||
id:this.localProEO.id
|
||||
id: this.localProEO.id
|
||||
}, {
|
||||
_this: this,
|
||||
loading: 'loading'
|
||||
}, res => {
|
||||
this.dataList=res.data.records
|
||||
this.dataList = res.data.records
|
||||
console.log(res)
|
||||
this.total=res.data.total
|
||||
this.total = res.data.total
|
||||
}, e => {
|
||||
})
|
||||
this.pointTimeList = JSON.parse(JSON.stringify(item)).pointTime.split(',')
|
||||
@@ -590,10 +627,11 @@ export default {
|
||||
})
|
||||
this.selectTableDataList()
|
||||
},
|
||||
resetTakeingForm() {},
|
||||
resetTakeingForm() {
|
||||
},
|
||||
//导出
|
||||
exportStandard () {
|
||||
if(this.selectList.length > 0) {
|
||||
exportStandard() {
|
||||
if (this.selectList.length > 0) {
|
||||
this.saveExportType = 'apart'
|
||||
} else {
|
||||
this.saveExportType = 'all'
|
||||
@@ -603,22 +641,22 @@ export default {
|
||||
console.log(this.saveExportType);
|
||||
},
|
||||
//取消导出
|
||||
cancal () {
|
||||
cancal() {
|
||||
this.exportModelFlag = false
|
||||
},
|
||||
//确认导出
|
||||
exportTestItem () {
|
||||
if(this.saveExportType === 'apart') {
|
||||
if (this.selectList != null && this.selectList != ''){
|
||||
exportTestItem() {
|
||||
if (this.saveExportType === 'apart') {
|
||||
if (this.selectList != null && this.selectList != '') {
|
||||
console.log(this.selectList);
|
||||
let ids='\''+this.selectList[0].standId+'\''
|
||||
for(let i=1;i<this.selectList.length;i++){
|
||||
ids+=',\''+this.selectList[i].standId+'\''
|
||||
let ids = '\'' + this.selectList[0].standId + '\''
|
||||
for (let i = 1; i < this.selectList.length; i++) {
|
||||
ids += ',\'' + this.selectList[i].standId + '\''
|
||||
}
|
||||
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
||||
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
|
||||
console.log(exportURL,'_self')
|
||||
window.open(exportURL,'_self')
|
||||
console.log(exportURL, '_self')
|
||||
window.open(exportURL, '_self')
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
} else if (this.saveExportType === 'all') {
|
||||
@@ -626,25 +664,28 @@ export default {
|
||||
let ids = ''
|
||||
if (this.dataList.length === 0) {
|
||||
this.$message.error('暂无导出数据')
|
||||
}else{
|
||||
} else {
|
||||
if (this.selectList.length === 0) {
|
||||
ids='\''+this.dataList[0].standId+'\''
|
||||
for(let i=1;i<this.dataList.length;i++){
|
||||
ids+=',\''+this.dataList[i].standId+'\''
|
||||
ids = '\'' + this.dataList[0].standId + '\''
|
||||
for (let i = 1; i < this.dataList.length; i++) {
|
||||
ids += ',\'' + this.dataList[i].standId + '\''
|
||||
}
|
||||
}
|
||||
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
|
||||
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
|
||||
console.log(exportURL,'_self')
|
||||
window.open(exportURL,'_self')
|
||||
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
|
||||
console.log(exportURL, '_self')
|
||||
window.open(exportURL, '_self')
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
}
|
||||
this.exportModelFlag = false
|
||||
},
|
||||
exportProducdata() {},
|
||||
deleteStandLawsForProduct() {},
|
||||
selectStandLawsForProduct() {},
|
||||
exportProducdata() {
|
||||
},
|
||||
deleteStandLawsForProduct() {
|
||||
},
|
||||
selectStandLawsForProduct() {
|
||||
},
|
||||
pageChangeLaws(page) {
|
||||
this.page = page
|
||||
this.getDataList()
|
||||
@@ -658,7 +699,7 @@ export default {
|
||||
this.selectList = val;
|
||||
},//选项值发生改变
|
||||
// 将文本状态的id与name对应
|
||||
setMap(key,data){
|
||||
setMap(key, data) {
|
||||
data.forEach(item => {
|
||||
this.$set(key, item.value, item.label)
|
||||
})
|
||||
@@ -667,7 +708,7 @@ export default {
|
||||
computed: {
|
||||
...mapGetters(['getLocalPro'])
|
||||
},
|
||||
mounted () {
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
this.Height = $('.contaiiner').height() - $('.contaiinerCard').height() - 190
|
||||
window.onresize = () => {
|
||||
@@ -683,8 +724,8 @@ export default {
|
||||
loading: 'loading'
|
||||
}, res => {
|
||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||
this.setMap(this.zrbmMap,res.data.ZRBMCLASS)
|
||||
this.setMap(this.textStatusMap,res.data.WBZTCLASS)
|
||||
this.setMap(this.zrbmMap, res.data.ZRBMCLASS)
|
||||
this.setMap(this.textStatusMap, res.data.WBZTCLASS)
|
||||
this.showLocalProductData(this.getLocalPro)
|
||||
}, e => {
|
||||
})
|
||||
@@ -694,24 +735,28 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.localProductDetails{
|
||||
.localProductDetails {
|
||||
.typeIcon {
|
||||
margin: 0 auto;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.iconClass{
|
||||
|
||||
.iconClass {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.iconClassDia{
|
||||
|
||||
.iconClassDia {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
.picBorder{
|
||||
|
||||
.picBorder {
|
||||
border: 1px solid #409eff;
|
||||
}
|
||||
.add-border{
|
||||
|
||||
.add-border {
|
||||
/*width: 80px;*/
|
||||
height: 80px;
|
||||
display: flex;
|
||||
@@ -719,6 +764,7 @@ export default {
|
||||
align-items: center;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.laws-details-header {
|
||||
background: #fff;
|
||||
// height: 30px;
|
||||
@@ -729,6 +775,7 @@ export default {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.title {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
@@ -738,39 +785,49 @@ export default {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.contaiiner{
|
||||
|
||||
.contaiiner {
|
||||
height: calc(~'100% - 55px');
|
||||
background: #fff;
|
||||
padding: 5px 10px;
|
||||
.el-card__body{
|
||||
.el-row{
|
||||
|
||||
.el-card__body {
|
||||
.el-row {
|
||||
line-height: 1.5;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
.details-panel-tabs-item{
|
||||
|
||||
.details-panel-tabs-item {
|
||||
height: 100%;
|
||||
.table-wrapper{
|
||||
|
||||
.table-wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
position: unset;
|
||||
}
|
||||
.el-steps.el-steps--simple{
|
||||
|
||||
.el-steps.el-steps--simple {
|
||||
padding: 13px;
|
||||
}
|
||||
.el-step.is-simple{
|
||||
|
||||
.el-step.is-simple {
|
||||
flex-basis: auto;
|
||||
width: 269px;
|
||||
}
|
||||
.valueColor{
|
||||
|
||||
.valueColor {
|
||||
color: #999;
|
||||
}
|
||||
.el-steps.el-steps--horizontal{
|
||||
|
||||
.el-steps.el-steps--horizontal {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1920px) {
|
||||
/deep/ .el-step__main {
|
||||
position: relative;
|
||||
@@ -779,48 +836,54 @@ export default {
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1280px) {
|
||||
/deep/.el-step__main{
|
||||
/deep/ .el-step__main {
|
||||
position: relative;
|
||||
left: -40%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1366px) {
|
||||
/deep/.el-step__main{
|
||||
/deep/ .el-step__main {
|
||||
position: relative;
|
||||
left: -42%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
/deep/.el-step__icon{
|
||||
|
||||
/deep/ .el-step__icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
font-size: 12px;
|
||||
}
|
||||
/deep/.el-step__title{
|
||||
|
||||
/deep/ .el-step__title {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .el-drawer__body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wx-drawer-content {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: unset!important;
|
||||
height: unset !important;
|
||||
}
|
||||
/deep/.relateClass{
|
||||
& > button{
|
||||
|
||||
/deep/ .relateClass {
|
||||
& > button {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
padding: 0 10px;
|
||||
font-family: 'Microsoft Yahei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif !important;
|
||||
}
|
||||
& i{
|
||||
|
||||
& i {
|
||||
display: inline-block;
|
||||
margin-right: 3px;
|
||||
width: 18px;
|
||||
@@ -830,54 +893,66 @@ export default {
|
||||
background-position: center center;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
.relation-btn{
|
||||
|
||||
.relation-btn {
|
||||
color: #409EFF;
|
||||
border: 1px solid #409EFF;
|
||||
background: rgba(64, 158, 255, 0.1);
|
||||
.icon-relation{
|
||||
|
||||
.icon-relation {
|
||||
background-image: url("~assets/images/shangqi/standardDetails/relation.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
::v-deep .el-drawer__header{
|
||||
&>span:first-child{
|
||||
outline: none!important;
|
||||
|
||||
::v-deep .el-drawer__header {
|
||||
& > span:first-child {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
::v-deep .el-drawer{
|
||||
outline: none!important;
|
||||
|
||||
::v-deep .el-drawer {
|
||||
outline: none !important;
|
||||
}
|
||||
/deep/.leftTable{
|
||||
|
||||
/deep/ .leftTable {
|
||||
.el-table th > .cell {
|
||||
font-size: 11px;
|
||||
}
|
||||
.el-table th{
|
||||
|
||||
.el-table th {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.el-table__body-wrapper {
|
||||
height: 44px;
|
||||
}
|
||||
}
|
||||
/deep/.el-tabs__content {
|
||||
|
||||
/deep/ .el-tabs__content {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
/deep/.el-card__body {
|
||||
|
||||
/deep/ .el-card__body {
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
<style lang="less">
|
||||
.localProductDetails {
|
||||
height: 100%;
|
||||
|
||||
.el-tabs__content {
|
||||
min-height: 412px;
|
||||
}
|
||||
}
|
||||
.leftTable{
|
||||
|
||||
.leftTable {
|
||||
.el-table--enable-row-transition .el-table__body td {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.demo-drawer-content {
|
||||
margin-top: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
+1
-1
@@ -188,7 +188,7 @@
|
||||
label="相对于国行标差异点">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="carModel"
|
||||
prop="complianceState"
|
||||
label="合规性分析">
|
||||
</el-table-column>
|
||||
</el-table-column>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1708,6 +1708,7 @@ const routes = [
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '征求意见详情',
|
||||
parentPath: '/standardForComments',
|
||||
// isBoolean: true,
|
||||
// menuId: ''
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// 服务器地址
|
||||
// const devIp = '10.96.10.171'
|
||||
// const devInterfacePORT = '9999'
|
||||
const devIp = '192.168.0.104'
|
||||
const devIp = '10.96.170.156'
|
||||
const devInterfacePORT = '9999'
|
||||
// 云端端口号
|
||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||
|
||||
Reference in New Issue
Block a user