1.完善厂商-首页

master
panqihua 2 years ago
parent a315ccd185
commit 41a62f0c63
  1. 7
      src/views/manufacturer/components/notice.vue
  2. 3
      src/views/manufacturer/index.vue

@ -1,5 +1,5 @@
<template>
<el-dialog :visible="true" v-if="type==='notice-list'" :show-close="false" width="500px">
<el-dialog :visible.sync="visible" @closed="$emit('close')" :show-close="false" width="500px">
<el-row type="flex" slot="title" justify="space-between" class="title">
<el-col>全部消息</el-col>
<el-col class="text-right">
@ -23,6 +23,11 @@ export default {
components: { NoticeContent },
props: {
type: String
},
data() {
return {
visible: true
}
}
}
</script>

@ -115,7 +115,8 @@
</el-row>
</template>
<pay @back="type='list'" @success="type='list';$modal.msgSuccess('支付成功')" v-else-if="type==='pay'"/>
<notice @read:all="type='list';$modal.msgSuccess('读取所有')" :type="type"/>
<notice @close="type='list'" @read:all="type='list';$modal.msgSuccess('读取所有')"
v-else-if="type==='notice-list'"/>
</div>
</template>

Loading…
Cancel
Save