Commit e69721c5 by xue_wengang

权限管理

parent a554c53b
......@@ -66,6 +66,83 @@ export default {
name: "applyManager",
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryUser",
label: "用户信息管理",
roles: ["F0101", "admin",'A0000'],
index: "queryUser",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryRole",
label: "角色信息管理",
roles: ["F0102", "admin",'A0000'],
index: "queryRole",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryMenu",
label: "菜单信息管理",
roles: ["F0103", "admin",'A0000'],
index: "queryMenu",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "applyManager",
label: "三员申报管理",
roles: ["F0104", "admin",'A0000'],
index: "applyManager",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "approvalManage",
label: "三员审批管理",
roles: ["F0105", "admin",'A0000'],
index: "approvalManage",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryPWhite",
label: "白名单管理",
roles: ["F0106", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryPWhite",
label: "用户白名单管理",
roles: ["F010601", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCWhite",
label: "车辆白名单管理",
roles: ["F010602", "admin",'A0000'],
index: "queryCWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryTWhite",
label: "电话白名单管理",
roles: ["F010603", "admin",'A0000'],
index: "queryTWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
],
pageBs: "applyManager",
tableLoading: false,
tableData: [],
......@@ -90,6 +167,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
......
......@@ -45,6 +45,83 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryUser",
label: "用户信息管理",
roles: ["F0101", "admin",'A0000'],
index: "queryUser",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryRole",
label: "角色信息管理",
roles: ["F0102", "admin",'A0000'],
index: "queryRole",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryMenu",
label: "菜单信息管理",
roles: ["F0103", "admin",'A0000'],
index: "queryMenu",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "applyManager",
label: "三员申报管理",
roles: ["F0104", "admin",'A0000'],
index: "applyManager",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "approvalManage",
label: "三员审批管理",
roles: ["F0105", "admin",'A0000'],
index: "approvalManage",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryPWhite",
label: "白名单管理",
roles: ["F0106", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryPWhite",
label: "用户白名单管理",
roles: ["F010601", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCWhite",
label: "车辆白名单管理",
roles: ["F010602", "admin",'A0000'],
index: "queryCWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryTWhite",
label: "电话白名单管理",
roles: ["F010603", "admin",'A0000'],
index: "queryTWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
],
Menu: [
{
id: "approvalManage",
......@@ -131,6 +208,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
......
......@@ -26,6 +26,83 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryUser",
label: "用户信息管理",
roles: ["F0101", "admin",'A0000'],
index: "queryUser",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryRole",
label: "角色信息管理",
roles: ["F0102", "admin",'A0000'],
index: "queryRole",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryMenu",
label: "菜单信息管理",
roles: ["F0103", "admin",'A0000'],
index: "queryMenu",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "applyManager",
label: "三员申报管理",
roles: ["F0104", "admin",'A0000'],
index: "applyManager",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "approvalManage",
label: "三员审批管理",
roles: ["F0105", "admin",'A0000'],
index: "approvalManage",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryPWhite",
label: "白名单管理",
roles: ["F0106", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryPWhite",
label: "用户白名单管理",
roles: ["F010601", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCWhite",
label: "车辆白名单管理",
roles: ["F010602", "admin",'A0000'],
index: "queryCWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryTWhite",
label: "电话白名单管理",
roles: ["F010603", "admin",'A0000'],
index: "queryTWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
],
header: "车辆白名单管理",
pageBs: "queryCWhite",
cxFormData: {
......@@ -90,6 +167,7 @@ export default {
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
......
......@@ -58,6 +58,83 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryUser",
label: "用户信息管理",
roles: ["F0101", "admin",'A0000'],
index: "queryUser",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryRole",
label: "角色信息管理",
roles: ["F0102", "admin",'A0000'],
index: "queryRole",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryMenu",
label: "菜单信息管理",
roles: ["F0103", "admin",'A0000'],
index: "queryMenu",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "applyManager",
label: "三员申报管理",
roles: ["F0104", "admin",'A0000'],
index: "applyManager",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "approvalManage",
label: "三员审批管理",
roles: ["F0105", "admin",'A0000'],
index: "approvalManage",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryPWhite",
label: "白名单管理",
roles: ["F0106", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryPWhite",
label: "用户白名单管理",
roles: ["F010601", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCWhite",
label: "车辆白名单管理",
roles: ["F010602", "admin",'A0000'],
index: "queryCWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryTWhite",
label: "电话白名单管理",
roles: ["F010603", "admin",'A0000'],
index: "queryTWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
],
header: "菜单管理",
pageBs: "queryMenu",
cxFormData: {
......@@ -129,6 +206,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
......
......@@ -26,6 +26,83 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryUser",
label: "用户信息管理",
roles: ["F0101", "admin",'A0000'],
index: "queryUser",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryRole",
label: "角色信息管理",
roles: ["F0102", "admin",'A0000'],
index: "queryRole",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryMenu",
label: "菜单信息管理",
roles: ["F0103", "admin",'A0000'],
index: "queryMenu",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "applyManager",
label: "三员申报管理",
roles: ["F0104", "admin",'A0000'],
index: "applyManager",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "approvalManage",
label: "三员审批管理",
roles: ["F0105", "admin",'A0000'],
index: "approvalManage",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryPWhite",
label: "白名单管理",
roles: ["F0106", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryPWhite",
label: "用户白名单管理",
roles: ["F010601", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCWhite",
label: "车辆白名单管理",
roles: ["F010602", "admin",'A0000'],
index: "queryCWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryTWhite",
label: "电话白名单管理",
roles: ["F010603", "admin",'A0000'],
index: "queryTWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
],
header: "用户白名单",
pageBs: "queryPWhite",
cxFormData: {
......@@ -90,6 +167,7 @@ export default {
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
......
......@@ -65,6 +65,83 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryUser",
label: "用户信息管理",
roles: ["F0101", "admin",'A0000'],
index: "queryUser",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryRole",
label: "角色信息管理",
roles: ["F0102", "admin",'A0000'],
index: "queryRole",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryMenu",
label: "菜单信息管理",
roles: ["F0103", "admin",'A0000'],
index: "queryMenu",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "applyManager",
label: "三员申报管理",
roles: ["F0104", "admin",'A0000'],
index: "applyManager",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "approvalManage",
label: "三员审批管理",
roles: ["F0105", "admin",'A0000'],
index: "approvalManage",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryPWhite",
label: "白名单管理",
roles: ["F0106", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryPWhite",
label: "用户白名单管理",
roles: ["F010601", "admin",'A0000'],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCWhite",
label: "车辆白名单管理",
roles: ["F010602", "admin",'A0000'],
index: "queryCWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryTWhite",
label: "电话白名单管理",
roles: ["F010603", "admin",'A0000'],
index: "queryTWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
],
header: "角色管理",
pageBs: "queryRole",
cxFormData: {
......@@ -145,6 +222,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
......
......@@ -26,13 +26,90 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryUser",
label: "用户信息管理",
roles: ["F0101", "admin", "A0000"],
index: "queryUser",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryRole",
label: "角色信息管理",
roles: ["F0102", "admin", "A0000"],
index: "queryRole",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryMenu",
label: "菜单信息管理",
roles: ["F0103", "admin", "A0000"],
index: "queryMenu",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "applyManager",
label: "三员申报管理",
roles: ["F0104", "admin", "A0000"],
index: "applyManager",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "approvalManage",
label: "三员审批管理",
roles: ["F0105", "admin", "A0000"],
index: "approvalManage",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryPWhite",
label: "白名单管理",
roles: ["F0106", "admin", "A0000"],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryPWhite",
label: "用户白名单管理",
roles: ["F010601", "admin", "A0000"],
index: "queryPWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCWhite",
label: "车辆白名单管理",
roles: ["F010602", "admin", "A0000"],
index: "queryCWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryTWhite",
label: "电话白名单管理",
roles: ["F010603", "admin", "A0000"],
index: "queryTWhite",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
},
],
header: "电话白名单管理",
pageBs: "queryTWhite",
cxFormData: {
sqdxHm: "",
limit: 10,
page: 1,
sqdxLx:'02'
sqdxLx: "02",
},
cxQueryField: [
{
......@@ -90,6 +167,7 @@ export default {
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_Header", this.header);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",")
.findIndex((item) => item == "A0000");
......
......@@ -53,6 +53,65 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryJz",
label: "卷宗列表",
roles: ["E0901", "admin",'A0000'],
index: "queryJz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySqdlb",
label: "申请单列表",
roles: ["E0902", "admin",'A0000'],
index: "querySqdlb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXslb",
label: "线索列表",
roles: ["E0903", "admin",'A0000'],
index: "queryXslb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDwsp",
label: "待我审批",
roles: ["E0904", "admin",'A0000'],
index: "queryDwsp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryWysp",
label: "我已审批",
roles: ["E0905", "admin",'A0000'],
index: "queryWysp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySptj",
label: "审批统计",
roles: ["E0906", "admin",'A0000'],
index: "querySptj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDlr",
label: "代理人",
roles: ["E0907", "admin",'A0000'],
index: "queryDlr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
dialogFormVisible: false,
agentUserPoliceId: '',
agentUserXm: '',
......@@ -106,6 +165,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
},
methods: {
add() {
......
......@@ -14,11 +14,7 @@
<template #btnGroup="scope">
<span class="hbyp" @click="shenpi(scope.scope)">审批</span>
<span class="hbyp" @click="showDetail(scope.scope)">详情</span>
<span
class="hbyp"
@click="showliucheng(scope.scope)"
>流程</span
>
<span class="hbyp" @click="showliucheng(scope.scope)">流程</span>
</template>
</right-content>
<el-dialog title="审批" :visible.sync="dialogFormVisible" width="80%">
......@@ -36,57 +32,57 @@
</el-row>
<div class="sqdxq-title">申请单信息</div>
<el-row :gutter="20">
<el-col :span="12"><span>申请单编号:</span>{{ approveOrder.orderCode }}</el-col>
<el-col :span="12"><span>申请单名称:</span>{{ approveOrder.orderTitle }}</el-col>
<el-col :span="12"
><span>申请单编号:</span>{{ approveOrder.orderCode }}</el-col
>
<el-col :span="12"
><span>申请单名称:</span>{{ approveOrder.orderTitle }}</el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="12"><span>审批等级:</span>{{ approveOrder.orderMethod == 1 ? '二级审批' : '一级审批' }}</el-col>
<el-col :span="12"><span>申请状态:</span>{{ approveOrder.orderStatusIsgq == '1' ? '过期' : getOrderStatus(approveOrder.orderStatus) }}</el-col>
<el-col :span="12"
><span>审批等级:</span
>{{ approveOrder.orderMethod == 1 ? "二级审批" : "一级审批" }}</el-col
>
<el-col :span="12"
><span>申请状态:</span
>{{
approveOrder.orderStatusIsgq == "1"
? "过期"
: getOrderStatus(approveOrder.orderStatus)
}}</el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="12"><span>申请人:</span>{{ approveOrder.createUserName }}</el-col>
<el-col :span="12"><span>申请时间:</span>{{ approveOrder.createTime }}</el-col>
<el-col :span="12"
><span>申请人:</span>{{ approveOrder.createUserName }}</el-col
>
<el-col :span="12"
><span>申请时间:</span>{{ approveOrder.createTime }}</el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="12"><span>申请原由:</span>{{ approveOrder.orderReason }}</el-col>
<el-col :span="12"
><span>申请原由:</span>{{ approveOrder.orderReason }}</el-col
>
</el-row>
<div class="sqdxq-title">线索信息</div>
<el-table
:data="orderDetailList"
border
style="width: 100%">
<el-table-column
prop="xsXslx"
label="线索类型"
width="180">
<el-table :data="orderDetailList" border style="width: 100%">
<el-table-column prop="xsXslx" label="线索类型" width="180">
<template slot-scope="scope">
<span>{{ getXsXslx(scope.row.xsXslx) }}</span>
</template>
</el-table-column>
<el-table-column
prop="xsSxz"
label="线索值"
width="180">
</el-table-column>
<el-table-column
prop="xsKssj"
label="开始时间">
</el-table-column>
<el-table-column
prop="xsJssj"
label="到期时间">
</el-table-column>
<el-table-column
prop="xsStatus"
label="状态">
</el-table-column>
<el-table-column
prop="xsMark"
label="备注">
<el-table-column prop="xsSxz" label="线索值" width="180">
</el-table-column>
<el-table-column prop="xsKssj" label="开始时间"> </el-table-column>
<el-table-column prop="xsJssj" label="到期时间"> </el-table-column>
<el-table-column prop="xsStatus" label="状态"> </el-table-column>
<el-table-column prop="xsMark" label="备注"> </el-table-column>
</el-table>
<el-row :gutter="20">
<el-col :span="12"><span>审批结果:</span>
<el-col :span="12"
><span>审批结果:</span>
<el-radio v-model="workFlowName" label="1">通过</el-radio>
<el-radio v-model="workFlowName" label="2">驳回</el-radio>
</el-col>
......@@ -98,11 +94,14 @@
type="textarea"
:rows="2"
placeholder="请输入内容"
v-model="remark">
v-model="remark"
>
</el-input>
</el-col>
</el-row>
<div style="text-align: center; margin: 30px 0;"><el-button type="primary" @click="submit">确 定</el-button></div>
<div style="text-align: center; margin: 30px 0">
<el-button type="primary" @click="submit">确 定</el-button>
</div>
</el-dialog>
<el-dialog title="详情" :visible.sync="xqDialogFormVisible" width="80%">
......@@ -120,89 +119,173 @@
</el-row>
<div class="sqdxq-title">申请单信息</div>
<el-row :gutter="20">
<el-col :span="12"><span>申请单编号:</span>{{ approveOrder2.orderCode }}</el-col>
<el-col :span="12"><span>申请单名称:</span>{{ approveOrder2.orderTitle }}</el-col>
<el-col :span="12"
><span>申请单编号:</span>{{ approveOrder2.orderCode }}</el-col
>
<el-col :span="12"
><span>申请单名称:</span>{{ approveOrder2.orderTitle }}</el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="12"><span>审批等级:</span>{{ approveOrder2.orderMethod == 1 ? '二级审批' : '一级审批' }}</el-col>
<el-col :span="12"><span>申请状态:</span>{{ approveOrder2.orderStatusIsgq == '1' ? '过期' : getOrderStatus(approveOrder.orderStatus) }}</el-col>
<el-col :span="12"
><span>审批等级:</span
>{{
approveOrder2.orderMethod == 1 ? "二级审批" : "一级审批"
}}</el-col
>
<el-col :span="12"
><span>申请状态:</span
>{{
approveOrder2.orderStatusIsgq == "1"
? "过期"
: getOrderStatus(approveOrder.orderStatus)
}}</el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="12"><span>申请人:</span>{{ approveOrder2.createUserName }}</el-col>
<el-col :span="12"><span>申请时间:</span>{{ approveOrder2.createTime }}</el-col>
<el-col :span="12"
><span>申请人:</span>{{ approveOrder2.createUserName }}</el-col
>
<el-col :span="12"
><span>申请时间:</span>{{ approveOrder2.createTime }}</el-col
>
</el-row>
<el-row :gutter="20">
<el-col :span="12"><span>申请原由:</span>{{ approveOrder2.orderReason }}</el-col>
<el-col :span="12"
><span>申请原由:</span>{{ approveOrder2.orderReason }}</el-col
>
</el-row>
<div class="sqdxq-title">线索信息</div>
<el-table
:data="orderDetailList2"
border
style="width: 100%">
<el-table-column
prop="xsXslx"
label="线索类型"
width="180">
<el-table :data="orderDetailList2" border style="width: 100%">
<el-table-column prop="xsXslx" label="线索类型" width="180">
<template slot-scope="scope">
<span>{{ getXsXslx(scope.row.xsXslx) }}</span>
</template>
</el-table-column>
<el-table-column
prop="xsSxz"
label="线索值"
width="180">
</el-table-column>
<el-table-column
prop="xsKssj"
label="开始时间">
</el-table-column>
<el-table-column
prop="xsJssj"
label="到期时间">
</el-table-column>
<el-table-column
prop="xsStatus"
label="状态">
</el-table-column>
<el-table-column
prop="xsMark"
label="备注">
<el-table-column prop="xsSxz" label="线索值" width="180">
</el-table-column>
<el-table-column prop="xsKssj" label="开始时间"> </el-table-column>
<el-table-column prop="xsJssj" label="到期时间"> </el-table-column>
<el-table-column prop="xsStatus" label="状态"> </el-table-column>
<el-table-column prop="xsMark" label="备注"> </el-table-column>
</el-table>
</el-dialog>
<el-dialog title="审批流程" :visible.sync="lcDialogFormVisible" width="45%">
<el-timeline style="padding: 20px;">
<el-timeline-item v-for="(item, index) in lcData" :key="index" :timestamp="item.handleTime" placement="top">
<el-timeline style="padding: 20px">
<el-timeline-item
v-for="(item, index) in lcData"
:key="index"
:timestamp="item.handleTime"
placement="top"
>
<el-card>
<span class="kuang" v-if="item.handleStatus == '1'" style="background: #007aff;">提请</span>
<span class="kuang" v-if="item.handleStatus == '2'" style="background: #17ab17;">通过</span>
<span class="kuang" v-if="item.handleStatus == '3'" style="background: #8c938c;">驳回</span>
<span class="kuang" v-if="item.handleStatus == '4'" style="background: #8c938c;">撤回</span>
<span
class="kuang"
v-if="item.handleStatus == '1'"
style="background: #007aff"
>提请</span
>
<span
class="kuang"
v-if="item.handleStatus == '2'"
style="background: #17ab17"
>通过</span
>
<span
class="kuang"
v-if="item.handleStatus == '3'"
style="background: #8c938c"
>驳回</span
>
<span
class="kuang"
v-if="item.handleStatus == '4'"
style="background: #8c938c"
>撤回</span
>
<div v-if="item.handleStatus == '1'">
<!-- <i class="el-icon-user-solid"></i> -->
<h3>{{ item.workFlowName }}</h3>
<h4 style="color: #007aff;">{{ `${item.handleUserName}发起申请单,待${item.assigneeUserName}处理`}}</h4>
<h4 style="color: #666;"><span style="color: #fff; background: #007aff; border-radius: 50px;padding: 1px 8px; margin-right: 5px;">申请原因:</span>{{ item.handleContent }}</h4>
<h4 style="color: #007aff">
{{
`${item.handleUserName}发起申请单,待${item.assigneeUserName}处理`
}}
</h4>
<h4 style="color: #666">
<span
style="
color: #fff;
background: #007aff;
border-radius: 50px;
padding: 1px 8px;
margin-right: 5px;
"
>申请原因:</span
>{{ item.handleContent }}
</h4>
</div>
<div v-if="item.handleStatus == '2'">
<!-- <i class="el-icon-user-solid"></i> -->
<h3>{{ item.workFlowName }}</h3>
<h4 style="color: #007aff;">{{ item.assigneeUserPid != null ? `${item.handleUserName}通过申请单,待${item.assigneeUserName}处理` : `${item.handleUserName}通过申请单,审批流程结束`}}</h4>
<h4 style="color: #666;"><span style="color: #fff; background: #007aff; border-radius: 50px;padding: 1px 8px; margin-right: 5px;">申请原因:</span>{{ item.handleContent }}</h4>
<h4 style="color: #007aff">
{{
item.assigneeUserPid != null
? `${item.handleUserName}通过申请单,待${item.assigneeUserName}处理`
: `${item.handleUserName}通过申请单,审批流程结束`
}}
</h4>
<h4 style="color: #666">
<span
style="
color: #fff;
background: #007aff;
border-radius: 50px;
padding: 1px 8px;
margin-right: 5px;
"
>申请原因:</span
>{{ item.handleContent }}
</h4>
</div>
<div v-if="item.handleStatus == '3'">
<!-- <i class="el-icon-user-solid"></i> -->
<h3>{{ item.workFlowName }}</h3>
<h4 style="color: #007aff;">{{item.handleUserName}}驳回申请单</h4>
<h4 style="color: #666;"><span style="color: #fff; background: #007aff; border-radius: 50px;padding: 1px 8px; margin-right: 5px;">申请原因:</span>{{ item.handleContent }}</h4>
<h4 style="color: #007aff">
{{ item.handleUserName }}驳回申请单
</h4>
<h4 style="color: #666">
<span
style="
color: #fff;
background: #007aff;
border-radius: 50px;
padding: 1px 8px;
margin-right: 5px;
"
>申请原因:</span
>{{ item.handleContent }}
</h4>
</div>
<div v-if="item.handleStatus == '4'">
<!-- <i class="el-icon-user-solid"></i> -->
<h3>{{ item.workFlowName }}</h3>
<h4 style="color: #007aff;">{{item.handleUserName}}撤回申请单</h4>
<h4 style="color: #666;"><span style="color: #fff; background: #007aff; border-radius: 50px;padding: 2px 8px; margin-right: 5px;">审批意见:</span>{{ item.handleContent }}</h4>
<h4 style="color: #007aff">
{{ item.handleUserName }}撤回申请单
</h4>
<h4 style="color: #666">
<span
style="
color: #fff;
background: #007aff;
border-radius: 50px;
padding: 2px 8px;
margin-right: 5px;
"
>审批意见:</span
>{{ item.handleContent }}
</h4>
</div>
</el-card>
</el-timeline-item>
......@@ -212,9 +295,17 @@
</template>
<script>
import { toSpPage, toSpsqxx, querySqdDteail, queryWorkFlowList } from "@/api/xsspLb/xsspLb.js";
import {orderStatus, orderMethod, sqdztStatus} from "@/assets/js/transformFormTable.js";
import {
toSpPage,
toSpsqxx,
querySqdDteail,
queryWorkFlowList,
} from "@/api/xsspLb/xsspLb.js";
import {
orderStatus,
orderMethod,
sqdztStatus,
} from "@/assets/js/transformFormTable.js";
import rightContent from "@c/ptCxForm_components.vue";
export default {
......@@ -224,23 +315,82 @@ export default {
},
data() {
return {
transformFormTable: {orderStatus, orderMethod, sqdztStatus},
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryJz",
label: "卷宗列表",
roles: ["E0901", "admin", "A0000"],
index: "queryJz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySqdlb",
label: "申请单列表",
roles: ["E0902", "admin", "A0000"],
index: "querySqdlb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXslb",
label: "线索列表",
roles: ["E0903", "admin", "A0000"],
index: "queryXslb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDwsp",
label: "待我审批",
roles: ["E0904", "admin", "A0000"],
index: "queryDwsp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryWysp",
label: "我已审批",
roles: ["E0905", "admin", "A0000"],
index: "queryWysp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySptj",
label: "审批统计",
roles: ["E0906", "admin", "A0000"],
index: "querySptj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDlr",
label: "代理人",
roles: ["E0907", "admin", "A0000"],
index: "queryDlr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
transformFormTable: { orderStatus, orderMethod, sqdztStatus },
dialogFormVisible: false,
lcDialogFormVisible: false,
xqDialogFormVisible: false,
createUserPid: '',
createUserPid: "",
header: "线索审批管理平台",
// pageBs: "queryDwsp",
pageBs: "queryXslb",
approveOrder: '',
orderDetailList: '',
jzxx: '',
approveOrder: "",
orderDetailList: "",
jzxx: "",
approveOrder2: {},
orderDetailList2: {},
jzxx2: {},
lcData: [],
workFlowName: '1',
remark: '同意,无意见!',
workFlowName: "1",
remark: "同意,无意见!",
cxFormData: {
page: 1,
rows: 10,
......@@ -354,169 +504,175 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
},
methods: {
// 审批
shenpi(scope) {
this.createUserPid = scope.row.createUserPid
console.log('scope', scope)
this.createUserPid = scope.row.createUserPid;
console.log("scope", scope);
const param = {
orderCode: scope.row.orderCode,
dlyhJh: JSON.parse(sessionStorage.getItem("userInfo")).account,
}
toSpPage(param).then(res => {
if(res.code == '200') {
this.approveOrder = res.objectMap.approveOrder
this.orderDetailList = res.objectMap.orderDetailList
this.jzxx = res.objectMap.jzxx
this.dialogFormVisible = true
};
toSpPage(param).then((res) => {
if (res.code == "200") {
this.approveOrder = res.objectMap.approveOrder;
this.orderDetailList = res.objectMap.orderDetailList;
this.jzxx = res.objectMap.jzxx;
this.dialogFormVisible = true;
}
})
});
},
// 线索详情
showDetail(scope) {
console.log('scope', scope)
console.log("scope", scope);
const param = {
orderCode: scope.row.orderCode
}
querySqdDteail(param).then(res => {
if(res.code == '200') {
orderCode: scope.row.orderCode,
};
querySqdDteail(param).then((res) => {
if (res.code == "200") {
// this.xqData = res.data
this.approveOrder2 = res.approveOrder
this.orderDetailList2 = res.orderDetailList
this.jzxx2 = res.jzxx
this.xqDialogFormVisible = true
this.approveOrder2 = res.approveOrder;
this.orderDetailList2 = res.orderDetailList;
this.jzxx2 = res.jzxx;
this.xqDialogFormVisible = true;
}
})
});
},
// 流程
showliucheng(scope) {
console.log('scope', scope)
console.log("scope", scope);
const param = {
orderCode: scope.row.orderCode
}
queryWorkFlowList(param).then(res => {
if(res.code == '200') {
this.lcData = res.data
this.lcDialogFormVisible = true
orderCode: scope.row.orderCode,
};
queryWorkFlowList(param).then((res) => {
if (res.code == "200") {
this.lcData = res.data;
this.lcDialogFormVisible = true;
}
})
});
},
getXsXslx(type) {
let text = ''
switch (type) {
case '01':
text = 'QQ号码'
break
case '02':
text = '微信ID'
break
case '03':
text = '手机号码'
break
case '04':
text = 'IMSI'
break
case '05':
text = 'IMEI'
break
case '06':
text = '身份证号'
break
case '07':
text = '车牌号'
break
case '08':
text = '案件编号'
break
case '09':
text = 'MAC地址'
case '10':
text = '银行卡号'
break
}
return text
let text = "";
switch (type) {
case "01":
text = "QQ号码";
break;
case "02":
text = "微信ID";
break;
case "03":
text = "手机号码";
break;
case "04":
text = "IMSI";
break;
case "05":
text = "IMEI";
break;
case "06":
text = "身份证号";
break;
case "07":
text = "车牌号";
break;
case "08":
text = "案件编号";
break;
case "09":
text = "MAC地址";
case "10":
text = "银行卡号";
break;
}
return text;
},
// 审批状态
getOrderStatus(type) {
let text = ''
switch (type) {
case 1:
text = '暂存'
break
case 2:
text = '在审'
break
case 3:
text = '一级领导已审'
break
case 4:
text = '审批通过'
break
case 5:
text = '双签已审'
break
case 6:
text = '撤回'
break
case 7:
text = '一级领导驳回'
break
case 8:
text = '二级领导驳回'
break
case 9:
text = '双签驳回'
break
}
return text
},
let text = "";
switch (type) {
case 1:
text = "暂存";
break;
case 2:
text = "在审";
break;
case 3:
text = "一级领导已审";
break;
case 4:
text = "审批通过";
break;
case 5:
text = "双签已审";
break;
case 6:
text = "撤回";
break;
case 7:
text = "一级领导驳回";
break;
case 8:
text = "二级领导驳回";
break;
case 9:
text = "双签驳回";
break;
}
return text;
},
// 提交审批
submit() {
const formdata = new FormData()
formdata.append('orderCode', this.approveOrder.orderCode)
formdata.append('remark', this.remark)
formdata.append('workFlowName', this.workFlowName)
formdata.append('sqzt', this.approveOrder.orderStatus)
formdata.append('sqfs', this.approveOrder.orderMethod)
formdata.append('spdlx', 'PTSP')
formdata.append('pzId', this.jzxx.id)
if(this.workFlowName == '1') {
console.log('this.approveOrder.orderStatus', this.approveOrder.orderStatus)
if(this.approveOrder.orderStatus == '2') {
formdata.append('orderNextPid', this.approveOrder.orderOnegradePid)
} else if(this.approveOrder.orderStatus == '5') {
formdata.append('orderNextPid', this.approveOrder.orderTwogradePid)
const formdata = new FormData();
formdata.append("orderCode", this.approveOrder.orderCode);
formdata.append("remark", this.remark);
formdata.append("workFlowName", this.workFlowName);
formdata.append("sqzt", this.approveOrder.orderStatus);
formdata.append("sqfs", this.approveOrder.orderMethod);
formdata.append("spdlx", "PTSP");
formdata.append("pzId", this.jzxx.id);
if (this.workFlowName == "1") {
console.log(
"this.approveOrder.orderStatus",
this.approveOrder.orderStatus
);
if (this.approveOrder.orderStatus == "2") {
formdata.append("orderNextPid", this.approveOrder.orderOnegradePid);
} else if (this.approveOrder.orderStatus == "5") {
formdata.append("orderNextPid", this.approveOrder.orderTwogradePid);
} else {
formdata.append('orderNextPid', '')
formdata.append("orderNextPid", "");
}
} else {
formdata.append('orderNextPid', '')
formdata.append("orderNextPid", "");
}
formdata.append('approveUserId', JSON.parse(sessionStorage.getItem("userInfo")).account)
formdata.append('createUserPid',this.createUserPid)
toSpsqxx(formdata).then(res =>{
if(res.code == '200') {
formdata.append(
"approveUserId",
JSON.parse(sessionStorage.getItem("userInfo")).account
);
formdata.append("createUserPid", this.createUserPid);
toSpsqxx(formdata).then((res) => {
if (res.code == "200") {
this.$message({
type: "success",
message: "处理成功",
});
this.dialogFormVisible = false
this.dialogFormVisible = false;
this.$refs.rightContent.doQuery("yes");
}
})
}
});
},
},
watch: {
workFlowName(newVal, oldVal ) {
if(newVal == '2') {
this.remark = '驳回'
workFlowName(newVal, oldVal) {
if (newVal == "2") {
this.remark = "驳回";
} else {
this.remark = '同意,无意见!'
this.remark = "同意,无意见!";
}
}
},
},
};
</script>
......@@ -568,15 +724,15 @@ export default {
}
</style>
<style scoped lang="scss">
::v-deep .el-dialog__body{
::v-deep .el-dialog__body {
padding: 10px 30px !important;
.el-row{
.el-row {
line-height: 2;
margin: 0 20px !important;
}
}
.content-sqdlb{
.sqdxq-title{
.content-sqdlb {
.sqdxq-title {
font-size: 15px;
font-family: Source Han Sans CN;
font-weight: 600;
......@@ -584,17 +740,16 @@ export default {
border-bottom: 1px solid #e4e4e4;
padding: 8px;
}
.kuang{
position: absolute;
.kuang {
position: absolute;
top: 20px;
left: 35px;
color: #fff;
padding: 0 6px;
padding: 0 6px;
border-radius: 2px;
}
}
.el-form-item {
margin: 15px 0 20px 0;
}
......
......@@ -227,61 +227,10 @@ export default {
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
leftMenus2: [
//左侧导航(模块第一个页面需要)
{
id: "queryJz",
label: "卷宗列表",
newAuth: "M01",
index: "queryJz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySqdlb",
label: "申请单列表",
newAuth: "M01",
index: "querySqdlb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXslb",
label: "线索列表",
newAuth: "M01",
index: "queryXslb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDwsp",
label: "待我审批",
newAuth: "M01",
index: "queryDwsp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryWysp",
label: "我已审批",
newAuth: "M01",
index: "queryWysp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySptj",
label: "审批统计",
newAuth: "M01",
index: "querySptj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
{
id: "queryDlr",
label: "代理人",
newAuth: "M01",
roles: ["E0907", "admin",'A0000'],
index: "queryDlr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
......@@ -295,7 +244,6 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
this.$store.commit("user/SET_Header", this.header);
this.toGetUserQx()
},
methods: {
// 普通审批
......@@ -308,23 +256,6 @@ export default {
this.spData = data.row
this.spDialogFormVisible2 = true
},
// 获取用户权限(控制菜单)
toGetUserQx(scope) {
console.log('scope', scope)
const param = {
cxrJh: JSON.parse(sessionStorage.getItem("userInfo")).account
}
getUserQx(param).then(res => {
if(res.code == '200') {
// this.haveEjspqx = res.haveEjspqx
if(res.haveEjspqx) {
this.$store.commit("user/SET_LeftMenu", this.leftMenus2)
} else {
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
}
}
})
},
// 卷宗详情
showDetail(scope) {
console.log('scope', scope)
......
......@@ -314,6 +314,65 @@ export default {
components: {},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryJz",
label: "卷宗列表",
roles: ["E0901", "admin", "A0000"],
index: "queryJz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySqdlb",
label: "申请单列表",
roles: ["E0902", "admin", "A0000"],
index: "querySqdlb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXslb",
label: "线索列表",
roles: ["E0903", "admin", "A0000"],
index: "queryXslb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDwsp",
label: "待我审批",
roles: ["E0904", "admin", "A0000"],
index: "queryDwsp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryWysp",
label: "我已审批",
roles: ["E0905", "admin", "A0000"],
index: "queryWysp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySptj",
label: "审批统计",
roles: ["E0906", "admin", "A0000"],
index: "querySptj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDlr",
label: "代理人",
roles: ["E0907", "admin", "A0000"],
index: "queryDlr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
dialogFormVisible: false,
lcDialogFormVisible: false,
approveOrder: {},
......@@ -666,10 +725,10 @@ export default {
this.bztData[5].value = res.bzt.yjbhCount;
this.bztData[6].value = res.bzt.ejbhCount;
// this.zztCount = res.zztCount
res.zzt.forEach( item => {
this.zztX.push(item.createtime)
this.zztY.push(item.tjCount)
})
res.zzt.forEach((item) => {
this.zztX.push(item.createtime);
this.zztY.push(item.tjCount);
});
this.startMyEcharts();
this.loading.close();
}
......@@ -820,7 +879,7 @@ export default {
legend: {
orient: "vertical",
// left: "right",
right: 50,
right: 50,
},
series: [
{
......@@ -838,18 +897,17 @@ export default {
},
],
});
window.addEventListener("resize", () => {
lineCharts.resize();
pieCharts.resize();
});
},
},
},
watch: {},
};
</script>
<style scoped lang="scss">
::v-deep .el-dialog__body {
padding: 10px !important;
.el-row {
......
......@@ -169,6 +169,65 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryJz",
label: "卷宗列表",
roles: ["E0901", "admin",'A0000'],
index: "queryJz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySqdlb",
label: "申请单列表",
roles: ["E0902", "admin",'A0000'],
index: "querySqdlb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXslb",
label: "线索列表",
roles: ["E0903", "admin",'A0000'],
index: "queryXslb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDwsp",
label: "待我审批",
roles: ["E0904", "admin",'A0000'],
index: "queryDwsp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryWysp",
label: "我已审批",
roles: ["E0905", "admin",'A0000'],
index: "queryWysp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySptj",
label: "审批统计",
roles: ["E0906", "admin",'A0000'],
index: "querySptj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDlr",
label: "代理人",
roles: ["E0907", "admin",'A0000'],
index: "queryDlr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
dialogFormVisible: false,
lcDialogFormVisible: false,
spDialogFormVisible: false,
......@@ -299,6 +358,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu)
this.$store.commit("user/SET_LeftMenu", this.leftMenus)
},
methods: {
// 普通审批
......
......@@ -140,6 +140,65 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryJz",
label: "卷宗列表",
roles: ["E0901", "admin",'A0000'],
index: "queryJz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySqdlb",
label: "申请单列表",
roles: ["E0902", "admin",'A0000'],
index: "querySqdlb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXslb",
label: "线索列表",
roles: ["E0903", "admin",'A0000'],
index: "queryXslb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDwsp",
label: "待我审批",
roles: ["E0904", "admin",'A0000'],
index: "queryDwsp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryWysp",
label: "我已审批",
roles: ["E0905", "admin",'A0000'],
index: "queryWysp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySptj",
label: "审批统计",
roles: ["E0906", "admin",'A0000'],
index: "querySptj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDlr",
label: "代理人",
roles: ["E0907", "admin",'A0000'],
index: "queryDlr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
dialogFormVisible: false,
lcDialogFormVisible: false,
header: "线索审批管理平台",
......@@ -256,7 +315,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
},
methods: {
......
......@@ -136,6 +136,65 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryJz",
label: "卷宗列表",
roles: ["E0901", "admin",'A0000'],
index: "queryJz",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySqdlb",
label: "申请单列表",
roles: ["E0902", "admin",'A0000'],
index: "querySqdlb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryXslb",
label: "线索列表",
roles: ["E0903", "admin",'A0000'],
index: "queryXslb",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDwsp",
label: "待我审批",
roles: ["E0904", "admin",'A0000'],
index: "queryDwsp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryWysp",
label: "我已审批",
roles: ["E0905", "admin",'A0000'],
index: "queryWysp",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "querySptj",
label: "审批统计",
roles: ["E0906", "admin",'A0000'],
index: "querySptj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryDlr",
label: "代理人",
roles: ["E0907", "admin",'A0000'],
index: "queryDlr",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
dialogFormVisible: false,
lcDialogFormVisible: false,
header: "线索审批管理平台",
......@@ -263,7 +322,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
},
methods: {
......
......@@ -34,6 +34,109 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "zczl",
label: "工作指令流转",
roles: ["C0601", "admin",'A0000'],
index: "zczl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "wfzdzczl",
label: "我负责的工作指令",
index: "wfzdzczl",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "wfqdzczl",
label: "我发起的工作指令",
index: "wfqdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "xywspdzczl",
label: "需要我审批的工作指令",
index: "xywspdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "xywspdfkxx",
label: "需要我审批的反馈信息",
index: "xywspdfkxx",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "bxqjsdzczl",
label: "本辖区接收的工作指令",
index: "bxqjsdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "zczltj",
label: "工作指令工作评估",
index: "zczltj",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "dwtjtb",
label: "单位统计",
index: "dwtjtb",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
{
id: "xxgl",
label: "信息管理",
roles: ["C0602", "admin",'A0000'],
index: "xxgl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "llycx",
label: "联络员管理",
index: "llycx",
roles: ["C060201", "admin",'A0000'],
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "llygl",
label: "联络员查询",
roles: ["C060202", "admin",'A0000'],
index: "llygl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "sqqxgl",
label: "审批权限管理",
index: "sqqxgl",
roles: ["C060203", "admin",'A0000'],
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
],
header: "联络员管理",
pageBs: "xywspdzczl",
cxFormData: {
......@@ -108,6 +211,7 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
},
methods: {
settingPerson(scope, loading) {
......
......@@ -7,7 +7,6 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
ref="rightContent"
></right-content>
</div>
......@@ -23,6 +22,109 @@ export default {
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "zczl",
label: "工作指令流转",
roles: ["C0601", "admin", "A0000"],
index: "zczl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "wfzdzczl",
label: "我负责的工作指令",
index: "wfzdzczl",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "wfqdzczl",
label: "我发起的工作指令",
index: "wfqdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "xywspdzczl",
label: "需要我审批的工作指令",
index: "xywspdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "xywspdfkxx",
label: "需要我审批的反馈信息",
index: "xywspdfkxx",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "bxqjsdzczl",
label: "本辖区接收的工作指令",
index: "bxqjsdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "zczltj",
label: "工作指令工作评估",
index: "zczltj",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "dwtjtb",
label: "单位统计",
index: "dwtjtb",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
{
id: "xxgl",
label: "信息管理",
roles: ["C0602", "admin", "A0000"],
index: "xxgl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "llycx",
label: "联络员管理",
index: "llycx",
roles: ["C060201", "admin", "A0000"],
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "llygl",
label: "联络员查询",
roles: ["C060202", "admin", "A0000"],
index: "llygl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "sqqxgl",
label: "审批权限管理",
index: "sqqxgl",
roles: ["C060203", "admin", "A0000"],
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
],
header: "联络员查询",
pageBs: "llygl",
cxFormData: {
......@@ -105,10 +207,9 @@ export default {
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
},
methods: {
},
methods: {},
mounted() {},
};
</script>
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@qxfp="qxfp"
@add="add"
ref="rightContent"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@qxfp="qxfp"
@add="add"
ref="rightContent"
>
<template #listOperation>
<el-button style="border:1px solid rgb(0 122 255);color:rgb(0 122 255)" @click="add"
size="mini" icon="el-icon-plus">新增
<el-button
style="border: 1px solid rgb(0 122 255); color: rgb(0 122 255)"
@click="add"
size="mini"
icon="el-icon-plus"
>新增
</el-button>
</template>
<template #btnGroup="scope">
<el-button @click="qxfp(scope.scope)" type="text">权限分配</el-button>
<el-button @click="qxfp(scope.scope)" type="text">权限分配</el-button>
</template>
</right-content>
<el-dialog title="权限信息" :visible.sync="dialogVisible" width="50%">
<el-checkbox-group v-model="ywlx" style="margin: 20px;">
<el-checkbox :label="i.id" v-for="(i,k) in ywlxData" :key='k'>{{ i.label }}</el-checkbox>
<el-checkbox-group v-model="ywlx" style="margin: 20px">
<el-checkbox :label="i.id" v-for="(i, k) in ywlxData" :key="k">{{
i.label
}}</el-checkbox>
</el-checkbox-group>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="allocation">分配</el-button>
</span>
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="allocation">分配</el-button>
</span>
</el-dialog>
<el-dialog title="选择警员" :visible.sync="dialogTableVisible" width="70%">
<div style="margin-top: 20px;">
<div style="margin-top: 20px">
<el-form :inline="true" :model="grFrom" class="demo-form-inline">
<el-form-item label="姓名">
<el-input clearable v-model="grFrom.name" placeholder=""></el-input>
</el-form-item>
<el-form-item label="警号">
<el-input clearable v-model="grFrom.policeManId" placeholder=""></el-input>
<el-input
clearable
v-model="grFrom.policeManId"
placeholder=""
></el-input>
</el-form-item>
<el-form-item label="单位">
<select-tree-dialog
:placeholder="'请选择'"
:sendId="grFrom.unitCode"
:formData="grFrom"
:currentItem="grQueryField[0]"
:placeholder="'请选择'"
:sendId="grFrom.unitCode"
:formData="grFrom"
:currentItem="grQueryField[0]"
/>
<!-- <el-input v-model="grFrom.unitCode" placeholder=""></el-input>-->
</el-form-item>
......@@ -53,93 +63,191 @@
</el-form-item>
</el-form>
</div>
<el-table :data="gridData"
ref="multipleTable"
:row-key="getRowKey"
>
<el-table-column
:reserve-selection="true"
type="selection"
width="55">
<el-table :data="gridData" ref="multipleTable" :row-key="getRowKey">
<el-table-column :reserve-selection="true" type="selection" width="55">
</el-table-column>
<el-table-column property="trueName" label="姓名"></el-table-column>
<el-table-column property="unitname" label="单位名称"></el-table-column>
<el-table-column property="identitycard" label="身份证号"></el-table-column>
<el-table-column
property="identitycard"
label="身份证号"
></el-table-column>
<el-table-column property="policemanid" label="警号"></el-table-column>
<el-table-column property="telephone" label="电话"></el-table-column>
<el-table-column property="unitcode" label="单位代码"></el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="grtotal"
@current-change="currentChange">
layout="prev, pager, next"
:total="grtotal"
@current-change="currentChange"
>
</el-pagination>
<div style="margin: 20px;text-align: right">
<div style="margin: 20px; text-align: right">
<el-button type="primary" @click="clickAddSpy">确定</el-button>
<el-button @click="dialogTableVisible = false">取消</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {doQxfp, getUserInfo, addSpy} from "@/api/zczl/xxgl.js";
import { doQxfp, getUserInfo, addSpy } from "@/api/zczl/xxgl.js";
import SelectTreeDialog from "@c/treeCode_components.vue";
export default {
name: "rlqbxsxx",
components: {
rightContent,
SelectTreeDialog
SelectTreeDialog,
},
data() {
return {
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "zczl",
label: "工作指令流转",
roles: ["C0601", "admin", "A0000"],
index: "zczl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "wfzdzczl",
label: "我负责的工作指令",
index: "wfzdzczl",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "wfqdzczl",
label: "我发起的工作指令",
index: "wfqdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "xywspdzczl",
label: "需要我审批的工作指令",
index: "xywspdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "xywspdfkxx",
label: "需要我审批的反馈信息",
index: "xywspdfkxx",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "bxqjsdzczl",
label: "本辖区接收的工作指令",
index: "bxqjsdzczl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "zczltj",
label: "工作指令工作评估",
index: "zczltj",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "dwtjtb",
label: "单位统计",
index: "dwtjtb",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
{
id: "xxgl",
label: "信息管理",
roles: ["C0602", "admin", "A0000"],
index: "xxgl",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "llycx",
label: "联络员管理",
index: "llycx",
roles: ["C060201", "admin", "A0000"],
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "llygl",
label: "联络员查询",
roles: ["C060202", "admin", "A0000"],
index: "llygl",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "sqqxgl",
label: "审批权限管理",
index: "sqqxgl",
roles: ["C060203", "admin", "A0000"],
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
],
listOperation: false,
dialogVisible: false,
dialogTableVisible: false,
ywlxData: [
{
"label": "跨区域系列案件",
"id": "0"
label: "跨区域系列案件",
id: "0",
},
{
"label": "通用",
"id": "1"
label: "通用",
id: "1",
},
{
"label": "非接触性诈骗",
"id": "2"
label: "非接触性诈骗",
id: "2",
},
{
"label": "涉枪类案件",
"id": "3"
label: "涉枪类案件",
id: "3",
},
{
"label": "刑事技术比中",
"id": "4"
label: "刑事技术比中",
id: "4",
},
{
"label": "指令反馈",
"id": "5"
}
label: "指令反馈",
id: "5",
},
],
grFrom: {
name: '',
unitCode: '',
policeManId: '',
limit: '10',
page: '1',
name: "",
unitCode: "",
policeManId: "",
limit: "10",
page: "1",
},
gridData: [],
grtotal: 0,
ywlx: [],
userid: '',
userid: "",
header: "审批权限管理",
pageBs: "sqqxgl",
cxFormData: {
......@@ -206,7 +314,7 @@ export default {
{
name: "已分配",
value: "1",
}
},
],
value: "",
placeholder: "请选择",
......@@ -262,14 +370,16 @@ export default {
};
},
created() {
this.grQueryField[0] = this.cxQueryField[0]
this.grQueryField[0].id = 'unitCode'
this.grQueryField[0] = this.cxQueryField[0];
this.grQueryField[0].id = "unitCode";
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Menu", this.Menu);
let userInfo = JSON.parse(sessionStorage.getItem('userInfo'))
let isAdmin = JSON.parse(sessionStorage.getItem("userInfo")).permission == "admin";
let userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
let isAdmin =
JSON.parse(sessionStorage.getItem("userInfo")).permission == "admin";
if (userInfo.account === "admin" || isAdmin) {
this.listOperation = true
this.listOperation = true;
}
},
methods: {
......@@ -277,87 +387,85 @@ export default {
return row.id;
},
currentChange(i) {
this.grFrom.page = i
this.httpGetUserInfo()
this.grFrom.page = i;
this.httpGetUserInfo();
},
httpGetUserInfo() {
getUserInfo(this.grFrom).then(res => {
this.gridData = res.data.data
this.grtotal = res.data.total
})
getUserInfo(this.grFrom).then((res) => {
this.gridData = res.data.data;
this.grtotal = res.data.total;
});
},
onSubmit() {
this.grFrom.page = 1
this.httpGetUserInfo()
this.grFrom.page = 1;
this.httpGetUserInfo();
},
Reset() {
this.grFrom.name = ''
this.grFrom.unitCode = ''
this.grFrom.policeManId = ''
this.grFrom.name = "";
this.grFrom.unitCode = "";
this.grFrom.policeManId = "";
},
add() {
this.dialogTableVisible = true
this.httpGetUserInfo()
this.dialogTableVisible = true;
this.httpGetUserInfo();
},
clickAddSpy() {
let rows = this.$refs.multipleTable.selection
let rows = this.$refs.multipleTable.selection;
if (!rows.length) {
this.$message({
type: "warning",
message: "请选择警员",
});
return
return;
}
let li = []
let li = [];
rows.map(function (i) {
li.push(i.id)
})
addSpy({ids: li.join()}).then(res => {
li.push(i.id);
});
addSpy({ ids: li.join() }).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "提交成功",
});
this.dialogTableVisible = false
this.dialogTableVisible = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("提交失败");
}
})
});
},
qxfp(scope) {
this.dialogVisible = true
this.userid = scope.row.userId
this.dialogVisible = true;
this.userid = scope.row.userId;
if (scope.row.ywlx.length != 0 && scope.row.ywlx != null) {
this.ywlx = scope.row.ywlx.split(',');
this.ywlx = scope.row.ywlx.split(",");
} else {
this.ywlx = []
this.ywlx = [];
}
},
allocation() {
let ywlx = JSON.parse(JSON.stringify(this.ywlx)).join()
let ywlx = JSON.parse(JSON.stringify(this.ywlx)).join();
doQxfp({
userId: this.userid,
ywlx: ywlx
ywlx: ywlx,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "分配成功",
});
this.ywlx = []
this.dialogVisible = false
this.ywlx = [];
this.dialogVisible = false;
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("分配失败");
}
});
}
},
mounted() {
},
},
mounted() {},
};
</script>
<style>
......
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