权限相关优化修改

master
anthonywj 2 years ago
parent 29c55b0221
commit 200bae5efe

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

@ -1,38 +1,27 @@
<template>
<!-- 本企业资质页面 -->
<div>
<div slot="header" style="font-weight: bold">
<div slot="header" style="font-weight: bold;margin-top: 35px">
<div style="text-align: center">
<img
alt="element-logo"
style="width: 10%"
style="width: 8%"
src="../assets/logo/logo.png"
/>
</div>
<h3 style="text-align: center;font-size: larger ;color:#707070 ">协调平台注册</h3>
<h3 style="text-align: center;font-size: larger ;color:#707070 ">UDI协调平台企业信息登记</h3>
</div>
<el-form
:model="inputQuery"
:rules="rules"
style="margin-top: 35px"
ref="inputQuery"
label-width="500px"
label-width="150px"
>
<el-card class="el-card">
<div slot="header" class="clearfix">
<span>企业信息:</span>
<div>
<span>
企业信息
</span>
</div>
<div style=" margin-left: 40%">
<span>
本企业信息审核状态
<el-tag :type="inputQuery.ucstatus | statusFilterType" >
{{checkSupFlag[inputQuery.ucstatus] }}
</el-tag>
</span>
</div>
<div style="float: right;margin-top: -20px ">
<el-button
type="primary"
@ -52,17 +41,38 @@
>提交审核
</el-button>
</div>
</div>
</div>
<el-row
:gutter="20"
class="el-row"
type="flex"
>
<el-col :span="20" class="el-col">
<el-form-item
label="本企业信息审核状态:"
prop="reason"
>
<span>
<el-tag :type="inputQuery.ucstatus | statusFilterType">
{{ checkSupFlag[inputQuery.ucstatus] }}
</el-tag>
</span>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter="20"
class="el-row"
type="flex"
style="margin-top: 25px"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label=" 说明:"
label-width="150px"
label="审核说明:"
prop="reason"
>
<el-input
@ -80,10 +90,10 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label=" 企业名称:"
label-width="150px"
prop="companyName"
>
<el-input
@ -104,11 +114,10 @@
type="flex"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label=" 社会信用号:"
label-width="150px"
prop="creditNum"
>
<el-input
@ -124,8 +133,8 @@
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
<el-col :span="10" class="el-col">
<el-form-item label="企业类型:" label-width="150px" prop="bussinessStatus">
<el-col :span="20" class="el-col">
<el-form-item label="企业类型:" prop="bussinessStatus">
<el-select
size="small"
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
@ -149,11 +158,11 @@
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label=" 法人名称 :"
label-width="150px"
prop="legalPerson"
>
<el-input
@ -171,10 +180,10 @@
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label="法人身份证号 :"
label-width="150px"
prop="legalIdCard"
>
<el-input
@ -189,11 +198,11 @@
</el-row>
<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label="注册地址:"
label-width="150px"
prop="registerAddress"
>
<el-input
@ -207,12 +216,11 @@
</el-col>
</el-row>
<!--<el-row :gutter="20" class="el-row" type="flex" style="margin-top: 0px">-->
<!-- <el-col :span="10" class="el-col">-->
<!-- <el-form-item label="备注:" label-width="150px" prop="remark">-->
<!-- <el-col :span="20" class="el-col">-->
<!-- <el-form-item label="备注:" prop="remark">-->
<!-- <el-input-->
<!-- size="small"-->
<!-- v-model="inputQuery.remark"-->
@ -224,9 +232,11 @@
</el-card>
<el-card class="el-card">
<div>
<div slot="header" class="clearfix">
<span>
个人基本信息
企业系统负责人信息
</span>
</div>
<el-row
@ -235,8 +245,8 @@
type="flex"
style="margin-top: 25px"
>
<el-col :span="10" class="el-col">
<el-form-item label="注册手机:" label-width="150px" prop="mobile">
<el-col :span="20" class="el-col">
<el-form-item label="注册手机:" prop="mobile">
<el-input
size="small"
placeholder="请输入内容"
@ -251,8 +261,8 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-form-item label="注册人名称:" label-width="150px" prop="realName">
<el-col :span="20" class="el-col">
<el-form-item label="注册人名称:" prop="realName">
<el-input
size="small"
placeholder="请输入内容"
@ -268,8 +278,8 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-form-item label="法人联系电话:" label-width="150px" prop="fmobile">
<el-col :span="20" class="el-col">
<el-form-item label="法人联系电话:" prop="fmobile">
<el-input
size="small"
placeholder="请输入内容"
@ -285,8 +295,8 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-form-item label="邮箱:" label-width="150px" prop="email">
<el-col :span="20" class="el-col">
<el-form-item label="邮箱:" prop="email">
<el-input
size="small"
placeholder="请输入内容"
@ -298,17 +308,15 @@
</el-row>
<el-row
:gutter="20"
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label="系统负责人姓名:"
label-width="150px"
prop="name"
>
<el-input
@ -326,10 +334,10 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label="系统负责人电话:"
label-width="150px"
prop="tel"
>
<el-input
@ -346,10 +354,10 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label="系统负责人QQ:"
label-width="150px"
prop="qq"
>
<el-input
@ -367,10 +375,10 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label="系统负责人微信:"
label-width="150px"
prop="weChat"
>
<el-input
@ -388,10 +396,10 @@
class="el-row"
type="flex"
>
<el-col :span="10" class="el-col">
<el-col :span="20" class="el-col">
<el-form-item
label="系统负责人邮箱:"
label-width="150px"
prop="xemail"
>
<el-input
@ -408,12 +416,6 @@
</el-card>
<el-card>
<div style="float: right; text-align: right; margin-bottom: 8px">
<el-button
@ -473,20 +475,23 @@
size="small"
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
@click.native="addCert(scope.row)"
>编辑</el-button
>编辑
</el-button
>
<el-button
type="text"
size="small"
@click.native="showImgViewer(scope.row)"
>预览</el-button
>预览
</el-button
>
<el-button
type="text"
size="small"
:disabled="inputQuery.ucstatus == 1 || inputQuery.ucstatus ==3"
@click.native="deleteCompanyCert(scope.row)"
>删除</el-button
>删除
</el-button
>
</template>
</el-table-column>
@ -529,17 +534,11 @@
/>
</el-form>
</div>
</template>
<script>
import companyAddCert from "@/views/purchase/cert/supCertAddDialog";
import {insertInitial, saveAllInfo} from "@/api/auth/registComPer";
@ -550,8 +549,6 @@ import {isBlank} from "@/utils/strUtil";
import {encrypts} from "@/api/login";
export default {
name: "supCompanyEdit",
data() {
@ -761,9 +758,9 @@ export default {
// this.getInfo();
},
components: { companyAddCert,ElImageViewer
components: {
companyAddCert, ElImageViewer
},
methods: {
@ -774,6 +771,8 @@ export default {
} else {
mess = '草稿保存'
}
this.$refs["inputQuery"].validate((valid) => {
if (valid) {
this.$confirm("是否" + mess, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@ -796,11 +795,12 @@ export default {
}
})
})
}
});
},
deleteCompanyCert(row) {
this.$confirm("是否删除?", "提示", {
confirmButtonText: "确定",
@ -976,9 +976,8 @@ export default {
}
.el-card {
margin: 15px 25%;
width: 50%;
margin: 15px 20%;
width: 60%;
/*transition: all .5s;*/
}

@ -3,15 +3,15 @@
<el-card class="el-card">
<el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-show="showSearch">
<el-row>
<el-col :span="6">
<el-form-item class="query-form-item" label="接口名称:">
<el-input v-model="filterQuery.name" placeholder="接口名称"
<el-col :span="8">
<el-form-item class="query-form-item" label="接口分类名称:">
<el-input v-model="filterQuery.name" placeholder="接口分类名称"
style="width: 90%"
clearable="true"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="8">
<el-form-item class="query-form-item" label="创建时间:">
<el-date-picker
:picker-options="pickerOptions"
@ -28,7 +28,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="8">
<el-form-item class="query-form-item" label="更新时间:">
<el-date-picker
:picker-options="pickerOptions"
@ -72,18 +72,13 @@
border
@current-change="handleSelectionChange">
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="接口分类名称" prop="name" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="创建时间" prop="createTime" width="140" show-overflow-tooltip>
<el-table-column label="接口分类名称" prop="name" show-overflow-tooltip></el-table-column>
<el-table-column label="创建时间" prop="createTime" show-overflow-tooltip>
</el-table-column>
<el-table-column label="更新时间" prop="updateTime" width="140" show-overflow-tooltip>
<el-table-column label="更新时间" prop="updateTime" show-overflow-tooltip>
</el-table-column>
<el-table-column label="备注" prop="reemark" width="140" show-overflow-tooltip>
<el-table-column label="备注" prop="reemark" show-overflow-tooltip>
</el-table-column>
<el-table-column label="操作" width="120" fixed="right">
<template slot-scope="scope">
<el-button
@ -123,6 +118,7 @@
<el-tabs type="border-card" style="margin: 15px">
<!--单据业务详情-->
<el-tab-pane>
<span slot="label"> {{ currentRow == null ? '' : currentRow.name }}</span>
<el-form :inline="true" :model="bizQuery" class="query-form" size="mini">
<el-form-item class="query-form-item" label="接口名称:">
<el-input
@ -156,46 +152,47 @@
<el-table-column
label="接口名称"
prop="name"
width="150"
show-overflow-tooltip
></el-table-column>
<el-table-column
label="接口地址"
width="150"
prop="path"
></el-table-column>
<el-table-column
label="权限标识"
width="100"
prop="perms"
></el-table-column>
<el-table-column
label="接口文档"
prop="docUrl"
width="100"
>
<template slot-scope="scope">
<el-link v-if="scope.row.docUrl != '' && scope.row.docUrl != null" type="primary" :href="scope.row.docUrl" target="_blank"></el-link>
<el-link v-if="scope.row.docUrl != '' && scope.row.docUrl != null" type="primary" :href="scope.row.docUrl"
target="_blank">文档链接
</el-link>
</template>
</el-table-column>
<el-table-column
label="创建时间"
prop="createTime"
width="100"
></el-table-column>
<el-table-column
label="更新时间"
prop="updateTime"
width="100"
></el-table-column>
<el-table-column
label="备注"
prop="remark"
width="100"
></el-table-column>
></el-table-column>
<el-table-column label="操作" width="160" fixed="right">
@ -327,7 +324,6 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click.native="hideForm">取消</el-button>
@ -345,7 +341,6 @@
import {getSortList, insertLicense, deleteLicense, updateLicense} from "@/api/system/sysicense";
const formJson = {
site_id: "",
site_name: "",
@ -362,6 +357,7 @@ export default {
formName: null,
subFormVisible: false,
showSearch: true,
currentRow: null,
filterQuery: {
name: "",
page: 1,
@ -493,8 +489,6 @@ export default {
onBizSubmit() {
this.bizQuery.page = 1;
this.getlower();
},
@ -545,6 +539,7 @@ export default {
handleSelectionChange(val) {
this.bizQuery.page = 1;
this.bizQuery.parentId = val.id;
this.currentRow = val;
this.getlower();
},
@ -597,8 +592,6 @@ export default {
})
},
@ -677,12 +670,9 @@ export default {
}
},
},
filters: {},
mounted() {

@ -23,16 +23,19 @@
<el-form-item>
<el-button-group style="margin-left: 10px; display: flex">
<el-button type="primary" icon="el-icon-refresh" @click="onReset"
>重置</el-button
>重置
</el-button
>
<el-button type="primary" icon="el-icon-search" @click="onSubmit"
>查询</el-button
>查询
</el-button
>
<el-button
type="primary"
icon="el-icon-plus"
@click="handleSubForm(null, 'add')"
>新增</el-button
>新增
</el-button
>
</el-button-group>
</el-form-item>
@ -42,20 +45,18 @@
border
@current-change="handleSelectionChange">
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="角色名称" prop="name" show-overflow-tooltip width="140"></el-table-column>
<el-table-column label="角色名称" prop="name" show-overflow-tooltip></el-table-column>
<el-table-column label="编码" prop="code" width="140" show-overflow-tooltip>
<el-table-column label="编码" prop="code" show-overflow-tooltip>
</el-table-column>
<el-table-column label="状态" prop="status" width="140" show-overflow-tooltip>
<el-table-column label="状态" prop="status" show-overflow-tooltip>
<template slot-scope="scope">
<el-tag :type="statusFilterType(scope.row.status)">{{ status[scope.row.status] }}</el-tag>
</template>
</el-table-column>
<el-table-column label="创建时间" prop="createTime" width="140" show-overflow-tooltip>
<el-table-column label="创建时间" prop="createTime" show-overflow-tooltip>
</el-table-column>
<el-table-column label="操作" width="120" fixed="right">
<template slot-scope="scope">
<el-button
@ -149,7 +150,6 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click.native="hideForm">取消</el-button>
@ -160,7 +160,6 @@
</el-dialog>
<el-dialog title="授权" :visible.sync="roleMenuDialog.visible">
<el-tree
:data="roleMenuDialog.detail"
@ -186,7 +185,6 @@ import {getRolelist, insertRole, updateRole, deleteRole, treeselect,saveRoleMenu
from "@/api/system/srole"
const formJson = {
site_id: "",
site_name: "",
@ -301,9 +299,6 @@ export default {
},
onSubmit() {
this.loading = true;
this.filterQuery.page = 1;
@ -385,11 +380,9 @@ export default {
})
})
},
printOrder(id) {

Loading…
Cancel
Save