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

日志短信模板可穿越

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