fix: 去掉通知的type类型
This commit is contained in:
parent
0d3c944fe4
commit
679145f899
|
@ -140,7 +140,6 @@ export default {
|
||||||
advanceSellStatus: "",
|
advanceSellStatus: "",
|
||||||
dataList: [],
|
dataList: [],
|
||||||
formInline: {
|
formInline: {
|
||||||
type: 0,
|
|
||||||
targetId: "",
|
targetId: "",
|
||||||
position: "3",
|
position: "3",
|
||||||
},
|
},
|
||||||
|
@ -180,14 +179,12 @@ export default {
|
||||||
JSON.parse(sessionStorage.getItem("userInfo")).role === "ROLE_MANAGER"
|
JSON.parse(sessionStorage.getItem("userInfo")).role === "ROLE_MANAGER"
|
||||||
) {
|
) {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
type: 0,
|
|
||||||
targetId: this.marketId,
|
targetId: this.marketId,
|
||||||
position: "2",
|
position: "2",
|
||||||
app: 1,
|
app: 1,
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
type: 0,
|
|
||||||
targetId: this.shopId,
|
targetId: this.shopId,
|
||||||
position: "3",
|
position: "3",
|
||||||
app: 1,
|
app: 1,
|
||||||
|
@ -242,7 +239,6 @@ export default {
|
||||||
},
|
},
|
||||||
Reset() {
|
Reset() {
|
||||||
this.formInline = {
|
this.formInline = {
|
||||||
type: 0,
|
|
||||||
targetId: this.shopId,
|
targetId: this.shopId,
|
||||||
position: "3",
|
position: "3",
|
||||||
app: 1,
|
app: 1,
|
||||||
|
|
|
@ -59,20 +59,9 @@ export default {
|
||||||
targetId: row.targetId,
|
targetId: row.targetId,
|
||||||
title: "",
|
title: "",
|
||||||
position: row.position,
|
position: row.position,
|
||||||
type: 0,
|
|
||||||
status: true,
|
status: true,
|
||||||
app: 1,
|
app: 1,
|
||||||
};
|
};
|
||||||
if (
|
|
||||||
JSON.parse(sessionStorage.getItem("userInfo")).role ===
|
|
||||||
"ROLE_MANAGER" ||
|
|
||||||
JSON.parse(sessionStorage.getItem("userInfo")).role ===
|
|
||||||
"ROLE_MERCHANT"
|
|
||||||
) {
|
|
||||||
this.modalData.type = 0;
|
|
||||||
} else {
|
|
||||||
this.modalData.type = 1
|
|
||||||
}
|
|
||||||
this.fileList = [];
|
this.fileList = [];
|
||||||
this.modalConfig.title = "添加公告";
|
this.modalConfig.title = "添加公告";
|
||||||
this.isAdd = true;
|
this.isAdd = true;
|
||||||
|
|
Loading…
Reference in New Issue