|
|
@@ -7,7 +7,7 @@
|
|
|
<ElFormItem>
|
|
|
<ElInput v-model="companyName" placeholder="输入保险公司名称查找" type="text" tabindex="1" clearable style="width: 100%;" @clear="companyQuery">
|
|
|
<template #append>
|
|
|
- <el-button :icon="Search" @click="companyQuery" />
|
|
|
+ <el-button :icon="Search" @click="companyQuery" v-auth="'drivingInsurance.add'" />
|
|
|
</template>
|
|
|
</ElInput>
|
|
|
</ElFormItem>
|
|
|
@@ -52,8 +52,8 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" @click="findpage">查询</el-button>
|
|
|
- <el-button type="default" @click="reset">重置</el-button>
|
|
|
+ <el-button type="primary" @click="findpage" v-auth="'drivingInsurance.view'">查询</el-button>
|
|
|
+ <el-button type="default" @click="reset" v-auth="'drivingInsurance.view'">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -62,11 +62,11 @@
|
|
|
:showSelect="false">
|
|
|
<template v-slot:operation="scope">
|
|
|
<el-button type="primary" link style="margin-right: 15px;" v-if="scope.operationData.parentId == '0'"
|
|
|
- @click="add(scope.operationData)"> 添加
|
|
|
+ @click="add(scope.operationData)" v-auth="'drivingInsurance.add'"> 添加
|
|
|
</el-button>
|
|
|
- <el-button type="primary" link style="margin-right: 15px;" @click="edit(scope.operationData.id)"> 编辑
|
|
|
+ <el-button type="primary" link style="margin-right: 15px;" @click="edit(scope.operationData.id)" v-auth="'drivingInsurance.edit'"> 编辑
|
|
|
</el-button>
|
|
|
- <el-button type="primary" link style="margin-right: 15px;" @click="del(scope.operationData)"> 删除
|
|
|
+ <el-button type="primary" link style="margin-right: 15px;" @click="del(scope.operationData)" v-auth="'drivingInsurance.delete'"> 删除
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</TableTree>
|