Commit 7e44020c by 米嘉伟

导出 关注及列表

parent 887e9bea
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
class="head" class="head"
v-if="showType == 1" v-if="showType == 1"
> >
<div class="headleft">
<div class='search barcode'> <div class='search barcode'>
<div class='item'> 条码号:</div> <div class='item'> 条码号:</div>
<el-input <el-input
...@@ -32,7 +33,15 @@ ...@@ -32,7 +33,15 @@
</div> </div>
<div class="search ljfk"> <div class="search ljfk">
<div class="item">性别:</div> <div class="item">性别:</div>
<el-select <SelectCode
codeUrl="/api/code/sex"
width="9.75"
clearable
:form="ruleForm"
id="sex"
></SelectCode>
<!-- <el-select
v-model="sex" v-model="sex"
placeholder="请选择性别" placeholder="请选择性别"
> >
...@@ -43,7 +52,7 @@ ...@@ -43,7 +52,7 @@
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</el-select> </el-select> -->
</div> </div>
<div class='search taskNumber'> <div class='search taskNumber'>
<div class='item'> 身份证号:</div> <div class='item'> 身份证号:</div>
...@@ -56,15 +65,23 @@ ...@@ -56,15 +65,23 @@
> >
</el-input> </el-input>
</div> </div>
<div class="right"> </div>
<el-button @click="clear">清空</el-button> <div class="headright">
<el-button @click="search">筛选</el-button> <el-button
type="text"
@click="clear"
>清空</el-button>
<el-button
class="sx"
@click="search"
>筛选</el-button>
</div> </div>
</div> </div>
<div <div
class='head' class='head'
v-if="showType==2" v-if="showType==2"
> >
<div class="headleft">
<div class='search barcode'> <div class='search barcode'>
<div class='item'> 条码号:</div> <div class='item'> 条码号:</div>
<el-input <el-input
...@@ -78,7 +95,13 @@ ...@@ -78,7 +95,13 @@
</div> </div>
<div class="search ljfk"> <div class="search ljfk">
<div class="item">案件类型:</div> <div class="item">案件类型:</div>
<el-select <Cascader
:form="ruleForm"
id="caseType"
width="9.75"
codeName="CODE_AJLB"
></Cascader>
<!-- <el-select
v-model="caseType" v-model="caseType"
placeholder="请选择案件类型" placeholder="请选择案件类型"
> >
...@@ -89,11 +112,16 @@ ...@@ -89,11 +112,16 @@
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</el-select> </el-select> -->
</div> </div>
<div class="search ljfk"> <div class="search ljfk">
<div class="item">提取单位:</div> <div class="item">提取单位:</div>
<el-select <Cascader
:form="ruleForm"
id="collectunitName"
codeName="CODE_XZQH"
></Cascader>
<!-- <el-select
v-model="collectunitName" v-model="collectunitName"
placeholder="请选择提取单位" placeholder="请选择提取单位"
> >
...@@ -104,11 +132,18 @@ ...@@ -104,11 +132,18 @@
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</el-select> </el-select> -->
</div> </div>
<div class="right"> </div>
<el-button @click="clear">清空</el-button> <div class="headright">
<el-button @click="search">筛选</el-button> <el-button
type="text"
@click="clear"
>清空</el-button>
<el-button
class="sx"
@click="search"
>筛选</el-button>
</div> </div>
</div> </div>
<!-- 二 --> <!-- 二 -->
...@@ -581,6 +616,8 @@ import fztm from "../AllPersonnelBase/modules/fztm.vue"; // 复制数据弹窗 ...@@ -581,6 +616,8 @@ import fztm from "../AllPersonnelBase/modules/fztm.vue"; // 复制数据弹窗
import dcftpx from "../AllPersonnelBase/modules/dcftpx.vue"; //导出FPTX弹窗 import dcftpx from "../AllPersonnelBase/modules/dcftpx.vue"; //导出FPTX弹窗
import dcfptxAj from "../AllPersonnelBase/modules/dcfptxAj.vue" //导出FPTX弹窗 import dcfptxAj from "../AllPersonnelBase/modules/dcfptxAj.vue" //导出FPTX弹窗
import fcx from "../AllPersonnelBase/modules/fcx.vue"; // 发查询弹窗 import fcx from "../AllPersonnelBase/modules/fcx.vue"; // 发查询弹窗
import SelectCode from "@/components/SelectCode.vue";
import Cascader from "@/components/Cascader.vue";
import moment from "moment"; import moment from "moment";
export default { export default {
name: "gzlb", name: "gzlb",
...@@ -589,16 +626,21 @@ export default { ...@@ -589,16 +626,21 @@ export default {
fztm, fztm,
fcx, fcx,
dcftpx, dcftpx,
dcfptxAj dcfptxAj,
SelectCode,
Cascader
}, },
data () { data () {
return { return {
barcode: "", // 条码号 barcode: "", // 条码号
name: '', // 姓名 name: '', // 姓名
sex: '',// 性别 sex: '',// 性别
idcard: "", // 身份证号 ruleForm: {
caseType: '', // 案件类型 sex: '',// 性别
collectunitName: '', // 提取单位 collectunitName: '', // 提取单位
caseType: '', // 案件类型
},
idcard: "", // 身份证号
logicDatabaseoptions: [ logicDatabaseoptions: [
{ {
// 逻辑库 // 逻辑库
...@@ -725,7 +767,7 @@ export default { ...@@ -725,7 +767,7 @@ export default {
} }
reqParam.selectParam.barcode = this.barcode reqParam.selectParam.barcode = this.barcode
reqParam.selectParam.name = this.name reqParam.selectParam.name = this.name
reqParam.selectParam.sex = this.sex reqParam.selectParam.sex = this.ruleForm.sex
reqParam.selectParam.idcard = this.idcard reqParam.selectParam.idcard = this.idcard
} else if (this.showType == 2) { } else if (this.showType == 2) {
// //console.log('bizhong bizhong ') // //console.log('bizhong bizhong ')
...@@ -742,8 +784,8 @@ export default { ...@@ -742,8 +784,8 @@ export default {
} }
} }
reqParam.selectParam.barcode = this.barcode reqParam.selectParam.barcode = this.barcode
reqParam.selectParam.caseType = this.caseType reqParam.selectParam.caseType = this.ruleForm.caseType
reqParam.selectParam.collectunitName = this.collectunitName reqParam.selectParam.collectunitName = this.ruleForm.collectunitName
} }
// //console.info("请求===>", this.reqParam); // //console.info("请求===>", this.reqParam);
this.$axios.post(reqUrl, reqParam).then((response) => { this.$axios.post(reqUrl, reqParam).then((response) => {
...@@ -771,6 +813,11 @@ export default { ...@@ -771,6 +813,11 @@ export default {
this.barcode = ""; // 条码号 this.barcode = ""; // 条码号
this.logicDatabase = "";// 逻辑分库 this.logicDatabase = "";// 逻辑分库
this.queryType = "";// 类型 this.queryType = "";// 类型
this.name = '';// 姓名
this.ruleForm.sex = '';// 性别
this.ruleForm.collectunitName = '';// 提取单位
this.ruleForm.caseType = '';// 案件类型
this.idcard = '';// 身份证号
this.multipleSelection = []; this.multipleSelection = [];
this.ysxtAsjxgrybh = null; this.ysxtAsjxgrybh = null;
this.search() this.search()
...@@ -1222,6 +1269,7 @@ export default { ...@@ -1222,6 +1269,7 @@ export default {
} }
.RAList { .RAList {
height: 700px; height: 700px;
width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 0 24px; padding: 0 24px;
font-family: MicrosoftYaHei; font-family: MicrosoftYaHei;
...@@ -1229,33 +1277,28 @@ export default { ...@@ -1229,33 +1277,28 @@ export default {
margin-top: 10px; margin-top: 10px;
height: 55px; height: 55px;
display: flex; display: flex;
flex-direction: row;
align-items: center; align-items: center;
/deep/.el-radio:nth-child(2) { justify-content: space-between;
margin-left: 24px;
}
/deep/.el-radio__label {
font-size: 14px;
font-family: MicrosoftYaHei;
color: #666666;
}
/deep/.el-input__icon { /deep/.el-input__icon {
line-height: 32px; line-height: 32px;
} }
.headleft {
// width: 1200px;
// background-color: #fff;
display: flex;
}
.search { .search {
display: flex; display: flex;
align-items: center; align-items: center;
}
.barcode {
// margin-left: 65px;
// margin-left: 24px;
.item { .item {
width: 60px; width: 70px;
font-size: 14px; font-size: 14px;
font-family: MicrosoftYaHei; font-family: MicrosoftYaHei;
color: #333333; color: #333333;
} }
/deep/.el-input.el-input--suffix { /deep/.el-input.el-input--suffix {
width: 168px; width: 156px;
height: 32px; height: 32px;
} }
/deep/.el-input--suffix .el-input__inner { /deep/.el-input--suffix .el-input__inner {
...@@ -1263,72 +1306,28 @@ export default { ...@@ -1263,72 +1306,28 @@ export default {
} }
} }
.name { .name {
// margin-left: 65px; margin-left: 24px;
// margin-left: 24px;
.item {
width: 60px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #333333;
}
/deep/.el-input.el-input--suffix {
width: 168px;
height: 32px;
}
/deep/.el-input--suffix .el-input__inner {
height: 32px;
}
} }
.ljfk { .ljfk {
margin-left: 24px; margin-left: 24px;
.item { .item {
width: 70px; width: 80px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #333333;
}
/deep/.el-input.el-input--suffix {
width: 156px;
height: 32px;
}
/deep/.el-input--suffix .el-input__inner {
height: 32px;
} }
} }
.taskNumber { .taskNumber {
margin-left: 24px; margin-left: 24px;
.item { .item {
width: 80px; width: 90px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #333333;
}
/deep/.el-input.el-input--suffix {
width: 156px;
height: 32px;
}
/deep/.el-input--suffix .el-input__inner {
height: 32px;
} }
} }
.rkzt { .rkzt {
margin-left: 24px; margin-left: 24px;
.item { .item {
width: 80px; width: 90px;
font-size: 14px;
font-family: MicrosoftYaHei;
color: #333333;
} }
/deep/.el-input.el-input--suffix {
width: 156px;
height: 32px;
} }
/deep/.el-input--suffix .el-input__inner { .headright {
height: 32px; /deep/.sx {
}
}
.right {
/deep/.el-button {
width: 72px; width: 72px;
height: 32px; height: 32px;
background: #055fe7; background: #055fe7;
......
...@@ -122,16 +122,15 @@ ...@@ -122,16 +122,15 @@
<div class='zwDivHead'> <div class='zwDivHead'>
<!-- <div class="blueDiv"></div>滚动<div class="Num"><span>8</span>/10</div> --> <!-- <div class="blueDiv"></div>滚动<div class="Num"><span>8</span>/10</div> -->
</div> </div>
<div <div
class='zwDivBodyNoImg' class='zwDivBodyNoImg'
v-if='caseLoading' v-if="caseLoading"
> >
正在加载 正在加载
</div> </div>
<div <div
class='zwDivBody' class='zwDivBody'
v-if="CaseImgNum&&caseLoading==false" v-else-if="CaseImgNum&&caseLoading==false"
> >
<div <div
v-for="(item, index) in CaseImg" v-for="(item, index) in CaseImg"
...@@ -150,7 +149,7 @@ ...@@ -150,7 +149,7 @@
</div> </div>
<div <div
class='zwDivBodyNoImg' class='zwDivBodyNoImg'
v-if='CaseImgNum==0&&caseLoading==false' v-else-if='CaseImgNum==0&&caseLoading==false'
> >
该案件无图像信息 该案件无图像信息
</div> </div>
...@@ -223,8 +222,10 @@ export default { ...@@ -223,8 +222,10 @@ export default {
) )
.then((response) => { .then((response) => {
if (response.data.code == 0) { if (response.data.code == 0) {
this.CaseImgNum = response.data.ret.length; debugger
if (this.CaseImgNum > 0) { self.CaseImgNum = response.data.ret.length;
if (self.CaseImgNum > 0) {
for (let i = 0; i <= response.data.ret.length; i++) { for (let i = 0; i <= response.data.ret.length; i++) {
let arr = { let arr = {
code: null, code: null,
...@@ -232,14 +233,13 @@ export default { ...@@ -232,14 +233,13 @@ export default {
} }
arr.code = response.data.ret[i].seq arr.code = response.data.ret[i].seq
arr.img = response.data.ret[i].image arr.img = response.data.ret[i].image
this.CaseImg.push(arr) self.CaseImg.push(arr)
} }
console.log(this.CaseImg, 'CaseImg') // self.$forceUpdate()
console.log(self.CaseImg, 'CaseImg')
} }
// 去掉加载状态 // 去掉加载状态
self.caseLoading = false; self.caseLoading = false;
} else if (response.data.code == 4) { } else if (response.data.code == 4) {
// 去掉加载状态 // 去掉加载状态
self.caseLoading = false; self.caseLoading = false;
......
...@@ -280,6 +280,7 @@ ...@@ -280,6 +280,7 @@
<el-radio :label="1">分开文件</el-radio> <el-radio :label="1">分开文件</el-radio>
<el-radio :label="2">同一文件</el-radio> <el-radio :label="2">同一文件</el-radio>
</el-radio-group> </el-radio-group>
<el-checkbox v-model="tm">脱密</el-checkbox>
</el-form-item> </el-form-item>
<!-- <el-form-item label="保存路径:"> <!-- <el-form-item label="保存路径:">
<el-input placeholder="请选择保存路径"></el-input> <el-input placeholder="请选择保存路径"></el-input>
...@@ -409,6 +410,7 @@ export default { ...@@ -409,6 +410,7 @@ export default {
sjlx: null, // 数据类型 sjlx: null, // 数据类型
wjgs: 1,//文件格式 wjgs: 1,//文件格式
dcms: 1, //导出模式 dcms: 1, //导出模式
tm: false, // 脱密
tmbz: null,// 条码补值 tmbz: null,// 条码补值
}; };
}, },
......
...@@ -212,6 +212,7 @@ export default { ...@@ -212,6 +212,7 @@ export default {
if (response.data.code === 0) { if (response.data.code === 0) {
this.$message.success("关注成功"); this.$message.success("关注成功");
this.comments = '' this.comments = ''
this.$store.commit('layout/delcachePageName', 'gzlb');
this.dialogVisible = false; this.dialogVisible = false;
} else { } else {
this.$message.error("关注失败"); this.$message.error("关注失败");
......
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