Commit 45ef8eb2 authored by obt's avatar obt

代码更新

parent 2876ce68
<!--
* @Author: your name
* @Date: 2020-12-01 09:54:12
* @LastEditTime: 2020-12-10 16:12:21
* @LastEditTime: 2020-12-10 17:09:34
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
......@@ -29,6 +29,9 @@ export default {
regions:[],
info: null,
currentEditPage: 1,
currentEditStatus: "",
currentEditType: "",
currentEditSort: "",
}
},
watch:{
......
<!--
* @Author: Jenkins
* @Date: 2020-12-01 09:54:12
* @LastEditTime: 2020-12-10 17:05:11
* @LastEditTime: 2020-12-10 17:12:47
* @LastEditors: Please set LastEditors
* @Description: 星云动态
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
......@@ -353,7 +353,7 @@ export default {
label: "下架",
},
],
currentStatus: "",
currentStatus: this.$parent.currentEditStatus,
// 类型框
typesState: [],
types: [
......@@ -362,7 +362,7 @@ export default {
label: "全部",
},
],
currentType: "",
currentType: this.$parent.currentEditType,
// 排序框
sorts: [
{
......@@ -378,7 +378,7 @@ export default {
label: "升序",
},
],
currentSort: "",
currentSort: this.$parent.currentEditSort,
// 功能按钮
operatorControls: [
{
......@@ -564,6 +564,9 @@ export default {
// 编辑资讯
editorInfo(info){
console.log("Info=>",info)
this.$parent.currentEditStatus = this.currentStatus
this.$parent.currentEditType = this.currentType
this.$parent.currentEditSort = this.currentSort
this.$parent.currentEditPage = this.infoPagination.currentPage
this.$parent.componentName = "newsCreator";
this.$parent.regions = this.typesState
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment