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