@@ -426,6 +426,10 @@ function CirculationFn(data) { | |||
} | |||
//获取列表 | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
methods: 'page', |
@@ -172,6 +172,10 @@ | |||
} | |||
//获取列表 | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
let falg = false | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -179,6 +179,10 @@ function getAgenCy() { | |||
}) | |||
} | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -194,6 +194,10 @@ function getAgenCy() { | |||
}) | |||
} | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -257,6 +257,10 @@ function submit(data: any) { | |||
//获取列表 | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
let falg = false | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -29,7 +29,7 @@ | |||
</template> | |||
<template #operation="{ scope }"> | |||
<el-button type="success" size="small" class="code-btn" @click="showUserInfo(scope.row)">详情</el-button> | |||
<el-button v-if="IsPermission(route, 'INFO_LIST')" type="success" size="small" class="code-btn" @click="showUserInfo(scope.row)">详情</el-button> | |||
</template> | |||
</crud-template> | |||
@@ -332,6 +332,10 @@ | |||
} | |||
//获取列表 | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
let falg = false | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -1,6 +1,6 @@ | |||
<template> | |||
<div class="search-box"> | |||
<div class="bg-box"> | |||
<div class="bg-box" v-if="IsPermission(route, 'PLATE_CHECK')"> | |||
<div class="title">车牌校验</div> | |||
<el-form ref="fromRef" :inline="true" :model="searchForm" :rules="rules" label-width="auto" | |||
class="demo-form-inline" status-icon> | |||
@@ -25,7 +25,7 @@ | |||
</el-form-item> | |||
</el-form> | |||
</div> | |||
<div class="bg-box"> | |||
<div class="bg-box" v-if="IsPermission(route, 'YGZ_PLATE_CHECK')"> | |||
<div class="title">营改增车牌校验</div> | |||
<el-form ref="fromRef1" class="demo-form-inline" :inline="true" :model="searchForm1" :rules="rules" | |||
label-width="auto" status-icon> | |||
@@ -70,10 +70,13 @@ | |||
<!-- 车牌校验查询 --> | |||
<script lang="ts" setup> | |||
import { IsPermission } from "@/router/routerUtil"; | |||
const route = useRoute() | |||
import { computed, reactive, ref } from 'vue'; | |||
import BaseService from "@/utils/baseService"; //引入接口请求 | |||
import { ElMessage, FormRules } from "element-plus"; //提示 | |||
import $storeinitData from "@/store/initData"; //引入tab vuex | |||
import $storeinitData from "@/store/initData"; | |||
import {useRoute} from "vue-router"; //引入tab vuex | |||
//车牌颜色 | |||
const VEHICLE_COLOR_TYPE = computed(() => { |
@@ -226,9 +226,9 @@ | |||
border: true, //是否添加边框(默认false) | |||
dialogCustom: false, //自定义Dialog (默认false) | |||
dialogFooter: true, //隐藏弹窗页脚显示 (默认false) | |||
dialogWidth: '60%', //dialog宽度 (默认40%) | |||
dialogWidth: '80%', //dialog宽度 (默认40%) | |||
crudShow: true, //是否显示CURD操作栏 (默认true) | |||
crudChildShow: true, //是否显示CURD子操作栏 (默认true) | |||
crudChildShow: false, //是否显示CURD子操作栏 (默认true) | |||
paginStart: true, //是否显示分页查询 (默认false) | |||
titleDialog: '', //table 标题 | |||
tableOperation: true, |
@@ -502,6 +502,10 @@ function getAgenCy() { | |||
} | |||
//获取列表 | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
methods: 'page', |
@@ -383,6 +383,10 @@ function handleAfterFeeRef() { | |||
// } | |||
//获取列表 | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -427,10 +427,10 @@ | |||
</div> | |||
</template> | |||
<template #operation="{ scope }"> | |||
<el-button @click="handleDialog(scope.row, 1)" style="margin: 0px 10px 0px 10px" type="warning" size="small"> | |||
<el-button v-if="IsPermission(route, 'PROTOCOL_LIST')" @click="handleDialog(scope.row, 1)" style="margin: 0px 10px 0px 10px" type="warning" size="small"> | |||
协议管理 | |||
</el-button> | |||
<el-button @click="handleDialog(scope.row, 2)" style="margin: 0px 10px 0px 0px" type="success" size="small"> | |||
<el-button v-if="IsPermission(route, 'ANNEX_LIST')" @click="handleDialog(scope.row, 2)" style="margin: 0px 10px 0px 0px" type="success" size="small"> | |||
上线流程附件管理 | |||
</el-button> | |||
</template> | |||
@@ -904,6 +904,10 @@ function handleChangeReason(b) { | |||
}) | |||
} | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -516,6 +516,10 @@ | |||
} | |||
// 获取列表 | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
const params = handleParams() | |||
// console.log(params, 'paramsparams') |
@@ -469,6 +469,10 @@ function submitClick() { | |||
const submitHandle = useDebounce(submitClick) | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |