Commit d3588d77 authored by honghy's avatar honghy Committed by wux

日志短信模板可穿越

parent 2ff7a1ab
......@@ -90,7 +90,13 @@
<dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="scope.row.channelCode"/>
</template>
</el-table-column>
<el-table-column :label="$t('模板编号')" align="center" prop="templateId" />
<el-table-column :label="$t('模板编号')" align="center" prop="templateId">
<template slot-scope="{ row }">
<router-link :to="`/system/sms/sms-template?apiTemplateId=${row.apiTemplateId}`" class="link-type">
{{ row.templateId }}
</router-link>
</template>
</el-table-column>
<el-table-column :label="$t('短信类型')" align="center" prop="templateType">
<template slot-scope="scope">
<dict-tag :type="DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE" :value="scope.row.templateType"/>
......
......@@ -321,6 +321,7 @@ export default {
};
},
created() {
this.queryParams.apiTemplateId = this.$route.query.apiTemplateId
this.getList();
// 获得短信渠道
getSimpleSmsChannels().then(response => {
......
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