Commit a5717a0d by xinla

素材中心-列表与详情中修改素材功能组件提取公用

1 parent 621a64b3
......@@ -27,7 +27,7 @@ export default {
},
},
created() {
this.$emit('update:data', this.data)
this.$emit('update:data', this.data) // 赋默认值
getList().then((res) => {
this.stageList = res.data
})
......
......@@ -924,8 +924,7 @@ export default {
}
if (isBack) {
this.$refs.page.getList(1)
// this.beforeCloseDialog()
this.$refs.page?.getList(1)
}
})
.catch(() => {
......
......@@ -108,7 +108,7 @@ export default {
<el-button text @click="$refs.page.detail(scope.row)" v-hasPermi="['wechat:material:detail']">
详情|统计
</el-button>
<el-button text @click="$refs.page.edit(scope.row, 12)">编辑</el-button>
<el-button text @click="$refs.page.edit(scope.row)">编辑</el-button>
<el-button text @click="$refs.page.remove(scope.row.id)">删除</el-button>
</template>
</el-table-column>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!