Commit 45ef8eb2 authored by obt's avatar obt

代码更新

parent 2876ce68
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2020-12-01 09:54:12 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue * @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
...@@ -29,6 +29,9 @@ export default { ...@@ -29,6 +29,9 @@ export default {
regions:[], regions:[],
info: null, info: null,
currentEditPage: 1, currentEditPage: 1,
currentEditStatus: "",
currentEditType: "",
currentEditSort: "",
} }
}, },
watch:{ watch:{
......
<!-- <!--
* @Author: Jenkins * @Author: Jenkins
* @Date: 2020-12-01 09:54:12 * @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 * @LastEditors: Please set LastEditors
* @Description: 星云动态 * @Description: 星云动态
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue * @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\index.vue
...@@ -353,7 +353,7 @@ export default { ...@@ -353,7 +353,7 @@ export default {
label: "下架", label: "下架",
}, },
], ],
currentStatus: "", currentStatus: this.$parent.currentEditStatus,
// 类型框 // 类型框
typesState: [], typesState: [],
types: [ types: [
...@@ -362,7 +362,7 @@ export default { ...@@ -362,7 +362,7 @@ export default {
label: "全部", label: "全部",
}, },
], ],
currentType: "", currentType: this.$parent.currentEditType,
// 排序框 // 排序框
sorts: [ sorts: [
{ {
...@@ -378,7 +378,7 @@ export default { ...@@ -378,7 +378,7 @@ export default {
label: "升序", label: "升序",
}, },
], ],
currentSort: "", currentSort: this.$parent.currentEditSort,
// 功能按钮 // 功能按钮
operatorControls: [ operatorControls: [
{ {
...@@ -564,6 +564,9 @@ export default { ...@@ -564,6 +564,9 @@ export default {
// 编辑资讯 // 编辑资讯
editorInfo(info){ editorInfo(info){
console.log("Info=>",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.currentEditPage = this.infoPagination.currentPage
this.$parent.componentName = "newsCreator"; this.$parent.componentName = "newsCreator";
this.$parent.regions = this.typesState 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