Commit 19641151 by huangdang

fix: 还原查询页面

parent 814dec76
......@@ -44,9 +44,9 @@
},
{
"ids":"05",
"label":"部级领导通过",
"label":"认定成功",
"codeType":"CODE_RWZT",
"text":"部级领导通过",
"text":"认定成功",
"pId":null,
"id":"05",
"isParent":false,
......
......@@ -6395,66 +6395,20 @@ export default {
if (!Array.isArray(json.rdzt)) {
json.rdzt = []
}
if (this.pageBszfc == 'yardsqgl') {
json = {
rwzt: self.formData.rwzt.length > 0 ? self.formData.rwzt.join(',') : '',
asjbh: self.formData.asjbh,
pageNum: self.currentPage1,
pageSize: self.page_size
}
}
if (this.pageBszfc == 'yardsq') {
json = {
asjbh: self.formData.asjbh
}
}
if(this.pageBszfc == 'xprdbjsp') {
json = {
rwzt: self.formData.rwzt.length > 0 ? self.formData.rwzt.join(',') : '',
asjbh: self.formData.asjbh,
pageNum: self.currentPage1,
pageSize: self.page_size
}
}
if (this.pageBszfc == 'xprdsp') {
json = {
asjbh: self.formData.asjbh,
ladwdm: self.formData.ladwdm.toString(),
larqKssj: self.formData.larqKssj,
larqJssj: self.formData.larqJssj,
ajlbdm: self.formData.ajlbdm.toString(),
xxdjryXm: self.formData.xxdjryXm,
djsjKssj: self.formData.djsjKssj,
djsjJssj: self.formData.djsjJssj,
ajxzdm: self.formData.ajxzdm.toString(),
xxdjryGajgjgdm: self.formData.xxdjryGajgjgdm.toString(),
rwzt: self.formData.rwzt,
zczjKssj: self.formData.zczjKssj,
zczjJssj: self.formData.zczjJssj,
pageNum: self.currentPage1,
pageSize: self.page_size
}
}
if (flag) {
self.doQueryRequest(JSON.stringify(json)).then((response) => {
let res = {}
if (response.data.row) {
res = response
} else {
res = response.data
}
if (res.success === true) {
self.tableData = Array.isArray(res.data.rows) ? res.data.rows : [res.data.rows];
self.tableDataLength = response.data.total;
self.tPage = Math.ceil(response.data.total / self.page_size) || 1;
self.talbeBhgCount = response.data.bhgCount || 1;
self.talbehgCount = response.data.hgCount || 1;
self.talbeysbhgCount = response.data.ysbhgCount || 1;
if (response.data.success === true) {
self.tableData = response.data.data.rows;
self.tableDataLength = response.data.data.total;
self.tPage = Math.ceil(response.data.data.total / self.page_size);
self.talbeBhgCount = response.data.data.bhgCount;
self.talbehgCount = response.data.data.hgCount;
self.talbeysbhgCount = response.data.data.ysbhgCount;
if (response.data?.ybzCount) {
if (response.data.data?.ybzCount || response.data.data?.wbzCount) {
debugger
self.ybz = response.data.ybzCount
self.wbz = response.data.wbzCount
self.ybz = response.data.data.ybzCount
self.wbz = response.data.data.wbzCount
console.log(self.wbz, self.ybz)
self.isBz = true
} else {
......@@ -6463,7 +6417,7 @@ export default {
}
self.closeLoading();
} else {
if (self.pageBszfc == "xprdsq" || self.pageBszfc == "tbxxgl" || self.pageBszfc == 'yardsq') {
if (self.pageBszfc == "xprdsq" || self.pageBszfc == "tbxxgl") {
self.tableData = [];
self.tableDataLength = 0;
self.$message({
......@@ -6567,13 +6521,11 @@ export default {
this.pageBszfc != "xprdbjsp" &&
this.pageBszfc != "xprdsp" &&
this.pageBszfc != "ajbzgl" &&
this.pageBszfc != "tbxxgl" &&
this.pageBszfc != "yardsqgl" &&
this.pageBszfc != "yardsq"
this.pageBszfc != "tbxxgl"
);
},
czFlag() {
let arr = ["xprdsq", "xprdsqgl", "xprdbjsp", "xprdsp", "ajbzgl", "yardsqgl", "yardsq"];
let arr = ["xprdsq", "xprdsqgl", "xprdbjsp", "xprdsp", "ajbzgl"];
return arr.includes(this.pageBszfc);
},
},
......
......@@ -567,14 +567,6 @@ export default [
},
},
{
path: '/yardsq/sqrd',
name: 'yasqrd',
component: () => import('@/views/yard/sqrd.vue'),
meta: {
title: '申请认定'
}
},
{
path: '/yardsqgl',
name: 'yardsqgl',
component: () => import('@/views/yard/yardsqgl.vue'),
......
......@@ -48,7 +48,7 @@ export default {
},
{
name: "认定状态",
id: "rwzt",
id: "rdzt",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
......@@ -64,16 +64,27 @@ export default {
prop: "asjbh",
width: "220",
},
{
label: "申请单位",
prop: "xxdjdwGajgmc",
width: "200",
},
{
label: "申请时间",
prop: "djsj",
width: "200",
},
{
label: "协破认定状态",
prop: "rdztStr",
width: "220",
},
{
/*table默认得表头*/
label: "立案单位",
prop: "ladwGajgmc",
width: "200",
},
// {
// label: "案件时间",
// prop: "larq",
// width: "200",
// },
{
label: "案件时间",
prop: "发案时间:asjfssjAsjfskssj,立案时间:larq,侦查终结时间:zczjZxsj01",
......@@ -90,11 +101,6 @@ export default {
width: "200",
},
{
label: "协破认定状态",
prop: "xprdztStr",
width: "220",
},
{
label: "案件名称",
prop: "ajmc",
width: "200",
......@@ -103,26 +109,9 @@ export default {
label: "简要案情",
prop: "jyaq",
width: "200",
}
// {
// /*table默认得表头*/
// label: "立案单位",
// prop: "ladwGajgmc",
// width: "200",
// },
// {
// label: "案件时间",
// prop: "发案时间:asjfssjAsjfskssj,立案时间:larq,侦查终结时间:zczjZxsj01",
// width: "220",
// },
// {
// label: "简要案情",
// prop: "jyaq",
// width: "200",
// },
},
],
cxUrl: "/yarw/getYaList",
cxUrl: "/jaasjxp/querySp",
header: "申请方审批",
pageBs: "xprdsp",
};
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -30,19 +30,8 @@ export default {
data() {
return {
cxFormData: {
asjbh: '',
ladwdm: '',
larqKssj: '',
larqJssj: '',
ajlbdm: '',
xxdjryXm: '',
djsjKssj: '',
djsjJssj: '',
ajxzdm: '',
xxdjryGajgjgdm: '',
rwzt: '',
zczjKssj: '',
zczjJssj: ''
asjbh: "",
rwzt: [],
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
......@@ -55,78 +44,6 @@ export default {
col: "3",
},
{
name: "立案单位",
id: "ladwdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_QGUNIT",
// multiple: true,
},
{
name: '案发时间',
id: 'larqKssj-larqJssj',
id1: 'larqKssj',
id2: 'larqJssj',
type: 'datetimerange',
value: [],
placeholder: '请选择',
col: '3'
},
{
name: "案件类别",
id: "ajlbdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_AJLB",
// multiple: true,
},
{
name: "登记人姓名",
id: "xxdjryXm",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: '案发时间',
id: 'djsjKssj-djsjJssj',
id1: 'djsjKssj',
id2: 'djsjJssj',
type: 'datetimerange',
value: [],
placeholder: '请选择',
col: '3'
},
{
name: "案件性质",
id: "ajxzdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_AJXZ",
// multiple: true,
},
{
name: "登记单位",
id: "xxdjryGajgjgdm",
type: "codeTreeDialog",
props: [], //字典弹框需要的字段
value: "",
col: "3",
codeOptions: [],
codeTree: "CODE_QGUNIT",
// multiple: true,
},
{
name: "认定状态",
id: "rdzt",
type: "codeTreeDialog",
......@@ -135,21 +52,11 @@ export default {
col: "3",
codeOptions: [],
codeTree: "CODE_RWZT",
// multiple: true,
multiple: true,
},
{
name: '案发时间',
id: 'zczjKssj-zczjJssj',
id1: 'zczjKssj',
id2: 'zczjJssj',
type: 'datetimerange',
value: [],
placeholder: '请选择',
col: '3'
}
],
cxDefaultFormThead: [
{
{
label: "案件编号",
prop: "asjbh",
width: "220",
......@@ -159,30 +66,30 @@ export default {
prop: "ladwGajgmc",
width: "200",
},
// {
// label: "案件时间",
// prop: "larq",
// width: "200",
// },
{
label: "案件时间",
prop: "asjfssj",
width: "200",
prop: "发案时间:asjfssjAsjfskssj,立案时间:larq,侦查终结时间:zczjZxsj01",
width: "220",
},
{
label: "案件类别",
prop: "ajlbdm",
width: "220",
prop: "ajlbdmStr",
width: "200",
},
{
label: "死亡人数",
prop: "swrs",
width: "200",
},
// {
// label: "案件时间",
// prop: "发案时间:asjfssjAsjfskssj,立案时间:larq,侦查终结时间:zczjZxsj01",
// width: "220",
// },
{
label: "协破认定状态",
prop: "",
width: "200",
prop: "xprdztStr",
width: "220",
},
{
label: "案件名称",
......@@ -193,9 +100,9 @@ export default {
label: "简要案情",
prop: "jyaq",
width: "200",
},
}
],
cxUrl: "/yarw/getAreaYaList",
cxUrl: "/yarw/getYaList",
header: "申请方审批",
pageBs: "xprdsp",
};
......
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