Commit 370d5d3f by lp784568205

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

parents 4adf2f27 8ef2af2c
...@@ -511,6 +511,7 @@ ...@@ -511,6 +511,7 @@
pageBs != 'queryMenu' && pageBs != 'queryMenu' &&
pageBs != 'queryUser' && pageBs != 'queryUser' &&
pageBs != 'queryZjcl' && pageBs != 'queryZjcl' &&
pageBs != 'xxtkgzfl' &&
pageBs != 'queryRole' pageBs != 'queryRole'
" "
> >
...@@ -1562,6 +1563,7 @@ ...@@ -1562,6 +1563,7 @@
pageBs == 'queryMenu' || pageBs == 'queryMenu' ||
pageBs == 'querySqdlb' || pageBs == 'querySqdlb' ||
pageBs == 'queryJz' || pageBs == 'queryJz' ||
pageBs == 'xxtkgzfl' ||
pageBs == 'queryRole' pageBs == 'queryRole'
) )
" "
...@@ -1767,6 +1769,7 @@ ...@@ -1767,6 +1769,7 @@
pageBs != 'queryUser' && pageBs != 'queryUser' &&
pageBs != 'queryMenu' && pageBs != 'queryMenu' &&
pageBs != 'queryJz' && pageBs != 'queryJz' &&
pageBs != 'xxtkgzfl' &&
pageBs != 'querySqdlb' && pageBs != 'querySqdlb' &&
pageBs != 'queryRole' pageBs != 'queryRole'
" "
......
...@@ -7,7 +7,7 @@ const menuLayouts = [ ...@@ -7,7 +7,7 @@ const menuLayouts = [
meta: { meta: {
title: '刑嫌对象信息管理' title: '刑嫌对象信息管理'
}, },
component: () => import("@/views/xxtk/gzry/queryGzry.vue") component: () => import("@/views/xxtk/gzry/queryGzrys.vue")
}, },
{ {
path: "/queryGzrys", path: "/queryGzrys",
......
...@@ -48,9 +48,18 @@ export default { ...@@ -48,9 +48,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyJdc", kybh: this.form.cph, userId: idcard, }; var params = {
type: "KyJdc",
kybh: this.form.cph,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -23,9 +23,7 @@ export default { ...@@ -23,9 +23,7 @@ export default {
type: "text", type: "text",
placeholder: "车牌号", placeholder: "车牌号",
col: "3", col: "3",
rules: [ rules: [{ required: true, message: "请输入车牌号", trigger: "blur" }],
{ required: true, message: "请输入车牌号", trigger: "blur" },
],
}, },
], ],
form: { form: {
...@@ -48,9 +46,18 @@ export default { ...@@ -48,9 +46,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyJdc", kybh: this.form.cph, userId: idcard, }; var params = {
type: "KyJdc",
kybh: this.form.cph,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -344,8 +344,7 @@ export default { ...@@ -344,8 +344,7 @@ export default {
console.log(err); console.log(err);
}); });
}, },
mounted() { mounted() {},
},
methods: { methods: {
sqspBtn(scope) { sqspBtn(scope) {
this.dialogVisible = true; this.dialogVisible = true;
...@@ -424,7 +423,16 @@ export default { ...@@ -424,7 +423,16 @@ export default {
toBrain(scope) { toBrain(scope) {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: "hnDxzp", kybh: scope.row.asjbh, userId: idcard }; var params = {
type: "hnDxzp",
kybh: scope.row.asjbh,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
...@@ -443,7 +451,6 @@ export default { ...@@ -443,7 +451,6 @@ export default {
temp_form.submit(); temp_form.submit();
}, },
}, },
}; };
</script> </script>
<style> <style>
......
...@@ -23,9 +23,7 @@ export default { ...@@ -23,9 +23,7 @@ export default {
type: "text", type: "text",
placeholder: "IMEI", placeholder: "IMEI",
col: "3", col: "3",
rules: [ rules: [{ required: true, message: "请输入IMEI", trigger: "blur" }],
{ required: true, message: "请输入IMEI", trigger: "blur" },
],
}, },
], ],
form: { form: {
...@@ -48,9 +46,18 @@ export default { ...@@ -48,9 +46,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyIMEI", kybh: this.form.imei, userId: idcard, }; var params = {
type: "KyIMEI",
kybh: this.form.imei,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -23,9 +23,7 @@ export default { ...@@ -23,9 +23,7 @@ export default {
type: "text", type: "text",
placeholder: "IMSI", placeholder: "IMSI",
col: "3", col: "3",
rules: [ rules: [{ required: true, message: "请输入IMSI", trigger: "blur" }],
{ required: true, message: "请输入IMSI", trigger: "blur" },
],
}, },
], ],
form: { form: {
...@@ -48,9 +46,18 @@ export default { ...@@ -48,9 +46,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyIMSI", kybh: this.form.imsi, userId: idcard, }; var params = {
type: "KyIMSI",
kybh: this.form.imsi,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -23,9 +23,7 @@ export default { ...@@ -23,9 +23,7 @@ export default {
type: "text", type: "text",
placeholder: "QQ号", placeholder: "QQ号",
col: "3", col: "3",
rules: [ rules: [{ required: true, message: "请输入QQ号", trigger: "blur" }],
{ required: true, message: "请输入QQ号", trigger: "blur" },
],
}, },
], ],
form: { form: {
...@@ -48,9 +46,18 @@ export default { ...@@ -48,9 +46,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyQq", kybh: this.form.qqh, userId: idcard, }; var params = {
type: "KyQq",
kybh: this.form.qqh,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -48,9 +48,18 @@ export default { ...@@ -48,9 +48,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, }; var params = {
type: "KyRy",
kybh: this.form.zjhm,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -48,9 +48,18 @@ export default { ...@@ -48,9 +48,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, }; var params = {
type: "KyRy",
kybh: this.form.zjhm,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -23,9 +23,7 @@ export default { ...@@ -23,9 +23,7 @@ export default {
type: "text", type: "text",
placeholder: "手机号", placeholder: "手机号",
col: "3", col: "3",
rules: [ rules: [{ required: true, message: "请输入手机号", trigger: "blur" }],
{ required: true, message: "请输入手机号", trigger: "blur" },
],
}, },
], ],
form: { form: {
...@@ -48,9 +46,18 @@ export default { ...@@ -48,9 +46,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KySj", kybh: this.form.sjh, userId: idcard, }; var params = {
type: "KySj",
kybh: this.form.sjh,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -22,9 +22,7 @@ export default { ...@@ -22,9 +22,7 @@ export default {
type: "text", type: "text",
placeholder: "手机号", placeholder: "手机号",
col: "3", col: "3",
rules: [ rules: [{ required: true, message: "请输入手机号", trigger: "blur" }],
{ required: true, message: "请输入手机号", trigger: "blur" },
],
}, },
], ],
form: { form: {
...@@ -47,9 +45,18 @@ export default { ...@@ -47,9 +45,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KySj", kybh: this.form.sjh, userId: idcard, }; var params = {
type: "KySj",
kybh: this.form.sjh,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -23,9 +23,7 @@ export default { ...@@ -23,9 +23,7 @@ export default {
type: "text", type: "text",
placeholder: "微信号", placeholder: "微信号",
col: "3", col: "3",
rules: [ rules: [{ required: true, message: "请输入微信号", trigger: "blur" }],
{ required: true, message: "请输入微信号", trigger: "blur" },
],
}, },
], ],
form: { form: {
...@@ -48,9 +46,18 @@ export default { ...@@ -48,9 +46,18 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyWx", kybh: this.form.wxh, userId: idcard, }; var params = {
type: "KyWx",
kybh: this.form.wxh,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -44,7 +44,7 @@ export default { ...@@ -44,7 +44,7 @@ export default {
], ],
leftMenus: [ leftMenus: [
//左侧导航(模块第一个页面需要) //左侧导航(模块第一个页面需要)
{ {
id: "brainGzdxzhfx", id: "brainGzdxzhfx",
label: "关注对象综合分析", label: "关注对象综合分析",
newAuth: "M01", newAuth: "M01",
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: false, hasChildren: false,
}, },
{ {
id: "brainQyxsfx", id: "brainQyxsfx",
label: "区域线索分析", label: "区域线索分析",
newAuth: "M01", newAuth: "M01",
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
className: "iconfont icongongnengfuwu", className: "iconfont icongongnengfuwu",
hasChildren: false, hasChildren: false,
}, },
{ {
id: "dwcx", id: "dwcx",
label: "线索多维要素分析", label: "线索多维要素分析",
newAuth: "M01", newAuth: "M01",
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
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_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header); this.$store.commit("user/SET_Header", this.header);
axios axios
.get(`${this.$baseUrl.alyIP4}/login?userId=142302198901012417`) .get(`${this.$baseUrl.alyIP4}/login?userId=142302198901012417`)
.then((res) => { .then((res) => {
console.log(res); console.log(res);
...@@ -88,9 +88,18 @@ export default { ...@@ -88,9 +88,18 @@ export default {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyRy&kybh=${this.form.zjhm}`; // let path = `http://39.99.155.173:8007/naotuBox?type=nmKyRy&kybh=${this.form.zjhm}`;
// window.open(path, "_blank"); // window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard var idcard = userInfo.identitycard;
var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, }; var params = {
type: "KyRy",
kybh: this.form.zjhm,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
// var params = { type: "KyRy", kybh: this.form.zjhm, userId: '142302198901012417' }; // var params = { type: "KyRy", kybh: this.form.zjhm, userId: '142302198901012417' };
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
......
...@@ -17,15 +17,15 @@ ...@@ -17,15 +17,15 @@
</right-content> </right-content>
<right-content-list <right-content-list
style="margin: -50px auto 70px; width:1150px;" style="margin: -50px auto 70px; width: 1150px"
:pageBs="bshglaj.pageBs" :pageBs="bshglaj.pageBs"
:cxFormData="bshglaj.cxFormData" :cxFormData="bshglaj.cxFormData"
:cxQueryField="bshglaj.cxQueryField" :cxQueryField="bshglaj.cxQueryField"
:cxDefaultFormThead="bshglaj.cxDefaultFormThead" :cxDefaultFormThead="bshglaj.cxDefaultFormThead"
:cxUrl="bshglaj.cxUrl" :cxUrl="bshglaj.cxUrl"
ref="rightContentGl" ref="rightContentGl"
@toBrain="toBrain" @toBrain="toBrain"
></right-content-list> ></right-content-list>
</div> </div>
</template> </template>
...@@ -424,7 +424,7 @@ export default { ...@@ -424,7 +424,7 @@ export default {
cxFormData: { cxFormData: {
page: 1, page: 1,
limit: 5, limit: 5,
rlqbxxzjbh: '', rlqbxxzjbh: "",
}, },
cxQueryField: [], cxQueryField: [],
cxDefaultFormThead: [ cxDefaultFormThead: [
...@@ -460,9 +460,9 @@ export default { ...@@ -460,9 +460,9 @@ export default {
}).then((res) => { }).then((res) => {
loading.close(); loading.close();
var result = res.data.rows; var result = res.data.rows;
if(res.data.rows.sfzsxstgz == 0) { if (res.data.rows.sfzsxstgz == 0) {
this.cxQueryField.splice(1,1) this.cxQueryField.splice(1, 1);
result.tgz = [] result.tgz = [];
} }
this.pageObject = result; this.pageObject = result;
}); });
...@@ -470,23 +470,66 @@ export default { ...@@ -470,23 +470,66 @@ export default {
toBrain(scope) { toBrain(scope) {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: "hnDxzp", kybh: scope.row.bshvalue, userId: idcard }; var params = {
type: "hnDxzp",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
if(scope.row.bshlx == 'qq' && scope.row.bshvalue != "") { if (scope.row.bshlx == "qq" && scope.row.bshvalue != "") {
var params = { type: "KyQq", kybh: scope.row.bshvalue, userId: idcard }; var params = {
}else if(scope.row.bshlx == 'mobile' && scope.row.bshvalue != "") { type: "KyQq",
var params = { type: "KySj", kybh: scope.row.bshvalue, userId: idcard }; kybh: scope.row.bshvalue,
}else if(scope.row.bshlx == 'carid' && scope.row.bshvalue != "") { userId: idcard,
var params = { type: "KyJdc", kybh: scope.row.bshvalue, userId: idcard }; username: userInfo.userName,
}else if(scope.row.bshlx == 'personid' && scope.row.bshvalue != "") { trueName: userInfo.userName,
var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard }; identitycard: userInfo.identitycard,
}else if(scope.row.bshlx == 'ip' && scope.row.bshvalue != "") { unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
} else if (scope.row.bshlx == "mobile" && scope.row.bshvalue != "") {
var params = {
type: "KySj",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
} else if (scope.row.bshlx == "carid" && scope.row.bshvalue != "") {
var params = {
type: "KyJdc",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
} else if (scope.row.bshlx == "personid" && scope.row.bshvalue != "") {
var params = {
type: "KyRy",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
} else if (scope.row.bshlx == "ip" && scope.row.bshvalue != "") {
// var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard }; // var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard };
} }
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -831,11 +831,16 @@ export default { ...@@ -831,11 +831,16 @@ export default {
// let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`; // let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`;
// window.open(path, "_blank"); // window.open(path, "_blank");
// ?userId=142302198901012417 // ?userId=142302198901012417
var obj = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var params = { var params = {
type: "shse", type: "shse",
kybh: this.$route.query.asjbh, kybh: this.$route.query.asjbh,
userId: obj.identitycard, userId: userInfo.identitycard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
}; };
console.log(params); console.log(params);
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
......
<template> <template>
<div <div
ref="zlXq" ref="zlXq"
class="xsfk" class="xsfk"
...@@ -320,7 +319,7 @@ export default { ...@@ -320,7 +319,7 @@ export default {
placeholder: "请选择", placeholder: "请选择",
col: "2", col: "2",
}, },
{ {
name: "人员标签:", name: "人员标签:",
id: "rybqdm", id: "rybqdm",
prop: "checkEmpty", prop: "checkEmpty",
...@@ -931,11 +930,16 @@ export default { ...@@ -931,11 +930,16 @@ export default {
// let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`; // let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`;
// window.open(path, "_blank"); // window.open(path, "_blank");
// ?userId=142302198901012417 // ?userId=142302198901012417
var obj = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var params = { var params = {
type: "shse", type: "shse",
kybh: this.$route.query.asjbh, kybh: this.$route.query.asjbh,
userId: obj.identitycard, userId: userInfo.identitycard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
}; };
console.log(params); console.log(params);
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
......
...@@ -485,13 +485,13 @@ export default { ...@@ -485,13 +485,13 @@ export default {
selectHxThAsjbh({ selectHxThAsjbh({
asjbh: this.$route.query.asjbh, asjbh: this.$route.query.asjbh,
}).then((res) => { }).then((res) => {
debugger debugger;
this.sftj = res.data.rows.sfxz; this.sftj = res.data.rows.sfxz;
if (res.data.rows.sftj == "1") { if (res.data.rows.sftj == "1") {
// this.getselectHxThAsjbh(); // this.getselectHxThAsjbh();
// this.headerTitle = "犯罪团伙修改"; // this.headerTitle = "犯罪团伙修改";
// } else { // } else {
debugger debugger;
this.dialogVisible = true; this.dialogVisible = true;
this.ajList = res.data.rows.tjaj; this.ajList = res.data.rows.tjaj;
this.xyrList = res.data.rows.tjxyr; this.xyrList = res.data.rows.tjxyr;
...@@ -521,11 +521,16 @@ export default { ...@@ -521,11 +521,16 @@ export default {
// let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`; // let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`;
// window.open(path, "_blank"); // window.open(path, "_blank");
// ?userId=142302198901012417 // ?userId=142302198901012417
var obj = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var params = { var params = {
type: "shse", type: "shse",
kybh: this.$route.query.asjbh, kybh: this.$route.query.asjbh,
userId: obj.identitycard, userId: userInfo.identitycard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
}; };
console.log(params); console.log(params);
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
...@@ -1337,7 +1342,7 @@ export default { ...@@ -1337,7 +1342,7 @@ export default {
this.loadingFk = false; this.loadingFk = false;
// this.toNt(); window.opener.location.reload(); // this.toNt(); window.opener.location.reload();
window.close(); window.close();
window.opener.location.reload(); window.opener.location.reload();
}, },
}); });
} }
...@@ -1357,7 +1362,7 @@ export default { ...@@ -1357,7 +1362,7 @@ export default {
this.loadingFk = false; this.loadingFk = false;
// this.toNt(); // this.toNt();
window.close(); window.close();
window.opener.location.reload(); window.opener.location.reload();
}, },
}); });
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<script> <script>
import formCompontent from "@c/form.vue"; import formCompontent from "@c/form.vue";
import { submit, detail } from "@/api/userAuth/menu.js"; import { submit, detail, tree } from "@/api/userAuth/menu.js";
export default { export default {
name: "addMenu", name: "addMenu",
components: { components: {
...@@ -47,14 +47,15 @@ export default { ...@@ -47,14 +47,15 @@ export default {
placeholder: "请输入", placeholder: "请输入",
col: "2", col: "2",
}, },
{ {
name: "上级菜单:", name: "上级菜单:",
id: "parentId", id: "parentId",
type: "text", type: "codeTree",
prop: "checkEmpty", codeOptions: [],
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
col: "2", col: "2",
isLazy: true,
}, },
{ {
name: "菜单编号:", name: "菜单编号:",
...@@ -73,7 +74,7 @@ export default { ...@@ -73,7 +74,7 @@ export default {
value: "", value: "",
placeholder: "请输入", placeholder: "请输入",
col: "2", col: "2",
} },
], ],
}, },
], ],
...@@ -162,9 +163,41 @@ export default { ...@@ -162,9 +163,41 @@ export default {
}, 500); }, 500);
}); });
}, },
getTree() {
let self = this
tree().then((res) => {
if (res.success) {
res.data.forEach((item) => {
item.label = item.title;
if (item.hasChildren) {
self.changeTitle(item);
}
});
console.log(res.data);
self.$set(
self.propFormField[0].data[2],
"codeOptions",
res.data
);
}
});
},
changeTitle(data) {
debugger;
let self = this;
data.children.forEach((item) => {
item.label = item.title;
if (item.hasChildren) {
self.changeTitle(item);
}
});
return data;
},
}, },
created() { created() {
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList); this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
this.getTree()
if (this.$route.query.xxzjbh) { if (this.$route.query.xxzjbh) {
this.Loading = this.$loading({ this.Loading = this.$loading({
lock: true, lock: true,
...@@ -172,7 +205,8 @@ export default { ...@@ -172,7 +205,8 @@ export default {
spinner: "el-icon-loading", spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)", background: "rgba(255, 255, 255, 0.7)",
}); });
this.title = "角色信息修改"; this.title = "菜单信息修改";
this.$set(this.propFormField[0], "title", "修改菜单");
this.xxzjbh = this.$route.query.xxzjbh; this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju(); this.getshuju();
} }
......
...@@ -198,6 +198,7 @@ export default { ...@@ -198,6 +198,7 @@ export default {
background: "rgba(255, 255, 255, 0.7)", background: "rgba(255, 255, 255, 0.7)",
}); });
this.title = "角色信息修改"; this.title = "角色信息修改";
this.$set(this.propFormField[0],'title','修改角色')
this.xxzjbh = this.$route.query.xxzjbh; this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju(); this.getshuju();
} }
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
if (this.selectedId.length > 0) { if (this.selectedId.length > 0) {
this.dialogVisible = true; this.dialogVisible = true;
} else { } else {
this.$message.error("请选择用户"); this.$message.error("请选择角色");
} }
}, },
getTree() { getTree() {
......
...@@ -25,11 +25,11 @@ export default { ...@@ -25,11 +25,11 @@ export default {
}, },
data() { data() {
return { return {
title: "用户新增", title: "用户修改",
propFormField: [ propFormField: [
//基本信息 //基本信息
{ {
title: "新增用户", title: "修改用户",
id: 1, id: 1,
objStr: "", objStr: "",
......
...@@ -166,10 +166,6 @@ export default { ...@@ -166,10 +166,6 @@ export default {
label: "用户级别", label: "用户级别",
prop: "gradeStr", prop: "gradeStr",
}, },
{
label: "用户状态",
prop: "openFlag",
},
], ],
cxUrl: "/sysuser/selectUserNewList", cxUrl: "/sysuser/selectUserNewList",
Menu: [ Menu: [
...@@ -230,14 +226,22 @@ export default { ...@@ -230,14 +226,22 @@ export default {
this.isPremission = JSON.parse(sessionStorage.getItem("userInfo")) this.isPremission = JSON.parse(sessionStorage.getItem("userInfo"))
.permission.split(",") .permission.split(",")
.findIndex((item) => item == "A0000"); .findIndex((item) => item == "A0000");
debugger;
this.identitycard = JSON.parse( this.identitycard = JSON.parse(
sessionStorage.getItem("userInfo") sessionStorage.getItem("userInfo")
).identitycard; ).identitycard;
debugger;
this.getTree(); this.getTree();
this.getThead();
}, },
methods: { methods: {
getThead() {
if (this.isPremission >= 0) {
let obj = {
label: "用户状态",
prop: "openFlag",
};
this.cxDefaultFormThead.push(obj);
}
},
editMa(scope) { editMa(scope) {
debugger; debugger;
this.$set(this.form, "id", scope.row.id); this.$set(this.form, "id", scope.row.id);
...@@ -343,15 +347,15 @@ export default { ...@@ -343,15 +347,15 @@ export default {
}); });
}, },
edit(obj) { edit(obj) {
if (this.identitycard == obj.row.identitycard) { if (this.identitycard == obj.row.identitycard || this.isPremission >= 0) {
this.$router.pushToTab({ this.$router.pushToTab({
path: "/addXg", path: "/addXg",
query: { query: {
xxzjbh: obj.row.id, xxzjbh: obj.row.id,
}, },
}); });
}else{ } else {
this.$message.error('暂无权限,只能修改本人信息') this.$message.error("暂无权限,只能修改本人信息");
} }
}, },
dele(obj) { dele(obj) {
......
...@@ -1355,6 +1355,11 @@ export default { ...@@ -1355,6 +1355,11 @@ export default {
type: "KyRy", type: "KyRy",
kybh: scope.gmsfzh, kybh: scope.gmsfzh,
userId: obj.identitycard, userId: obj.identitycard,
username: obj.userName,
trueName: obj.userName,
identitycard: obj.identitycard,
unitcode: obj.unitcode,
unitname: obj.unitname,
}; };
console.log(params); console.log(params);
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
...@@ -1403,6 +1408,11 @@ export default { ...@@ -1403,6 +1408,11 @@ export default {
type: bsh, type: bsh,
kybh: kybh, kybh: kybh,
userId: obj.identitycard, userId: obj.identitycard,
username: obj.userName,
trueName: obj.userName,
identitycard: obj.identitycard,
unitcode: obj.unitcode,
unitname: obj.unitname,
}; };
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</el-dialog> </el-dialog>
<!-- 新增列控 --> <!-- 新增列控 -->
<!-- <el-dialog title="新增列控信息" :visible.sync="newlyVisiable"> <el-dialog title="新增列控信息" :visible.sync="newlyVisiable">
<el-form :inline="true" :model="lkForm" class="demo-form-inline"> <el-form :inline="true" :model="lkForm" class="demo-form-inline">
<el-row> <el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px"> <el-col :span="20" :offset="2" style="margin-top: 20px">
...@@ -99,9 +99,9 @@ ...@@ -99,9 +99,9 @@
<el-button @click="newlyVisiable = false">取 消</el-button> <el-button @click="newlyVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitLKD">确 定</el-button> <el-button type="primary" @click="submitLKD">确 定</el-button>
</div> </div>
</el-dialog> --> </el-dialog>
<!-- 撤控 --> <!-- 撤控 -->
<!-- <el-dialog title="新增撤控信息" :visible.sync="revokeVisiable"> <el-dialog title="新增撤控信息" :visible.sync="revokeVisiable">
<el-form :inline="true" :model="ckForm" class="demo-form-inline"> <el-form :inline="true" :model="ckForm" class="demo-form-inline">
<el-row> <el-row>
<el-col :span="20" :offset="2" style="margin-top: 20px"> <el-col :span="20" :offset="2" style="margin-top: 20px">
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<el-button @click="revokeVisiable = false">取 消</el-button> <el-button @click="revokeVisiable = false">取 消</el-button>
<el-button type="primary" @click="submitCKD">确 定</el-button> <el-button type="primary" @click="submitCKD">确 定</el-button>
</div> </div>
</el-dialog> --> </el-dialog>
</div> </div>
</template> </template>
...@@ -928,6 +928,7 @@ export default { ...@@ -928,6 +928,7 @@ export default {
}); });
}, },
newlyLK(xzgzrybh) { newlyLK(xzgzrybh) {
debugger
for (let key in this.lkForm) { for (let key in this.lkForm) {
this.$set(this.lkForm, key, ""); this.$set(this.lkForm, key, "");
} }
......
...@@ -255,21 +255,62 @@ export default { ...@@ -255,21 +255,62 @@ export default {
toBrain(scope) { toBrain(scope) {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: "hnDxzp", kybh: scope.row.bshvalue, userId: idcard }; var params = {
type: "hnDxzp",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
if (scope.row.bshlx == "qq" && scope.row.bshvalue != "") { if (scope.row.bshlx == "qq" && scope.row.bshvalue != "") {
var params = { type: "KyQq", kybh: scope.row.bshvalue, userId: idcard }; var params = {
type: "KyQq",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
} else if (scope.row.bshlx == "mobile" && scope.row.bshvalue != "") { } else if (scope.row.bshlx == "mobile" && scope.row.bshvalue != "") {
var params = { type: "KySj", kybh: scope.row.bshvalue, userId: idcard }; var params = {
type: "KySj",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
} else if (scope.row.bshlx == "carid" && scope.row.bshvalue != "") { } else if (scope.row.bshlx == "carid" && scope.row.bshvalue != "") {
var params = { var params = {
type: "KyJdc", type: "KyJdc",
kybh: scope.row.bshvalue, kybh: scope.row.bshvalue,
userId: idcard, userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
}; };
} else if (scope.row.bshlx == "personid" && scope.row.bshvalue != "") { } else if (scope.row.bshlx == "personid" && scope.row.bshvalue != "") {
var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard }; var params = {
type: "KyRy",
kybh: scope.row.bshvalue,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
} else if (scope.row.bshlx == "ip" && scope.row.bshvalue != "") { } else if (scope.row.bshlx == "ip" && scope.row.bshvalue != "") {
// var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard }; // var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard };
} }
......
...@@ -135,7 +135,16 @@ export default { ...@@ -135,7 +135,16 @@ export default {
debugger; debugger;
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: "KySj", kybh: data.fsfsjh, userId: idcard }; var params = {
type: "KySj",
kybh: data.fsfsjh,
userId: idcard,
username: userInfo.userName,
trueName: userInfo.userName,
identitycard: userInfo.identitycard,
unitcode: userInfo.unitcode,
unitname: userInfo.unitname,
};
console.log(params); console.log(params);
this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// let params = { // let params = {
......
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