|
@@ -5,7 +5,7 @@
|
|
|
</h2>
|
|
|
<div class="m-core">
|
|
|
<el-button type="primary" @click="onQuestionOperation('create')"
|
|
|
- v-permission="'organization/add'"
|
|
|
+ v-if="$helpers.permission('/operateManager/questionOperation/create')"
|
|
|
class='newBand'>添加问卷</el-button>
|
|
|
<save-form :inline="true"
|
|
|
@submit="search"
|
|
@@ -23,7 +23,7 @@
|
|
|
<el-form-item prop="status">
|
|
|
<el-select v-model="searchForm.status"
|
|
|
filterable
|
|
|
- placeholder="请选择收费类型"
|
|
|
+ placeholder="请选择问卷状态"
|
|
|
clearable>
|
|
|
<el-option label="启用" :value="1"></el-option>
|
|
|
<el-option label="停用" :value="0"></el-option>
|
|
@@ -65,11 +65,13 @@
|
|
|
label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button @click="onQuestionOperation('look', scope.row)"
|
|
|
+ v-if="$helpers.permission('/operateManager/questionOperation/detail')"
|
|
|
type="text">详情</el-button>
|
|
|
<el-button @click="onOperation(scope.row)"
|
|
|
+ v-if="$helpers.permission(scope.row.status ? 'questionnaireTopic/updateStatus/stop' : 'questionnaireTopic/updateStatus/start')"
|
|
|
type="text">{{ scope.row.status ? '停用' : '启用' }}</el-button>
|
|
|
<el-button @click="onQuestionOperation('update', scope.row)"
|
|
|
- v-permission="'organization/update'"
|
|
|
+ v-if="$helpers.permission('/operateManager/questionOperation/update')"
|
|
|
type="text">修改</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|