Commit 0d174d7a by liyuhang19990520

Merge branch 'dev_xzeq' of http://47.92.108.28/changchao/founder_vue into dev_xzeq

parents c0d7b6ba 3bc13362
...@@ -1204,23 +1204,24 @@ export default { ...@@ -1204,23 +1204,24 @@ export default {
} }
} }
} else if (item.type == "date" || item.type == "dates") { } else if (item.type == "date" || item.type == "dates") {
debugger
//如果他的类型是date 时间框 //如果他的类型是date 时间框
if (self.formLabelAlign[item.id]) { if (self.formLabelAlign[item.id]) {
//调用函数 拿到时间格式的字符串 //调用函数 拿到时间格式的字符串
var time = ""; // var time = "";
if (item.id != "fkqx") { // if (item.id != "fkqx") {
time = // time =
window.util.timeStampTurnTime( // window.util.timeStampTurnTime(
self.formLabelAlign[item.id] // self.formLabelAlign[item.id]
) || ""; // ) || "";
} else { // } else {
time = // time =
self.formLabelAlign[item.id].substring(0, 10) || ""; // self.formLabelAlign[item.id].substring(0, 10) || "";
} // }
if (itemData.objStr) { if (itemData.objStr) {
params.append(itemData.objStr + "." + item.id, time); params.append(itemData.objStr + "." + item.id, self.formLabelAlign[item.id]);
} else if (!itemData.objStr) { } else if (!itemData.objStr) {
params.append(item.id, time); params.append(item.id, self.formLabelAlign[item.id]);
} }
} }
} else if (item.type == "codeTag") { } else if (item.type == "codeTag") {
......
...@@ -400,7 +400,20 @@ ...@@ -400,7 +400,20 @@
columnTitle.prop == 'xm' || columnTitle.prop == 'xm' ||
columnTitle.prop == 'mfzztm') && columnTitle.prop == 'mfzztm') &&
pageBs != 'zdryGl' && pageBs != 'zdryGl' &&
pageBs != 'dytj' pageBs != 'dytj' && pageBs != 'gnsyrz' && pageBs != 'jdcxsGl' && pageBs != 'hmxsGl' && pageBs != 'ryxsGl'
"
>
<!-- 暂时修改成这样 -->
<span
class="edit"
style="margin-right: 16px"
v-html="scope.row[columnTitle.prop]"
></span>
</div>
<div
v-else-if="
columnTitle.prop == 'xxzjbh'
" "
> >
<!-- 暂时修改成这样 --> <!-- 暂时修改成这样 -->
...@@ -408,7 +421,7 @@ ...@@ -408,7 +421,7 @@
@click="toInfor(scope.row)" @click="toInfor(scope.row)"
class="edit" class="edit"
style="margin-right: 16px" style="margin-right: 16px"
v-html="scope.row[columnTitle.prop] || '1'" v-html="scope.row[columnTitle.prop]"
></span> ></span>
</div> </div>
<div <div
...@@ -460,14 +473,14 @@ ...@@ -460,14 +473,14 @@
label="操作" label="操作"
width="200" width="200"
:fixed="pageBs == 'rySp' ? 'right' : false" :fixed="pageBs == 'rySp' ? 'right' : false"
v-if="pageBs != 'gnsyrz'" v-if="!(pageBs == 'gnsyrz' || pageBs == 'jdcxsGl' || pageBs == 'hmxsGl' || pageBs == 'ryxsGl')"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span <span
@click="edit(scope)" @click="edit(scope)"
class="edit" class="edit"
style="margin-right: 16px" style="margin-right: 16px"
v-if="!(pageBs == 'rySp' || pageBs == 'yhkxsGl' || pageBs == 'jdcxsGl' || pageBs == 'hmxsGl' || pageBs == 'ryxsGl')" v-if="!(pageBs == 'rySp' || pageBs == 'yhkxsGl')"
>修改</span >修改</span
> >
<span <span
...@@ -479,7 +492,7 @@ ...@@ -479,7 +492,7 @@
<span <span
@click="dele(scope)" @click="dele(scope)"
class="dele" class="dele"
v-if="pageBs != 'zdryGl' && pageBs != 'dytj' && pageBs != 'rySp'" v-if="pageBs != 'zdryGl' && pageBs != 'dytj' && pageBs != 'rySp' && pageBs != 'yhkxsGl'"
>删除</span >删除</span
> >
<span <span
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div> <div>
<div class="headerTitle"> <div class="headerTitle">
<img src="../assets/img/login/jinhui.png" alt="" /><span <img src="../assets/img/login/jinhui.png" alt="" /><span
>刑嫌调控工作管理</span >{{topHeader}}</span
> >
</div> </div>
<div style="display: flex" class="queryContent"> <div style="display: flex" class="queryContent">
...@@ -25,25 +25,31 @@ ...@@ -25,25 +25,31 @@
ref="menu" ref="menu"
router router
> >
<el-submenu index="1" id="menu2"> <div class="menu_wrap" v-for="item in leftMenus" :key="item.index">
<el-menu-item
:index="item.index"
v-if="item.hasChildren == false"
><i :class="item.className"></i>{{ item.label }}</el-menu-item
>
<el-submenu :index="item.index" v-if="item.hasChildren == true">
<template slot="title"> <template slot="title">
<i :class="leftMenus[0].className"></i> <i :class="item.className"></i>
<span slot="title" style="color: #343a3f !important">{{ <span slot="title" style="color: #343a3f !important">{{
leftMenus[0].label item.label
}}</span> }}</span>
</template> </template>
<el-menu-item <el-menu-item
:index="item.index" :index="subitem.index"
v-for="(item, index) in leftMenus[0].children" v-for="(subitem, index) in item.children"
:key="index" :key="index"
><i ><i
class="iconfont iconquanxianjiesuo" class="iconfont iconquanxianjiesuo"
style="float: right" v-show="subitem.disabled"
v-show="item.disabled"
></i ></i
>{{ item.label }}</el-menu-item >{{ subitem.label }}</el-menu-item
> >
</el-submenu> </el-submenu>
</div>
</el-menu> </el-menu>
</el-scrollbar> </el-scrollbar>
</div> </div>
...@@ -95,58 +101,26 @@ export default { ...@@ -95,58 +101,26 @@ export default {
activeIndex: "1", activeIndex: "1",
navList: [], navList: [],
leftMenus: [ leftMenus: [
{
id: "queryGzry",
label: "刑嫌列控管理",
newAuth: "M01",
index: "2",
className: "iconfont icongongnengfuwu",
children: [
{
id: "queryGzry",
label: "刑嫌对象信息管理",
index: "queryGzry",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryLklz",
label: "列控流转处理",
index: "queryLklz",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryCklz",
label: "撤控流转处理",
index: "queryCklz",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
},
],
},
], ],
topMenus: [], topMenus: [],
activeName: "queryGzry", activeName: "queryGzry",
breadcrumbList: [ breadcrumbList: [
], ],
topHeader:''
}; };
}, },
computed: { computed: {
...mapGetters(["topMenu","Breadcrumbs"]), ...mapGetters(["topMenu","Breadcrumbs","leftMenu","header"]),
}, },
created() { created() {
this.navList = JSON.parse(sessionStorage.getItem("navList")); this.navList = JSON.parse(sessionStorage.getItem("navList"));
this.activeIndex = sessionStorage.getItem("routerPath") || this.$route.name; this.activeIndex = sessionStorage.getItem("routerPath") || this.$route.name;
this.activeName = this.$route.name; this.activeName = this.$route.name;
console.log('menu,topMenu',this.topMenu)
this.topMenus = this.topMenu; this.topMenus = this.topMenu;
// this.breadcrumbList = this.Breadcrumbs this.breadcrumbList = this.Breadcrumbs
// console.log('menu,breadcrumbList',this.breadcrumbList) this.leftMenus = this.leftMenu
// console.log('menu,Breadcrumbs',this.Breadcrumbs) this.topHeader = this.header
}, },
watch: { watch: {
isCollapseP(val) { isCollapseP(val) {
...@@ -159,6 +133,12 @@ export default { ...@@ -159,6 +133,12 @@ export default {
breadcrumbList(val) { breadcrumbList(val) {
this.breadcrumbList = val; this.breadcrumbList = val;
}, },
leftMenu(val) {
this.leftMenus = val;
},
header(val) {
this.header = val;
},
}, },
methods: { methods: {
goDetail(item) { goDetail(item) {
......
...@@ -25,50 +25,31 @@ ...@@ -25,50 +25,31 @@
ref="menu" ref="menu"
router router
> >
<el-menu-item <div class="menu_wrap" v-for="item in leftMenus" :key="item.index">
index="zdryGl"
id="menu1"
><i
:class="leftMenus[1].className"
></i
>{{ leftMenus[0].label }}</el-menu-item
>
<el-submenu index="2" id="menu2">
<template slot="title">
<i :class="leftMenus[1].className"></i>
<span slot="title" style="color: #343a3f !important">{{
leftMenus[1].label
}}</span>
</template>
<el-menu-item <el-menu-item
:index="item.index" :index="item.index"
v-for="(item, index) in leftMenus[1].children" v-if="item.hasChildren == false"
:key="index" ><i :class="item.className"></i>{{ item.label }}</el-menu-item
><i
class="iconfont iconquanxianjiesuo"
v-show="item.disabled"
></i
>{{ item.label }}</el-menu-item
> >
</el-submenu> <el-submenu :index="item.index" v-if="item.hasChildren == true">
<el-submenu index="3" id="menu3">
<template slot="title"> <template slot="title">
<i :class="leftMenus[2].className"></i> <i :class="item.className"></i>
<span slot="title" style="color: #343a3f !important">{{ <span slot="title" style="color: #343a3f !important">{{
leftMenus[2].label item.label
}}</span> }}</span>
</template> </template>
<el-menu-item <el-menu-item
:index="item.index" :index="subitem.index"
v-for="(item, index) in leftMenus[2].children" v-for="(subitem, index) in item.children"
:key="index" :key="index"
><i ><i
class="iconfont iconquanxianjiesuo" class="iconfont iconquanxianjiesuo"
v-show="item.disabled" v-show="subitem.disabled"
></i ></i
>{{ item.label }}</el-menu-item >{{ subitem.label }}</el-menu-item
> >
</el-submenu> </el-submenu>
</div>
</el-menu> </el-menu>
</el-scrollbar> </el-scrollbar>
</div> </div>
...@@ -79,9 +60,12 @@ ...@@ -79,9 +60,12 @@
<el-breadcrumb-item <el-breadcrumb-item
v-for="(item, index) in breadcrumbList" v-for="(item, index) in breadcrumbList"
:key="index" :key="index"
><span @click="goDetail(item)" style="cursor: pointer" :class="item.isActive ? 'activeClass' : ''">{{ ><span
item.name @click="goDetail(item)"
}}</span></el-breadcrumb-item style="cursor: pointer"
:class="item.isActive ? 'activeClass' : ''"
>{{ item.name }}</span
></el-breadcrumb-item
> >
</el-breadcrumb> </el-breadcrumb>
</div> </div>
...@@ -111,136 +95,36 @@ import { mapGetters } from "vuex"; ...@@ -111,136 +95,36 @@ import { mapGetters } from "vuex";
export default { export default {
name: "leftMenu_components", name: "leftMenu_components",
props: { props: {
isCollapseP: Boolean, isCollapseP: Boolean
sidebarItemName: String,
}, },
data() { data() {
return { return {
isOpenOnly: true, isOpenOnly: true,
isCollapse: this.isCollapseP, isCollapse: this.isCollapseP,
activeIndex: "1", activeIndex: "1",
csidebarItemName: this.sidebarItemName,
navList: [], navList: [],
leftMenus: [ leftMenus: [],
{
id: "zdryGl",
label: "重点人员信息管理",
newAuth: "M01",
index: "zdryGl",
className: "iconfont icongongnengfuwu",
},
{
id: "zdrySp",
label: "重点人员审批",
newAuth: "M01",
index: "zdrySp",
className: "iconfont icongongnengfuwu",
children: [
{
id: "addZdry",
label: "我添加的人员",
index: "addZdry",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "rySp",
label: "人员审批",
index: "rySp",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
{
id: "zdryTj",
label: "重点人员统计",
newAuth: "M01",
index: "zdryTj",
className: "iconfont icongongnengfuwu",
children: [
{
id: "dytj",
label: "地域统计",
index: "dytj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "xbtj",
label: "性别统计",
index: "xbtj",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "lbtj",
label: "类别统计",
index: "lbtj",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
],
topMenus: [], topMenus: [],
activeName: "queryGzry", activeName: "queryGzry",
breadcrumbList: [ breadcrumbList: [],
],
}; };
}, },
computed: { computed: {
...mapGetters(["topMenu","Breadcrumbs"]), ...mapGetters(["topMenu", "Breadcrumbs","leftMenu"]),
}, },
created() { created() {
this.navList = JSON.parse(sessionStorage.getItem("navList")); this.navList = JSON.parse(sessionStorage.getItem("navList"));
this.activeIndex = sessionStorage.getItem("routerPath") || this.$route.name; this.activeIndex = sessionStorage.getItem("routerPath") || this.$route.name;
this.activeName = this.$route.name; this.activeName = this.$route.name;
console.log(this.topMenu) console.log(this.topMenu);
this.topMenus = this.topMenu; this.topMenus = this.topMenu;
this.breadcrumbList = this.Breadcrumbs this.breadcrumbList = this.Breadcrumbs;
this.leftMenus = this.leftMenu
}, },
watch: { watch: {
isCollapseP(val) { isCollapseP(val) {
this.isCollapse = val; this.isCollapse = val;
}, },
sidebarItemName(val) {
if (
val == "sjcj" ||
val == "laxxgl" ||
val == "zczjxxgl" ||
val == "cxxxgl" ||
val == "sjzljc" ||
val == "sqmaxxgl"
) {
this.csidebarItemName = "sjgl";
} else if (
val == "laxxsp" ||
val == "zczjsp" ||
val == "cxxxsp" ||
val == "cxxxsjsp"
) {
this.csidebarItemName = "spgl";
} else if (val == "tjbb" || val == "dwcx") {
this.csidebarItemName = "cxtj";
} else if (val == "fzzxfw" || val == "tzgg") {
this.csidebarItemName = "xtgj";
} else if (val == "jasjgl" || val == "jazczjxxgl") {
this.csidebarItemName = "jasjgl";
} else if (val == "jaxxsp" || val == "jazczjsp") {
this.csidebarItemName = "jaspgl";
} else if (val == "sdrgl" || val == "jsbhgl") {
this.csidebarItemName = "zdsjgl";
} else if (val == "sjjc" || val == "sjbc") {
this.csidebarItemName = "sjjkgl";
}
},
topMenu(val) { topMenu(val) {
this.topMenus = val; this.topMenus = val;
this.activeName = val[0].id; this.activeName = val[0].id;
...@@ -248,6 +132,9 @@ export default { ...@@ -248,6 +132,9 @@ export default {
breadcrumbList(val) { breadcrumbList(val) {
this.breadcrumbList = val; this.breadcrumbList = val;
}, },
leftMenu(val) {
this.leftMenus = val;
},
}, },
methods: { methods: {
goDetail(item) { goDetail(item) {
......
...@@ -48,6 +48,13 @@ Vue.prototype.$util = Util; ...@@ -48,6 +48,13 @@ Vue.prototype.$util = Util;
window.util = Util; window.util = Util;
Vue.use(VueWechatTitle); Vue.use(VueWechatTitle);
let userInfo = window.sessionStorage.getItem("userInfo") || "";
if(userInfo){
userInfo = JSON.parse(window.sessionStorage.getItem("userInfo"))
let info = `${userInfo.realname} ${userInfo.identitycard}`
Watermark.set(userInfo.realname,userInfo.userName,userInfo.identitycard,userInfo.ip)
}
Vue.directive("nsLoading", { Vue.directive("nsLoading", {
bind(el, binding) { bind(el, binding) {
const instance = new LoadingCons({ const instance = new LoadingCons({
......
...@@ -6,6 +6,8 @@ const getters = { ...@@ -6,6 +6,8 @@ const getters = {
userAuth: state => state.user.userAuth, userAuth: state => state.user.userAuth,
topMenu: state => state.user.topMenu, topMenu: state => state.user.topMenu,
Breadcrumbs: state => state.user.Breadcrumbs, Breadcrumbs: state => state.user.Breadcrumbs,
leftMenu: state => state.user.leftMenu,
header: state => state.user.header,
}; };
export default getters; export default getters;
...@@ -16,7 +16,9 @@ const state = { ...@@ -16,7 +16,9 @@ const state = {
logs: [], logs: [],
userAuth: "", userAuth: "",
topMenu: [], topMenu: [],
Breadcrumbs: [] Breadcrumbs: [],
leftMenu: [],
header:''
}; };
const mutations = { const mutations = {
...@@ -34,6 +36,12 @@ const mutations = { ...@@ -34,6 +36,12 @@ const mutations = {
}, },
SET_Breadcrumb: (state, content) => { SET_Breadcrumb: (state, content) => {
state.Breadcrumbs = content; state.Breadcrumbs = content;
},
SET_LeftMenu: (state, content) => {
state.leftMenu = content;
},
SET_Header: (state, content) => {
state.header = content;
} }
}; };
......
...@@ -68,17 +68,18 @@ axios.interceptors.response.use( ...@@ -68,17 +68,18 @@ axios.interceptors.response.use(
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
if (relUrlIp == '47.92.225.109') { // if (relUrlIp == '47.92.225.109') {
// window.open('http://47.92.225.109:8300/#/login', '_blank') // // window.open('http://47.92.225.109:8300/#/login', '_blank')
window.location.href = 'http://47.92.225.109:8300/#/login'; // window.location.href = 'http://47.92.225.109:8300/#/login';
} else if (relUrlIp == '26.3.13.120') { // } else if (relUrlIp == '26.3.13.120') {
window.location.href = 'http://26.3.13.120:8050/#/login'; // window.location.href = 'http://26.3.13.120:8050/#/login';
} else if (relUrlIp == '10.142.16.177') { // } else if (relUrlIp == '10.142.16.177') {
window.location.href = 'http://10.142.16.177:8050/#/login'; // window.location.href = 'http://10.142.16.177:8050/#/login';
} else { // } else {
// window.open('http://localhost:8080/#/login', '_blank') // // window.open('http://localhost:8080/#/login', '_blank')
window.location.href = 'http://localhost:8080/#/login'; // window.location.href = 'http://localhost:8080/#/login';
} // }
window.close();
}) })
} }
if (status < 0) { if (status < 0) {
...@@ -125,17 +126,18 @@ instance.interceptors.response.use( ...@@ -125,17 +126,18 @@ instance.interceptors.response.use(
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
if (relUrlIp == '47.92.225.109') { // if (relUrlIp == '47.92.225.109') {
// window.open('http://47.92.225.109:8300/#/login', '_blank') // // window.open('http://47.92.225.109:8300/#/login', '_blank')
window.location.href = 'http://47.92.225.109:8300/#/login'; // window.location.href = 'http://47.92.225.109:8300/#/login';
} else if (relUrlIp == '26.3.13.120') { // } else if (relUrlIp == '26.3.13.120') {
window.location.href = 'http://26.3.13.120:8050/#/login'; // window.location.href = 'http://26.3.13.120:8050/#/login';
} else if (relUrlIp == '10.142.16.177') { // } else if (relUrlIp == '10.142.16.177') {
window.location.href = 'http://10.142.16.177:8050/#/login'; // window.location.href = 'http://10.142.16.177:8050/#/login';
} else { // } else {
// window.open('http://localhost:8080/#/login', '_blank') // // window.open('http://localhost:8080/#/login', '_blank')
window.location.href = 'http://localhost:8080/#/login'; // window.location.href = 'http://localhost:8080/#/login';
} // }
window.close();
}) })
} }
if (status < 0) { if (status < 0) {
...@@ -168,17 +170,18 @@ json.interceptors.response.use( ...@@ -168,17 +170,18 @@ json.interceptors.response.use(
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
if (relUrlIp == '47.92.225.109') { // if (relUrlIp == '47.92.225.109') {
// window.open('http://47.92.225.109:8300/#/login', '_blank') // // window.open('http://47.92.225.109:8300/#/login', '_blank')
window.location.href = 'http://47.92.225.109:8300/#/login'; // window.location.href = 'http://47.92.225.109:8300/#/login';
} else if (relUrlIp == '26.3.13.120') { // } else if (relUrlIp == '26.3.13.120') {
window.location.href = 'http://26.3.13.120:8050/#/login'; // window.location.href = 'http://26.3.13.120:8050/#/login';
} else if (relUrlIp == '10.142.16.177') { // } else if (relUrlIp == '10.142.16.177') {
window.location.href = 'http://10.142.16.177:8050/#/login'; // window.location.href = 'http://10.142.16.177:8050/#/login';
} else { // } else {
// window.open('http://localhost:8080/#/login', '_blank') // // window.open('http://localhost:8080/#/login', '_blank')
window.location.href = 'http://localhost:8080/#/login'; // window.location.href = 'http://localhost:8080/#/login';
} // }
window.close();
}) })
} }
return response.data; return response.data;
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
name: "录入时间:", name: "录入时间:",
id: "lrsj", id: "lrsj",
type: "dates", type: "dates",
disabled: false, disabled: true,
prop: "checkEmpty", prop: "checkEmpty",
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
...@@ -81,7 +81,9 @@ export default { ...@@ -81,7 +81,9 @@ export default {
] ]
}, },
], ],
formLabelAlign: {}, formLabelAlign: {
lrsj: this.$moment().format("YYYY-MM-DD HH:mm:ss"),
},
stepList: [ stepList: [
{ {
title: "基本信息", title: "基本信息",
...@@ -131,6 +133,7 @@ export default { ...@@ -131,6 +133,7 @@ export default {
confirmButtonText: "确定", confirmButtonText: "确定",
type: "success", type: "success",
callback: () => { callback: () => {
this.$router.push('hmxsGl')
loading.close(); loading.close();
}, },
}); });
......
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
kyyj: "", kyyj: "",
limit: 10, limit: 10,
page: 1, page: 1,
dhhm:'' dhhm: "",
}, },
cxQueryField: [ cxQueryField: [
{ {
...@@ -52,14 +52,16 @@ export default { ...@@ -52,14 +52,16 @@ export default {
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "案事件编号",
prop: "asjbh",
},
{
label: "信息主键编号", label: "信息主键编号",
prop: "xxzjbh", prop: "xxzjbh",
width:300
}, },
{ {
label: "案事件编号",
prop: "asjbh",
},
{
/*table默认得表头*/ /*table默认得表头*/
label: "移动号码", label: "移动号码",
prop: "kyxshmYdhm", prop: "kyxshmYdhm",
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
name: "录入时间:", name: "录入时间:",
id: "lrsj", id: "lrsj",
type: "dates", type: "dates",
disabled: false, disabled: true,
prop: "checkEmpty", prop: "checkEmpty",
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
...@@ -79,7 +79,9 @@ export default { ...@@ -79,7 +79,9 @@ export default {
], ],
}, },
], ],
formLabelAlign: {}, formLabelAlign: {
lrsj: this.$moment().format("YYYY-MM-DD HH:mm:ss"),
},
stepList: [ stepList: [
{ {
title: "基本信息", title: "基本信息",
...@@ -128,6 +130,7 @@ export default { ...@@ -128,6 +130,7 @@ export default {
confirmButtonText: "确定", confirmButtonText: "确定",
type: "success", type: "success",
callback: () => { callback: () => {
this.$router.push('jdcxsGl')
loading.close(); loading.close();
}, },
}); });
......
...@@ -52,14 +52,16 @@ export default { ...@@ -52,14 +52,16 @@ export default {
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "案事件编号",
prop: "asjbh",
},
{
label: "信息主键编号", label: "信息主键编号",
prop: "xxzjbh", prop: "xxzjbh",
width:300
}, },
{ {
label: "案事件编号",
prop: "asjbh",
},
{
/*table默认得表头*/ /*table默认得表头*/
label: "车牌号码", label: "车牌号码",
prop: "kyxsjdcCphm", prop: "kyxsjdcCphm",
......
...@@ -51,6 +51,7 @@ export default { ...@@ -51,6 +51,7 @@ export default {
id: "lrr", id: "lrr",
type: "text", type: "text",
prop: 'checkEmpty', prop: 'checkEmpty',
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
col: "2", col: "2",
...@@ -60,6 +61,7 @@ export default { ...@@ -60,6 +61,7 @@ export default {
id: "lrdw", id: "lrdw",
type: "codeTree", type: "codeTree",
prop: "checkEmpty", prop: "checkEmpty",
value: "", value: "",
placeholder: "请选择", placeholder: "请选择",
col: "2", col: "2",
...@@ -70,9 +72,9 @@ export default { ...@@ -70,9 +72,9 @@ export default {
name: "录入时间:", name: "录入时间:",
id: "lrsj", id: "lrsj",
type: "dates", type: "dates",
disabled: false, disabled: true,
prop: "checkEmpty", prop: "checkEmpty",
value: "", value:'',
placeholder: "请输入", placeholder: "请输入",
col: "2", col: "2",
}, },
...@@ -80,7 +82,10 @@ export default { ...@@ -80,7 +82,10 @@ export default {
] ]
}, },
], ],
formLabelAlign: {}, formLabelAlign: {
lrsj: this.$moment().format("YYYY-MM-DD HH:mm:ss"),
// lrr:JSON.parse(window.sessionStorage.getItem("userInfo")).realname,
},
stepList: [ stepList: [
{ {
title: "基本信息", title: "基本信息",
...@@ -130,6 +135,7 @@ export default { ...@@ -130,6 +135,7 @@ export default {
confirmButtonText: "确定", confirmButtonText: "确定",
type: "success", type: "success",
callback: () => { callback: () => {
this.$router.push('ryxsGl')
loading.close(); loading.close();
}, },
}); });
......
...@@ -52,13 +52,13 @@ export default { ...@@ -52,13 +52,13 @@ export default {
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "案事件编号",
prop: "asjbh",
},
{
label: "主键编号", label: "主键编号",
prop: "xxzjbh", prop: "xxzjbh",
width: "200", width: "300",
},
{
label: "案事件编号",
prop: "asjbh",
}, },
{ {
/*table默认得表头*/ /*table默认得表头*/
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
name: "录入时间:", name: "录入时间:",
id: "lrsj", id: "lrsj",
type: "dates", type: "dates",
disabled: false, disabled: true,
prop: "checkEmpty", prop: "checkEmpty",
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
...@@ -81,7 +81,9 @@ export default { ...@@ -81,7 +81,9 @@ export default {
] ]
}, },
], ],
formLabelAlign: {}, formLabelAlign: {
lrsj: this.$moment().format("YYYY-MM-DD HH:mm:ss"),
},
stepList: [ stepList: [
{ {
title: "基本信息", title: "基本信息",
...@@ -124,12 +126,11 @@ export default { ...@@ -124,12 +126,11 @@ export default {
background: "rgba(255, 255, 255, 0.7)", background: "rgba(255, 255, 255, 0.7)",
}); });
insertYhkxs(params).then((res) => { insertYhkxs(params).then((res) => {
debugger;
// this.$message.success("保存成功");
this.$alert("保存成功!", "提示", { this.$alert("保存成功!", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
type: "success", type: "success",
callback: () => { callback: () => {
this.$router.push('yhkxsGl')
loading.close(); loading.close();
}, },
}); });
......
...@@ -50,14 +50,16 @@ export default { ...@@ -50,14 +50,16 @@ export default {
], ],
cxDefaultFormThead: [ cxDefaultFormThead: [
{ {
label: "案事件编号",
prop: "asjbh",
},
{
label: "信息主键编号", label: "信息主键编号",
prop: "xxzjbh", prop: "xxzjbh",
width:300
}, },
{ {
label: "案事件编号",
prop: "asjbh",
},
{
label: "银行卡号", label: "银行卡号",
prop: "kyxsyhKh", prop: "kyxsyhKh",
width: "200", width: "200",
......
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
}, },
data() { data() {
return { return {
header: "关注人员管理", header:'刑嫌调控工作管理',
pageBs: "gzrygl", pageBs: "gzrygl",
cxFormData: { cxFormData: {
// lkPdbz: "2", // lkPdbz: "2",
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
}, },
{ {
label: "刑侦关注人员状态", label: "刑侦关注人员状态",
prop: "xzgzryzt" prop: "xzgzryzt",
}, },
], ],
cxUrl: "/xxgzry/selectGzry", cxUrl: "/xxgzry/selectGzry",
...@@ -322,21 +322,55 @@ export default { ...@@ -322,21 +322,55 @@ export default {
disabled: false, disabled: false,
}, },
], ],
leftMenus: [
{
id: "queryGzry",
label: "刑嫌列控管理",
newAuth: "M01",
index: "2",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "queryGzry",
label: "刑嫌对象信息管理",
index: "queryGzry",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "queryLklz",
label: "列控流转处理",
index: "queryLklz",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryCklz",
label: "撤控流转处理",
index: "queryCklz",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
},
],
},
],
}; };
}, },
created() { created() {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
}, },
methods: { methods: {
add() { add() {
this.$router.push("addGzry"); this.$router.push("addGzry");
}, },
edit(){ edit() {},
dele() {},
},
dele(){
},
}, },
}; };
</script> </script>
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
}, },
data() { data() {
return { return {
header: "重点人员信息管理", header: "未成年人犯罪管理",
pageBs: "zdryGl", pageBs: "zdryGl",
cxFormData: { cxFormData: {
limit: 10, limit: 10,
...@@ -226,10 +226,81 @@ export default { ...@@ -226,10 +226,81 @@ export default {
disabled: false, disabled: false,
}, },
], ],
leftMenus: [
{
id: "zdryGl",
label: "重点人员信息管理",
newAuth: "M01",
index: "zdryGl",
className: "iconfont icongongnengfuwu",
hasChildren: false
},
{
id: "zdrySp",
label: "重点人员审批",
newAuth: "M01",
index: "zdrySp",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "addZdry",
label: "我添加的人员",
index: "addZdry",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "rySp",
label: "人员审批",
index: "rySp",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
{
id: "zdryTj",
label: "重点人员统计",
newAuth: "M01",
index: "zdryTj",
className: "iconfont icongongnengfuwu",
hasChildren: true,
children: [
{
id: "dytj",
label: "地域统计",
index: "dytj",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "xbtj",
label: "性别统计",
index: "xbtj",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "lbtj",
label: "类别统计",
index: "lbtj",
auth: "M0102",
className: "iconfont icongongnengfuwu",
disabled: false,
},
],
},
],
}; };
}, },
created() { created() {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.getCode(); this.getCode();
// debugger; // debugger;
}, },
......
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