Commit 6ac1c379 by yuhao

修改菜单名称和合同一致

parent 851c035a
......@@ -32,7 +32,7 @@ export default {
table: false,
tableOperation: true,
tableOperationWidth: 150,
header: "线索查询比对",
header: "线索查询比对服务",
pageBs: "dswtzxxlbxx",
cxFormData: {
page: '1',
......@@ -117,7 +117,7 @@ export default {
//左侧导航(模块第一个页面需要)
{
id: "queryAjlb",
label: "案件线索查询比对",
label: "案件线索查询",
newAuth: "M01",
index: "1",
className: "iconfont icongongnengfuwu",
......@@ -135,7 +135,7 @@ export default {
},
{
id: "queryRxhc",
label: "人员线索查询比对",
label: "人员线索查询",
newAuth: "M01",
index: "3",
className: "iconfont icongongnengfuwu",
......
......@@ -40,7 +40,7 @@ export default {
return {
tableOperation: true,
tableOperationWidth: 200,
header: "多生物特征信息",
header: "多生物特征信息融合管理",
pageBs: "dswtzxxlbxx",
cxFormData: {
rybh: "",
......
<template>
<div>
<SearchGraph
:formProp="formProp"
:formData="form"
:childrenXhrStr="childrenXhrStr"
:nodeClickBoo="true"
:pages="pages"
placeholder="请输入案事件编号"
:params="params"
:nodedata="nodedata"
:unfoldParams="unfoldParams"
/>
<SearchGraph :formProp="formProp"
:formData="form"
:childrenXhrStr="childrenXhrStr"
:nodeClickBoo="true"
:pages="pages"
placeholder="请输入案事件编号"
:params="params"
:nodedata="nodedata"
:unfoldParams="unfoldParams" />
</div>
</template>
<script>
......@@ -18,7 +16,7 @@ import SearchGraph from "@c/SearchGraph.vue";
import { getKyFwbshList } from "@/api/brainPhoto.js";
export default {
components: { SearchGraph },
data() {
data () {
return {
header: "画像工厂",
pages: "bshhx",
......@@ -68,7 +66,7 @@ export default {
Menu: [
{
id: "queryBshhx",
label: "服务标识号刻画",
label: "服务标识号画像",
index: "queryBshhx",
auth: "M0101",
className: "iconfont iconrizhi",
......@@ -77,22 +75,22 @@ export default {
],
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
// this.$store.commit("user/SET_LeftMenu", this.leftMenus);
// this.$store.commit("user/SET_Header", this.header);
},
mounted() {
mounted () {
this.query();
},
methods: {
query() {
query () {
getKyFwbshList({
page: 1,
limit: 10,
bshlx: "",
fwbsh: "",
}).then((res) => {});
}).then((res) => { });
},
},
};
......
<template>
<div class="Content">
<SearchGraph
:formProp="formProp"
:formData="form"
:childrenXhrStr="childrenXhrStr"
:nodeClickBoo="true"
:pages="pages"
placeholder="请输入身份证号"
:params="params"
:nodedata="nodedata"
:unfoldParams="unfoldParams"
/>
<SearchGraph :formProp="formProp"
:formData="form"
:childrenXhrStr="childrenXhrStr"
:nodeClickBoo="true"
:pages="pages"
placeholder="请输入身份证号"
:params="params"
:nodedata="nodedata"
:unfoldParams="unfoldParams" />
</div>
</template>
<script>
......@@ -18,7 +16,7 @@ import SearchGraph from "@c/SearchGraph.vue";
import { getKyFwbshList } from "@/api/brainPhoto.js";
export default {
components: { SearchGraph },
data() {
data () {
return {
header: "画像工厂",
pages: "hxgc",
......@@ -93,7 +91,7 @@ export default {
},
{
id: "queryBshhx",
label: "服务标识号刻画",
label: "服务标识号画像",
newAuth: "M01",
index: "queryBshhx",
className: "iconfont icongongnengfuwu",
......@@ -146,22 +144,22 @@ export default {
],
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
mounted() {
mounted () {
this.query();
},
methods: {
query() {
query () {
getKyFwbshList({
page: 1,
limit: 10,
bshlx: "",
fwbsh: "",
}).then((res) => {});
}).then((res) => { });
},
},
};
......
......@@ -408,7 +408,7 @@ export default {
data () {
return {
isShow: false,
header: "人力情报线索信息管理",
header: "人力情报线索管理",
pageBs: "queryRlqbxs",
cxFormData: {
dspbz: "qb",
......@@ -563,7 +563,7 @@ export default {
//左侧导航(模块第一个页面需要)
{
id: "queryRlqbxs",
label: "人力情报线索信息管理",
label: "人力情报线索采集",
newAuth: "M01",
index: "1",
className: "iconfont icongongnengfuwu",
......@@ -639,7 +639,7 @@ export default {
},
{
id: "rlqbtj",
label: "人力情报考核统计",
label: "人力情报线索考核统计",
newAuth: "M01",
index: "3",
className: "iconfont icongongnengfuwu",
......
<template>
<div class="Content">
<nav></nav>
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@oneClickAnalize="oneClickAnalize"
@add="add"
@toInfor="toInfor"
@edit="edit"
@showDialogS="showDialogS"
@showDialogG="showDialogG"
ref="rightContent"
>
<right-content :pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@oneClickAnalize="oneClickAnalize"
@add="add"
@toInfor="toInfor"
@edit="edit"
@showDialogS="showDialogS"
@showDialogG="showDialogG"
ref="rightContent">
<template #btnGroup="scope">
<span
v-if="pageBs == 'queryXshb'"
class="hbyp"
@click="toInfors(scope.scope)"
>
线索核办</span
>
<span v-if="pageBs == 'queryXshb'"
class="hbyp"
@click="toInfors(scope.scope)">
线索侦办</span>
</template>
</right-content>
<div class="xxFX" v-if="dialogVisiable">
<div class="xxFX"
v-if="dialogVisiable">
<div class="fxDetail">
查询结果分析
<i @click="dialogVisiable = false" class="iconfont iconguanbi"></i>
<i @click="dialogVisiable = false"
class="iconfont iconguanbi"></i>
</div>
<div class="collapse">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="标识号类型" name="1">
<el-radio-group v-model="radioBSH" size="small">
<el-radio label="01" border
>电话号码 ({{ analizeResult.dhhm }})</el-radio
>
<el-radio label="02" border
>银行卡号 ({{ analizeResult.yhkh }})</el-radio
>
<el-radio label="03" border
>QQ号码 ({{ analizeResult.qqhm }})</el-radio
>
<el-radio label="04" border
>微信 ({{ analizeResult.wxh }})</el-radio
>
<el-radio label="05" border
>支付宝 ({{ analizeResult.zfbzh }})</el-radio
>
<el-radio label="06" border
>微博 ({{ analizeResult.wbzh }})</el-radio
>
<el-radio label="07" border
>陌陌账号 ({{ analizeResult.mmzh }})</el-radio
>
<el-radio label="08" border
>旺旺账号 ({{ analizeResult.wwzh }})</el-radio
>
<el-radio label="09" border
>电子邮箱账号 ({{ analizeResult.dzyxzh }})</el-radio
>
<el-radio label="10" border
>电话 ({{ analizeResult.voipzh }})</el-radio
>
<el-radio label="11" border
>微信支付账号 ({{ analizeResult.wxzfzh }})</el-radio
>
<el-radio label="12" border
>机动车 ({{ analizeResult.jdczh }})</el-radio
>
<el-radio label="13" border
>非机动车 ({{ analizeResult.fjdc }})</el-radio
>
<el-collapse v-model="activeNames"
@change="handleChange">
<el-collapse-item title="标识号类型"
name="1">
<el-radio-group v-model="radioBSH"
size="small">
<el-radio label="01"
border>电话号码 ({{ analizeResult.dhhm }})</el-radio>
<el-radio label="02"
border>银行卡号 ({{ analizeResult.yhkh }})</el-radio>
<el-radio label="03"
border>QQ号码 ({{ analizeResult.qqhm }})</el-radio>
<el-radio label="04"
border>微信 ({{ analizeResult.wxh }})</el-radio>
<el-radio label="05"
border>支付宝 ({{ analizeResult.zfbzh }})</el-radio>
<el-radio label="06"
border>微博 ({{ analizeResult.wbzh }})</el-radio>
<el-radio label="07"
border>陌陌账号 ({{ analizeResult.mmzh }})</el-radio>
<el-radio label="08"
border>旺旺账号 ({{ analizeResult.wwzh }})</el-radio>
<el-radio label="09"
border>电子邮箱账号 ({{ analizeResult.dzyxzh }})</el-radio>
<el-radio label="10"
border>电话 ({{ analizeResult.voipzh }})</el-radio>
<el-radio label="11"
border>微信支付账号 ({{ analizeResult.wxzfzh }})</el-radio>
<el-radio label="12"
border>机动车 ({{ analizeResult.jdczh }})</el-radio>
<el-radio label="13"
border>非机动车 ({{ analizeResult.fjdc }})</el-radio>
</el-radio-group>
</el-collapse-item>
<el-collapse-item title="婚姻状况" name="2">
<el-radio-group v-model="radioHY" size="small">
<el-radio label="10" border style="margin-left: 10px"
>未婚 ({{ analizeResult.whgs }})</el-radio
>
<el-radio label="20" border
>已婚 ({{ analizeResult.yhgs }})</el-radio
>
<el-radio label="21" border
>初婚 ({{ analizeResult.chgs }})</el-radio
>
<el-radio label="22" border
>再婚 ({{ analizeResult.zhgs }})</el-radio
>
<el-radio label="23" border
>复婚 ({{ analizeResult.fhgs }})</el-radio
>
<el-radio label="30" border
>丧偶 ({{ analizeResult.sogs }})</el-radio
>
<el-radio label="40" border
>离婚 ({{ analizeResult.lhgs }})</el-radio
>
<el-radio label="90" border
>未说明情况 ({{ analizeResult.wsmqk }})</el-radio
>
<el-collapse-item title="婚姻状况"
name="2">
<el-radio-group v-model="radioHY"
size="small">
<el-radio label="10"
border
style="margin-left: 10px">未婚 ({{ analizeResult.whgs }})</el-radio>
<el-radio label="20"
border>已婚 ({{ analizeResult.yhgs }})</el-radio>
<el-radio label="21"
border>初婚 ({{ analizeResult.chgs }})</el-radio>
<el-radio label="22"
border>再婚 ({{ analizeResult.zhgs }})</el-radio>
<el-radio label="23"
border>复婚 ({{ analizeResult.fhgs }})</el-radio>
<el-radio label="30"
border>丧偶 ({{ analizeResult.sogs }})</el-radio>
<el-radio label="40"
border>离婚 ({{ analizeResult.lhgs }})</el-radio>
<el-radio label="90"
border>未说明情况 ({{ analizeResult.wsmqk }})</el-radio>
</el-radio-group>
</el-collapse-item>
<el-collapse-item title="学历代码" name="3">
<el-radio-group v-model="radioXL" size="small">
<el-radio label="10" border style="margin-left: 10px"
>文盲 ({{ analizeResult.wmgs }})</el-radio
>
<el-radio label="20" border
>小学 ({{ analizeResult.xxgs }})</el-radio
>
<el-radio label="30" border
>初中 ({{ analizeResult.czgs }})</el-radio
>
<el-radio label="40" border
>高中 ({{ analizeResult.gzgs }})</el-radio
>
<el-radio label="50" border
>大中专 ({{ analizeResult.dzzgs }})</el-radio
>
<el-radio label="60" border
>本科 ({{ analizeResult.bkgs }})</el-radio
>
<el-radio label="70" border
>硕士研究生 ({{ analizeResult.ssyjsgs }})</el-radio
>
<el-collapse-item title="学历代码"
name="3">
<el-radio-group v-model="radioXL"
size="small">
<el-radio label="10"
border
style="margin-left: 10px">文盲 ({{ analizeResult.wmgs }})</el-radio>
<el-radio label="20"
border>小学 ({{ analizeResult.xxgs }})</el-radio>
<el-radio label="30"
border>初中 ({{ analizeResult.czgs }})</el-radio>
<el-radio label="40"
border>高中 ({{ analizeResult.gzgs }})</el-radio>
<el-radio label="50"
border>大中专 ({{ analizeResult.dzzgs }})</el-radio>
<el-radio label="60"
border>本科 ({{ analizeResult.bkgs }})</el-radio>
<el-radio label="70"
border>硕士研究生 ({{ analizeResult.ssyjsgs }})</el-radio>
</el-radio-group>
</el-collapse-item>
......@@ -240,51 +218,50 @@
</div>
</div>
<el-dialog
title="发送信息"
:visible.sync="searchDialogVisiable"
width="55%"
>
<right-content
:pageBs="sendMessage.pageBs"
:cxFormData="sendMessage.cxFormData"
:cxQueryField="sendMessage.cxQueryField"
:cxDefaultFormThead="sendMessage.cxDefaultFormThead"
:cxUrl="sendMessage.cxUrl"
@sendMessageTo="sendMessageTo"
ref="rightContent"
></right-content>
<span slot="footer" class="dialog-footer">
<el-dialog title="发送信息"
:visible.sync="searchDialogVisiable"
width="55%">
<right-content :pageBs="sendMessage.pageBs"
:cxFormData="sendMessage.cxFormData"
:cxQueryField="sendMessage.cxQueryField"
:cxDefaultFormThead="sendMessage.cxDefaultFormThead"
:cxUrl="sendMessage.cxUrl"
@sendMessageTo="sendMessageTo"
ref="rightContent"></right-content>
<span slot="footer"
class="dialog-footer">
<el-button @click="searchDialogVisiable = false">关闭</el-button>
</span>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogS" width="55%">
<right-content
:pageBs="bshglajS.pageBs"
:cxFormData="bshglajS.cxFormData"
:cxQueryField="bshglajS.cxQueryField"
:cxDefaultFormThead="bshglajS.cxDefaultFormThead"
:cxUrl="bshglajS.cxUrl"
@toInforDa="toInforDa"
ref="rightContentGl"
></right-content>
<span slot="footer" class="dialog-footer">
<el-dialog title="关联案件"
:visible.sync="dialogS"
width="55%">
<right-content :pageBs="bshglajS.pageBs"
:cxFormData="bshglajS.cxFormData"
:cxQueryField="bshglajS.cxQueryField"
:cxDefaultFormThead="bshglajS.cxDefaultFormThead"
:cxUrl="bshglajS.cxUrl"
@toInforDa="toInforDa"
ref="rightContentGl"></right-content>
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogS = false">关闭</el-button>
</span>
</el-dialog>
<el-dialog title="关联案件" :visible.sync="dialogG" width="55%">
<right-content
:pageBs="bshglajG.pageBs"
:cxFormData="bshglajG.cxFormData"
:cxQueryField="bshglajG.cxQueryField"
:cxDefaultFormThead="bshglajG.cxDefaultFormThead"
:cxUrl="bshglajG.cxUrl"
@toInforDa="toInforDa"
ref="rightContentGl"
></right-content>
<span slot="footer" class="dialog-footer">
<el-dialog title="关联案件"
:visible.sync="dialogG"
width="55%">
<right-content :pageBs="bshglajG.pageBs"
:cxFormData="bshglajG.cxFormData"
:cxQueryField="bshglajG.cxQueryField"
:cxDefaultFormThead="bshglajG.cxDefaultFormThead"
:cxUrl="bshglajG.cxUrl"
@toInforDa="toInforDa"
ref="rightContentGl"></right-content>
<span slot="footer"
class="dialog-footer">
<el-button @click="dialogG = false">关闭</el-button>
</span>
</el-dialog>
......@@ -304,7 +281,7 @@ export default {
components: {
rightContent,
},
data() {
data () {
return {
bshglajS: {
pageBs: "qyeryrlqbxsGl",
......@@ -425,7 +402,7 @@ export default {
],
cxUrl: "/rlqb/getUserListN",
},
header: "线索办",
header: "线索办",
dialogVisiable: false,
searchDialogVisiable: false,
analizeResult: {},
......@@ -632,7 +609,7 @@ export default {
leftMenus: [
{
id: "queryXshb",
label: "线索办",
label: "线索办",
newAuth: "M01",
index: "queryXshb",
className: "iconfont icongongnengfuwu",
......@@ -640,7 +617,7 @@ export default {
},
{
id: "queryQyyp",
label: "线索深挖",
label: "线索信息关联深挖",
newAuth: "M01",
index: "queryQyyp",
className: "iconfont icongongnengfuwu",
......@@ -691,13 +668,13 @@ export default {
radioBSH: "",
};
},
created() {
created () {
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: {
toInforDa(scope) {
toInforDa (scope) {
let idcard = encry.Encrypt(
JSON.parse(sessionStorage.getItem("userInfo"))
.identitycard
......@@ -705,21 +682,21 @@ export default {
let path = `${this.$baseUrl.alyIP18}/#/jump?path=/queryAjda&asjbh=${scope.asjbh}&identitycard=${idcard}`;
window.open(path, "_blank");
},
showDialogS(data) {
showDialogS (data) {
this.dialogS = true;
console.log(data);
this.bshglajS.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajS.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes");
},
showDialogG(data) {
showDialogG (data) {
this.dialogG = true;
console.log(data);
this.bshglajG.cxFormData.rlqbxxzjbh = data.row.xxzjbh;
// this.bshglajG.cxUrl = data.cxUrl;
// this.$refs.rightContentGl.doQuery("yes");
},
getZdm() {
getZdm () {
let self = this;
/*获取字典*/
self.cxQueryField.forEach((val) => {
......@@ -742,7 +719,7 @@ export default {
}
});
},
sendMessageTo(item) {
sendMessageTo (item) {
console.log(item);
var params = new FormData();
params.append("qbxsmc", this.sendOutMessage.qbxsmc);
......@@ -758,7 +735,7 @@ export default {
}
});
},
send(item) {
send (item) {
console.log(item);
this.sendOutMessage.qbxsmc = item.qbxsmc;
this.sendOutMessage.qbxsnr = item.qbxsnr;
......@@ -766,7 +743,7 @@ export default {
this.searchDialogVisiable = true;
},
oneClickAnalize() {
oneClickAnalize () {
var params = new FormData();
params.append("qbxsmc", this.cxFormData.qbxsmc);
params.append("qbxsflmc", this.cxFormData.qbxsflmc);
......@@ -794,8 +771,8 @@ export default {
}
});
},
handleChange() {},
toInfor(scope) {
handleChange () { },
toInfor (scope) {
this.$router.pushToTab({
path: "/detailRlqbxs",
query: {
......@@ -803,13 +780,13 @@ export default {
},
});
},
edit(scope) {
edit (scope) {
this.$router.pushToTab({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
});
},
add() {
add () {
if (this.pageBs == "queryRlqbxs") {
this.$router.pushToTab("adjustRlqbxs");
} else {
......@@ -818,7 +795,7 @@ export default {
});
}
},
toInfors(scope) {
toInfors (scope) {
if (this.xg == "xg") {
this.$router.pushToTab({
path: "/djgzxs",
......@@ -844,7 +821,7 @@ export default {
xslx: "xshb"
},
});
} else {
} else {
this.$router.pushToTab({
path: "/djgzxs",
query: {
......@@ -856,22 +833,22 @@ export default {
}
},
},
mounted() {},
mounted () { },
watch: {
radioHY(val) {
radioHY (val) {
this.cxFormData.hyzkdm = val;
this.$refs.rightContent.doQuery("yes");
},
radioXL(val) {
radioXL (val) {
this.cxFormData.xldm = val;
this.$refs.rightContent.doQuery("yes");
},
radioBSH(val) {
radioBSH (val) {
this.cxFormData.kyxsbshlx = val;
this.$refs.rightContent.doQuery("yes");
},
cxFormData: {
handler(val, old) {
handler (val, old) {
if (val.xslx == "1") {
var self = this;
self.cxUrl = "/rlqb/selectKyxs";
......
......@@ -377,7 +377,7 @@ export default {
},],
qsxxzjbh: "",
examineInfo: {},
header: "刑嫌调控工作管理", //头部标题 (模块第一个页面需要)
header: "刑嫌调控工作管理子系统", //头部标题 (模块第一个页面需要)
pageBs: "xxtkgzfl", //页面名称
cxFormData: {
//查询条件
......@@ -599,7 +599,7 @@ export default {
//头部导航(模块第一个页面需要)
{
id: "queryGzry",
label: "刑嫌对象",
label: "刑嫌对象信息管理",
index: "queryGzry",
auth: "M0101",
className: "iconfont iconrizhi",
......@@ -746,7 +746,7 @@ export default {
//左侧导航(模块第一个页面需要)
{
id: "queryGzry",
label: "刑嫌列控工作",
label: "刑嫌列控管理",
newAuth: "M01",
index: "1",
className: "iconfont icongongnengfuwu",
......@@ -761,21 +761,14 @@ export default {
disabled: false,
},
{
id: "queryLklz",
label: "刑嫌疑对象日常管控",
index: "queryLklz",
auth: "M0102",
id: "xxdxlzcl",
label: "刑嫌对象流转处理",
newAuth: "M01",
index: "2",
className: "iconfont icongongnengfuwu",
disabled: false,
},
{
id: "queryCklz",
label: "刑嫌对象异常情况研判",
index: "queryCklz",
auth: "M0103",
className: "iconfont iconfangwen",
disabled: false,
hasChildren: false,
},
// {
// id: "queryGzzkyxs",
// label: "工作中可疑线索",
......@@ -811,18 +804,27 @@ export default {
],
},
{
id: "xxdxlzcl",
label: "刑嫌对象流转处理",
newAuth: "M01",
index: "2",
id: "queryLklz",
label: "刑嫌对象日常管控",
index: "queryLklz",
auth: "M0102",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "queryCklz",
label: "刑嫌对象信息研判",
index: "queryCklz",
auth: "M0103",
className: "iconfont iconfangwen",
hasChildren: false,
},
{
id: "znhxxfw",
label: "智能化信息服务",
newAuth: "M01",
index: "3",
index: "4",
className: "iconfont icongongnengfuwu",
hasChildren: false,
}
......
......@@ -574,7 +574,7 @@ export default {
//头部导航(模块第一个页面需要)
{
id: "queryGzry",
label: "刑嫌对象",
label: "刑嫌对象信息研判",
index: "queryGzry",
auth: "M0101",
className: "iconfont iconrizhi",
......
......@@ -581,7 +581,7 @@ export default {
//头部导航(模块第一个页面需要)
{
id: "queryGzry",
label: "刑嫌对象",
label: "刑嫌对象日常管控",
index: "queryGzry",
auth: "M0101",
className: "iconfont iconrizhi",
......
......@@ -33,7 +33,7 @@ export default {
footerList: [
{
url: require('../../assets/img/resources/bg2.png'),
title: '个案分析'
title: '个案侦办'
},
{
url: require('../../assets/img/resources/bg2.png'),
......
......@@ -76,7 +76,7 @@ export default {
},
data () {
return {
header: "阵地管控工作管理",
header: "阵地控制工作管理",
pageBs: "zdxxgl",
cxFormData: {
djsjStart: "",
......
<template>
<div class="Content">
<right-content
:tableOperation="tableOperation"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button @click="edit(scope.scope)" type="text">编辑</el-button>
<el-button @click="dele(scope.scope)" type="text">删除</el-button>
</template>
</right-content>
</div>
<div class="Content">
<right-content :tableOperation="tableOperation"
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
ref="rightContent">
<template #btnGroup="scope">
<el-button @click="edit(scope.scope)"
type="text">编辑</el-button>
<el-button @click="dele(scope.scope)"
type="text">删除</el-button>
</template>
</right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { insertZjcl,delZjclLbById } from "@/api/zjcl/zjcl.js";
export default {
name: "queryZjclLb",
components: {
rightContent,
},
data() {
return {
tableOperation:true,
header: "证据类别管理",
pageBs: "queryZjclLb",
cxFormData: {
limit: 10,
page: 1,
import rightContent from "@c/ptCxForm_components.vue";
import { insertZjcl, delZjclLbById } from "@/api/zjcl/zjcl.js";
export default {
name: "queryZjclLb",
components: {
rightContent,
},
data () {
return {
tableOperation: true,
header: "证据材料检查",
pageBs: "queryZjclLb",
cxFormData: {
limit: 10,
page: 1,
},
cxDefaultFormThead: [
{
label: "证据类别编码",
prop: "code",
},
{
label: "证据类别名称",
prop: "name",
},
{
label: "证据类别描述",
prop: "description",
},
{
label: "录入时间",
prop: "lrsj",
},
cxDefaultFormThead: [
{
label: "证据类别编码",
prop: "code",
},
{
label: "证据类别名称",
prop: "name",
},
{
label: "证据类别描述",
prop: "description",
},
{
label: "录入时间",
prop: "lrsj",
},
],
cxUrl: "/zjclLb/getZjclLbList",
revokeVisiable: false,
selectArr: [],
ckForm: {
file: "",
],
cxUrl: "/zjclLb/getZjclLbList",
revokeVisiable: false,
selectArr: [],
ckForm: {
file: "",
},
fileArr: [],
asjbh: "",
zjcl_lxdm: "",
Menu: [
{
id: "queryZjclLb",
label: "证据材料检查",
index: "queryZjclLb",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
fileArr: [],
asjbh: "",
zjcl_lxdm: "",
Menu: [
{
id: "queryZjclLb",
label: "证据类别管理",
index: "queryZjclLb",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
],
};
},
created () {
this.$store.commit("user/SET_Menu", this.Menu);
},
methods: {
add () {
this.$router.pushToTab("/addZjclLb");
},
methods: {
add() {
this.$router.pushToTab("/addZjclLb");
},
dele(obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
console.log(obj);
delZjclLbById({
id: obj.row.id,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
} else {
this.$message({
type: "warning",
message: res.message,
});
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
edit(obj) {
this.$router.pushToTab({
path: "/addZjclLb",
query: {
dele (obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
console.log(obj);
delZjclLbById({
id: obj.row.id,
},
});
},
submitCKD() {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
console.log(this.fileArr, this.asjbh);
let params = new FormData();
params.append("asjbh", this.asjbh);
params.append("zjclLxdm", this.zjcl_lxdm);
this.fileArr.forEach((i) => {
params.append("file", i.raw);
});
let loading = this.$loading({
lock: true,
text: "正在导入...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
insertZjcl(params).then((res) => {
if (res.code == 200 && res.success) {
this.$message.success("导入成功");
this.revokeVisiable = false;
this.$router.pushToTab("queryZjcl");
sessionStorage.setItem("routerPath", "queryZjcl");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
} else {
this.$message.error("导入失败");
this.$message({
type: "warning",
message: res.message,
});
}
loading.close();
});
}
},
fileOnchange(file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
edit (obj) {
this.$router.pushToTab({
path: "/addZjclLb",
query: {
id: obj.row.id,
},
});
},
submitCKD () {
if (this.fileArr.length <= 0) {
this.$message.warning("请选择文件");
} else {
console.log(this.fileArr, this.asjbh);
let params = new FormData();
params.append("asjbh", this.asjbh);
params.append("zjclLxdm", this.zjcl_lxdm);
this.fileArr.forEach((i) => {
params.append("file", i.raw);
});
let loading = this.$loading({
lock: true,
text: "正在导入...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
insertZjcl(params).then((res) => {
if (res.code == 200 && res.success) {
this.$message.success("导入成功");
this.revokeVisiable = false;
this.$router.pushToTab("queryZjcl");
sessionStorage.setItem("routerPath", "queryZjcl");
setTimeout(() => {
this.$bus.$emit("routerPath");
}, 20);
} else {
this.$message.error("导入失败");
}
loading.close();
});
}
},
fileOnchange (file, fileList) {
if (fileList.length > 0) {
this.fileArr = [fileList[0]]; // 这一步,是 展示最后一次选择的csv文件
if (fileList.length > 1) this.$message.error("只能上传一个文件!");
}
},
};
},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
@import "@/assets/styles/rightContent.scss";
</style>
......@@ -250,7 +250,7 @@ export default {
},
{
id: "queryZjclLb",
label: "证据类别管理",
label: "证据材料检查",
index: "queryZjclLb",
auth: "M0102",
className: "iconfont icongongnengfuwu",
......
<template>
<div>
<SearchGraph
:formProp="formProp"
:formData="form"
:childrenXhrStr="childrenXhrStr"
:nodeClickBoo="true"
placeholder="请输入案件编号"
:params="params"
:pages="pages"
:nodedata="nodedata"
:unfoldParams="unfoldParams"
/>
<SearchGraph :formProp="formProp"
:formData="form"
:childrenXhrStr="childrenXhrStr"
:nodeClickBoo="true"
placeholder="请输入案件编号"
:params="params"
:pages="pages"
:nodedata="nodedata"
:unfoldParams="unfoldParams" />
</div>
</template>
<script>
import SearchGraph from "@c/SearchGraph.vue";
export default {
components: { SearchGraph },
data() {
data () {
return {
header: "主题研判",
pages: "queryTdyp",
......@@ -165,7 +163,7 @@ export default {
// },
// ],
// },
{
{
id: "queryRyypNew",
label: "人员研判",
newAuth: "M04",
......@@ -197,7 +195,7 @@ export default {
// className: "iconfont icongongnengfuwu",
// hasChildren: false,
// },
{
{
id: "queryDxypNew",
label: "电话研判",
newAuth: "M05",
......@@ -205,7 +203,7 @@ export default {
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
{
id: "queryYhzhypNew",
label: "银行账号研判",
newAuth: "M05",
......@@ -257,7 +255,7 @@ export default {
},
{
id: "queryHd",
label: "通讯信息研判",
label: "通讯研判",
newAuth: "M01",
index: "queryHd",
className: "iconfont icongongnengfuwu",
......@@ -334,7 +332,7 @@ export default {
],
};
},
created() {
created () {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
......
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