Commit 91d1b92e by 黑潮

update: 样式

parent c3d440e4
......@@ -30,9 +30,10 @@
</div>
<div class="fr">
<el-button type="text" v-if="v.status === 2" @click="$router.push('/message/temp/edit/' + v.gicSmsTemplateId)">修改</el-button>
<dm-delete @confirm="delData(v)" tips="模板删除后,所有引用此模板的短信都会停止发送,请确认。">
<el-button type="text" @click="onDeleteData(v)">删除</el-button>
<!-- <dm-delete @confirm="delData(v)" tips="模板删除后,所有引用此模板的短信都会停止发送,请确认。">
<el-button type="text">删除</el-button>
</dm-delete>
</dm-delete> -->
</div>
</div>
<span class="sms-lib-item-tips_right danger-color-bg" v-if="v.status === 2">未通过</span>
......@@ -91,6 +92,17 @@ export default {
this.$store.commit('mutations_layoutTips', '');
},
methods: {
onDeleteData(v) {
this.$confirm('模板删除后,所有引用此模板的短信都会停止发送,请确认。', '提示', {
confirmButtonText: '确认',
cancelBUttonText: '取消',
type: 'warning'
})
.then(() => {
this.delData(v);
})
.catch(() => {});
},
search() {
this.listParams.currentPage = 1;
this.LoadLibList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment