Commit ac292c20 by liuchenxi

Merge branch 'feature/权限埋点' into dev

parents 33643cc4 e27d5869
...@@ -24,7 +24,9 @@ Vue.config.devtools = process.env.NODE_ENV !== 'production'; ...@@ -24,7 +24,9 @@ Vue.config.devtools = process.env.NODE_ENV !== 'production';
// 全局引入filter // 全局引入filter
Object.keys(filters).forEach(item => Vue.filter(item, filters[item])); Object.keys(filters).forEach(item => Vue.filter(item, filters[item]));
new Vue({ window.getLimit(router, 'gic-marketing-operation').then(() => {
router, new Vue({
render: h => h(App) router,
}).$mount('#app'); render: h => h(App)
}).$mount('#app');
});
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<span class="tip">短信AppID由系统自动匹配</span> <span class="tip">短信AppID由系统自动匹配</span>
</el-form-item> </el-form-item>
<el-form-item label=""> <el-form-item label="">
<el-button type="primary" style="margin-top: 30px" @click="submit">保存</el-button> <el-button v-if="$getButtonLimit($buttonCode.saveTemplate)" :limit-code="$buttonCode.saveTemplate" type="primary" style="margin-top: 30px" @click="submit">保存</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<more-tip-dialog title="提示详情" :type="form.smsSignId" :visible.sync="dialogVisible"/> <more-tip-dialog title="提示详情" :type="form.smsSignId" :visible.sync="dialogVisible"/>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</el-select> </el-select>
</div> </div>
<div class="right"> <div class="right">
<el-button type="primary" @click="submitExamine" :disabled="!tableData.data.length">全量提交审核</el-button> <el-button v-if="$getButtonLimit($buttonCode.submitVerify)" :limit-code="$buttonCode.submitVerify" type="primary" @click="submitExamine" :disabled="!tableData.data.length">全量提交审核</el-button>
</div> </div>
</div> </div>
<div class="content mt20"> <div class="content mt20">
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button type="text" @click="toDetail(row)">详情</el-button> <el-button v-if="$getButtonLimit($buttonCode.templateDetail)" :limit-code="$buttonCode.templateDetail" type="text" @click="toDetail(row)">详情</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
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