bug:国内、外标准法规点击收藏数据进去到我的收藏中
This commit is contained in:
@@ -53,13 +53,13 @@
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-tooltip class="item" effect="dark" :content="item.collectTitle" placement="top" v-if="item.collectTitle">
|
||||
<div class="left-contents">标题:{{ item.name }}</div>
|
||||
<div class="left-contents">标题:{{ item.collectTitle }}</div>
|
||||
</el-tooltip>
|
||||
<div v-else>
|
||||
<div class="left-contents">标题:{{ item.name }}</div>
|
||||
<div class="left-contents">标题:{{ item.collectTitle }}</div>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="4" :offset="3">创建时间:{{getDate(item.createTime)}}</el-col>
|
||||
<el-col :span="4" :offset="3">创建时间:{{getDate(item.creationTime)}}</el-col>
|
||||
</div>
|
||||
<el-col :span="4">
|
||||
<el-button size="mini" @click="cancelStandard(item.id)" style="margin-top: -5px; border: 1px dashed #dcdee2">取消收藏</el-button>
|
||||
@@ -127,6 +127,7 @@ export default {
|
||||
this.$http.get('person/personCollect/page', {
|
||||
pageNo: this.page,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
userId: this.$store.getters.userInfo.userId,
|
||||
collectTitle: this.search.name
|
||||
}, {
|
||||
_this: this,
|
||||
|
||||
@@ -2118,6 +2118,8 @@ export default {
|
||||
this.personCollect.collectTitle = item.standName + ' ( 编号:' + item.standSort + ' ' + item.standNumber + ' )'
|
||||
}
|
||||
this.personCollect.collectType = 'INLAND_STAND'
|
||||
this.personCollect.id = item.id
|
||||
this.personCollect.userId = this.$store.getters.userInfo.userId
|
||||
this.$http.postData('person/personCollect', this.personCollect, {
|
||||
_this: this
|
||||
}, res => {
|
||||
|
||||
@@ -1910,6 +1910,8 @@ export default {
|
||||
this.personCollect.collectTitle = item.standName + ' ( 编号:' + item.standSort + ' ' + item.standNumber + ' )'
|
||||
}
|
||||
this.personCollect.collectType = 'FOREIGN_STAND'
|
||||
this.personCollect.id = item.id
|
||||
this.personCollect.userId = this.$store.getters.userInfo.userId
|
||||
this.$http.postData('person/personCollect', this.personCollect, {
|
||||
_this: this
|
||||
}, res => {
|
||||
|
||||
Reference in New Issue
Block a user