标准征求意见流程加一个Id,标准库详情页加跳转
This commit is contained in:
@@ -282,6 +282,7 @@ export default {
|
|||||||
endTime: '', // 结束日期
|
endTime: '', // 结束日期
|
||||||
cname: '', // 名称
|
cname: '', // 名称
|
||||||
standType: '',
|
standType: '',
|
||||||
|
standId: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
cid: [
|
cid: [
|
||||||
@@ -299,6 +300,7 @@ export default {
|
|||||||
standSort: '',
|
standSort: '',
|
||||||
standNumber: '',
|
standNumber: '',
|
||||||
standType: '',
|
standType: '',
|
||||||
|
standId: '',
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent
|
pageSize: this.$store.getters.userInfo.configContent
|
||||||
},
|
},
|
||||||
@@ -456,6 +458,7 @@ export default {
|
|||||||
this.form.cid = bringData[0].standSortShow + '-' + bringData[0].standNumber
|
this.form.cid = bringData[0].standSortShow + '-' + bringData[0].standNumber
|
||||||
}
|
}
|
||||||
this.form.standType = bringData[0].standType
|
this.form.standType = bringData[0].standType
|
||||||
|
this.form.standId = bringData[0].id
|
||||||
this.form.cname = bringData[0].standName;
|
this.form.cname = bringData[0].standName;
|
||||||
this.listModel = false;
|
this.listModel = false;
|
||||||
} else if (this.selectedList.length > 1) {
|
} else if (this.selectedList.length > 1) {
|
||||||
|
|||||||
@@ -11,19 +11,27 @@
|
|||||||
<div v-show="heightShow" class="transition-box">
|
<div v-show="heightShow" class="transition-box">
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">标准号:</label>
|
<label class="transition-box-label">标准号:</label>
|
||||||
<span class="transition-box-span" @click="handlePreview($route.query.item)">{{ $route.query.item.cid }}</span>
|
<span class="transition-box-span table-jump"
|
||||||
|
@click="handlePreview(itemData)"
|
||||||
|
>
|
||||||
|
{{ this.$route.query.item.cid }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">标准名称:</label>
|
<label class="transition-box-label">标准名称:</label>
|
||||||
<span class="transition-box-span">{{ $route.query.item.cname || '-' }}</span>
|
<span class="transition-box-span table-jump"
|
||||||
|
@click="handlePreview(itemData)"
|
||||||
|
>
|
||||||
|
{{ this.$route.query.item.cname || '-' }}
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">上传时间:</label>
|
<label class="transition-box-label">上传时间:</label>
|
||||||
<span class="transition-box-span">{{ $route.query.item.endTime || '-' }}</span>
|
<span class="transition-box-span">{{ this.$route.query.item.endTime || '-' }}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">征求意见周期:</label>
|
<label class="transition-box-label">征求意见周期:</label>
|
||||||
<span class="transition-box-span" v-if="$route.query.item.startTime && $route.query.item.endTime">{{ $route.query.item.startTime + ' ~ ' + $route.query.item.endTime}}</span>
|
<span class="transition-box-span" v-if="this.$route.query.item.startTime && this.$route.query.item.endTime">{{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}}</span>
|
||||||
<span class="transition-box-span" v-else>-</span>
|
<span class="transition-box-span" v-else>-</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -120,6 +128,7 @@
|
|||||||
name: 'consultationDetails',
|
name: 'consultationDetails',
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
itemData: this.$route.query.item,
|
||||||
id: '', // 选中id
|
id: '', // 选中id
|
||||||
type: '', // 选中状态
|
type: '', // 选中状态
|
||||||
spinShow: false,
|
spinShow: false,
|
||||||
@@ -152,6 +161,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 点击查看
|
||||||
|
handlePreview (item) {
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: 'OtherStandardDetails',
|
||||||
|
params: {
|
||||||
|
id: item.standId,
|
||||||
|
pageType: 'INLAND_STAND'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
},
|
||||||
exportAll () {
|
exportAll () {
|
||||||
window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid)
|
window.open('/api/slrs/sar-public-idea-all/tuallStand?cid=' + this.$route.query.item.cid)
|
||||||
},
|
},
|
||||||
@@ -166,21 +186,6 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
//点击查看
|
|
||||||
handlePreview(data) {
|
|
||||||
console.log(data);
|
|
||||||
return
|
|
||||||
let routeUrl = this.$router.resolve({
|
|
||||||
name: "OtherStandardDetails",
|
|
||||||
params: {
|
|
||||||
id: data.id,
|
|
||||||
pageType: data.standType
|
|
||||||
}
|
|
||||||
});
|
|
||||||
window.open(routeUrl.href, "_blank");
|
|
||||||
},
|
|
||||||
|
|
||||||
// 获取详情信息列表
|
// 获取详情信息列表
|
||||||
getList() {
|
getList() {
|
||||||
this.spinShow = true
|
this.spinShow = true
|
||||||
|
|||||||
Reference in New Issue
Block a user