|
@@ -7,6 +7,12 @@
|
|
@search="search"
|
|
@search="search"
|
|
@init="init"
|
|
@init="init"
|
|
/>
|
|
/>
|
|
|
|
+ <picture-list
|
|
|
|
+ ref="pictureList"
|
|
|
|
+ :info="info"
|
|
|
|
+ :list="showTabList"
|
|
|
|
+ @backFunc="pictureFunc"
|
|
|
|
+ ></picture-list>
|
|
<table-list
|
|
<table-list
|
|
ref="tableList"
|
|
ref="tableList"
|
|
:tableSets="tableSet"
|
|
:tableSets="tableSet"
|
|
@@ -155,6 +161,7 @@ import tableList from "@/components/tableList";
|
|
import pagination from "@/components/pagination";
|
|
import pagination from "@/components/pagination";
|
|
import tabClassDialog from "./tabClassDialog.vue";
|
|
import tabClassDialog from "./tabClassDialog.vue";
|
|
import changeClassDialog from "./changeClassDialog.vue";
|
|
import changeClassDialog from "./changeClassDialog.vue";
|
|
|
|
+import pictureList from "@/components/Comon/pictureList.vue";
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
ClassHour,
|
|
ClassHour,
|
|
@@ -163,6 +170,7 @@ export default {
|
|
pagination,
|
|
pagination,
|
|
tabClassDialog,
|
|
tabClassDialog,
|
|
changeClassDialog,
|
|
changeClassDialog,
|
|
|
|
+ pictureList
|
|
},
|
|
},
|
|
props: {
|
|
props: {
|
|
showStatus: {
|
|
showStatus: {
|
|
@@ -194,6 +202,23 @@ export default {
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
// classStatus: "",
|
|
// classStatus: "",
|
|
},
|
|
},
|
|
|
|
+ info: {},
|
|
|
|
+ showTabList: [
|
|
|
|
+ {
|
|
|
|
+ label: "信息已推送",
|
|
|
|
+ img: "push",
|
|
|
|
+ prop: "plush",
|
|
|
|
+ num: true,
|
|
|
|
+ color: "#333333",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ label: "信息待推送",
|
|
|
|
+ img: "waitPush",
|
|
|
|
+ prop: "notPlush",
|
|
|
|
+ num: true,
|
|
|
|
+ color: "#ff7a38",
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
// 表单
|
|
// 表单
|
|
tableSet: [
|
|
tableSet: [
|
|
{
|
|
{
|
|
@@ -568,10 +593,35 @@ export default {
|
|
.finally(() => {
|
|
.finally(() => {
|
|
this.loading = false;
|
|
this.loading = false;
|
|
});
|
|
});
|
|
|
|
+ this.$api.periodPlush({ gradeId: data.gradeId }).then((res) => {
|
|
|
|
+ const { plush, notPlush } = res.data
|
|
|
|
+ this.info = {
|
|
|
|
+ plush: plush,
|
|
|
|
+ notPlush: notPlush
|
|
|
|
+ }
|
|
|
|
+ });
|
|
},
|
|
},
|
|
init() {
|
|
init() {
|
|
this.search(2);
|
|
this.search(2);
|
|
},
|
|
},
|
|
|
|
+ pictureFunc(item) {
|
|
|
|
+ if (item.prop == "plush") {
|
|
|
|
+ this.formData = {
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ pageNum: 1,
|
|
|
|
+ periodPlush: 1,
|
|
|
|
+ };
|
|
|
|
+ this.search();
|
|
|
|
+ }
|
|
|
|
+ if (item.prop == "notPlush") {
|
|
|
|
+ this.formData = {
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ pageNum: 1,
|
|
|
|
+ periodPlush: 0,
|
|
|
|
+ };
|
|
|
|
+ this.search();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
del(v) {
|
|
del(v) {
|
|
this.$alert(
|
|
this.$alert(
|
|
"确定删除此内容?<br />内容删除后将无法恢复,请慎重考虑",
|
|
"确定删除此内容?<br />内容删除后将无法恢复,请慎重考虑",
|