Commit 9090b05b by 薛文刚

采集修改

parent dd8d8933
......@@ -4,20 +4,20 @@
"rows":[
{
"ids":"266304",
"label":"14岁以下",
"label":"12岁以下",
"codeType":"CODE_NLD",
"text":"14岁以下",
"pId":null,
"text":"12岁以下",
"pId":"",
"id":"01",
"isParent":false,
"children":[]
},
{
"ids":"266305",
"label":"14岁-17岁",
"label":"12岁-17岁",
"codeType":"CODE_NLD",
"text":"14岁-17岁",
"pId":null,
"text":"12岁-17岁",
"pId":"",
"id":"02",
"isParent":false,
"children":[]
......@@ -27,7 +27,7 @@
"label":"18岁-25岁",
"codeType":"CODE_NLD",
"text":"18岁-25岁",
"pId":null,
"pId":"",
"id":"03",
"isParent":false,
"children":[]
......@@ -37,7 +37,7 @@
"label":"26岁-35岁",
"codeType":"CODE_NLD",
"text":"26岁-35岁",
"pId":null,
"pId":"",
"id":"04",
"isParent":false,
"children":[]
......@@ -47,7 +47,7 @@
"label":"36岁-45岁",
"codeType":"CODE_NLD",
"text":"36岁-45岁",
"pId":null,
"pId":"",
"id":"05",
"isParent":false,
"children":[]
......@@ -57,7 +57,7 @@
"label":"46岁-55岁",
"codeType":"CODE_NLD",
"text":"46岁-55岁",
"pId":null,
"pId":"",
"id":"07",
"isParent":false,
"children":[]
......@@ -67,7 +67,7 @@
"label":"56岁-65岁",
"codeType":"CODE_NLD",
"text":"56岁-65岁",
"pId":null,
"pId":"",
"id":"08",
"isParent":false,
"children":[]
......@@ -77,7 +77,7 @@
"label":"66岁-75岁",
"codeType":"CODE_NLD",
"text":"66岁-75岁",
"pId":null,
"pId":"",
"id":"09",
"isParent":false,
"children":[]
......@@ -87,7 +87,7 @@
"label":"75岁以上",
"codeType":"CODE_NLD",
"text":"75岁以上",
"pId":null,
"pId":"",
"id":"10",
"isParent":false,
"children":[]
......
......@@ -7,7 +7,7 @@
"label":"居住场所",
"codeType":"CODE_SACS",
"text":"居住场所",
"pId":null,
"pId":"",
"id":"0100",
"isParent":false,
"children":[]
......@@ -17,7 +17,7 @@
"label":"餐饮及娱乐场所",
"codeType":"CODE_SACS",
"text":"餐饮及娱乐场所",
"pId":null,
"pId":"",
"id":"0101",
"isParent":false,
"children":[]
......@@ -27,17 +27,17 @@
"label":"学校教育场所",
"codeType":"CODE_SACS",
"text":"学校教育场所",
"pId":null,
"pId":"",
"id":"0102",
"isParent":false,
"children":[]
},
{
"ids":"17566",
"label":"学校教育场所",
"label":"医疗卫生场所",
"codeType":"CODE_SACS",
"text":"学校教育场所",
"pId":null,
"text":"医疗卫生场所",
"pId":"",
"id":"0103",
"isParent":false,
"children":[]
......@@ -47,17 +47,17 @@
"label":"党政机关办公场所",
"codeType":"CODE_SACS",
"text":"党政机关办公场所",
"pId":null,
"pId":"",
"id":"0104",
"isParent":false,
"children":[]
},
{
"ids":"17568",
"label":"农林牧渔生场所",
"label":"农林牧渔生场所",
"codeType":"CODE_SACS",
"text":"农林牧渔生场所",
"pId":null,
"text":"农林牧渔生场所",
"pId":"",
"id":"0105",
"isParent":false,
"children":[]
......@@ -67,7 +67,7 @@
"label":"工矿企业生产场所",
"codeType":"CODE_SACS",
"text":"工矿企业生产场所",
"pId":null,
"pId":"",
"id":"0106",
"isParent":false,
"children":[]
......@@ -77,7 +77,7 @@
"label":"交通道路",
"codeType":"CODE_SACS",
"text":"交通道路",
"pId":null,
"pId":"",
"id":"0107",
"isParent":false,
"children":[]
......@@ -87,7 +87,7 @@
"label":"交通工具",
"codeType":"CODE_SACS",
"text":"交通工具",
"pId":null,
"pId":"",
"id":"0108",
"isParent":false,
"children":[]
......@@ -97,10 +97,81 @@
"label":"其他",
"codeType":"CODE_SACS",
"text":"其他",
"pId":null,
"pId":"",
"id":"0199",
"isParent":false,
"children":[]
},
{
"ids":"17573",
"label":"其他涉外场所",
"codeType":"CODE_SACS",
"text":"其他涉外场所",
"pId":"",
"id":"0200",
"isParent":true,
"children":[
{
"ids":"17574",
"label":"公园",
"codeType":"CODE_SACS",
"text":"公园",
"pId":"0200",
"id":"0201",
"isParent":false,
"children":[]
},
{
"ids":"17562",
"label":"广场",
"codeType":"CODE_SACS",
"text":"广场",
"pId":"0200",
"id":"0202",
"isParent":false,
"children":[]
},
{
"ids":"17561",
"label":"风景区",
"codeType":"CODE_SACS",
"text":"风景区",
"pId":"0200",
"id":"0203",
"isParent":false,
"children":[]
}
]
},
{
"ids":"17574",
"label":"公园",
"codeType":"CODE_SACS",
"text":"公园",
"pId":"0200",
"id":"0201",
"isParent":false,
"children":[]
},
{
"ids":"17562",
"label":"广场",
"codeType":"CODE_SACS",
"text":"广场",
"pId":"0200",
"id":"0202",
"isParent":false,
"children":[]
},
{
"ids":"17561",
"label":"风景区",
"codeType":"CODE_SACS",
"text":"风景区",
"pId":"0200",
"id":"0203",
"isParent":false,
"children":[]
}
]
},
......
......@@ -7,7 +7,7 @@
"label":"党政机关工作人员",
"codeType":"CODE_SF",
"text":"党政机关工作人员",
"pId":null,
"pId":"",
"id":"01",
"isParent":false,
"children":[]
......@@ -17,7 +17,7 @@
"label":"企事业单位工作人员",
"codeType":"CODE_SF",
"text":"企事业单位工作人员",
"pId":null,
"pId":"",
"id":"02",
"isParent":false,
"children":[]
......@@ -27,7 +27,7 @@
"label":"务工人员",
"codeType":"CODE_SF",
"text":"务工人员",
"pId":null,
"pId":"",
"id":"03",
"isParent":false,
"children":[]
......@@ -37,7 +37,7 @@
"label":"务农人员",
"codeType":"CODE_SF",
"text":"务农人员",
"pId":null,
"pId":"",
"id":"04",
"isParent":false,
"children":[]
......@@ -47,7 +47,7 @@
"label":"无业人员",
"codeType":"CODE_SF",
"text":"无业人员",
"pId":null,
"pId":"",
"id":"05",
"isParent":false,
"children":[]
......@@ -57,7 +57,7 @@
"label":"个体工商业人员",
"codeType":"CODE_SF",
"text":"个体工商业人员",
"pId":null,
"pId":"",
"id":"06",
"isParent":false,
"children":[]
......@@ -67,17 +67,57 @@
"label":"离退休人员",
"codeType":"CODE_SF",
"text":"离退休人员",
"pId":null,
"pId":"",
"id":"07",
"isParent":false,
"children":[]
},
{
"ids":"18190",
"label":"现役军人",
"codeType":"CODE_SF",
"text":"现役军人",
"pId":"",
"id":"08",
"isParent":false,
"children":[]
},
{
"ids":"18191",
"label":"教师",
"codeType":"CODE_SF",
"text":"教师",
"pId":"",
"id":"09",
"isParent":false,
"children":[]
},
{
"ids":"18192",
"label":"学生",
"codeType":"CODE_SF",
"text":"学生",
"pId":"",
"id":"10",
"isParent":false,
"children":[]
},
{
"ids":"18193",
"label":"医生",
"codeType":"CODE_SF",
"text":"医生",
"pId":"",
"id":"11",
"isParent":false,
"children":[]
},
{
"ids":"18189",
"label":"其他",
"codeType":"CODE_SF",
"text":"其他",
"pId":null,
"pId":"",
"id":"99",
"isParent":false,
"children":[]
......
......@@ -3,21 +3,11 @@
"data":{
"rows":[
{
"ids":"266269",
"label":"图财",
"codeType":"CODE_ZADJ",
"text":"图财",
"pId":null,
"id":"0100",
"isParent":false,
"children":[]
},
{
"ids":"266270",
"label":"家庭矛盾",
"codeType":"CODE_ZADJ",
"text":"家庭矛盾",
"pId":null,
"pId":"",
"id":"0101",
"isParent":false,
"children":[]
......@@ -27,7 +17,7 @@
"label":"情感纠纷",
"codeType":"CODE_ZADJ",
"text":"情感纠纷",
"pId":null,
"pId":"",
"id":"0102",
"isParent":false,
"children":[]
......@@ -37,7 +27,7 @@
"label":"激情杀人",
"codeType":"CODE_ZADJ",
"text":"激情杀人",
"pId":null,
"pId":"",
"id":"0103",
"isParent":false,
"children":[]
......@@ -47,7 +37,7 @@
"label":"(疑似)精神障碍杀人",
"codeType":"CODE_ZADJ",
"text":"(疑似)精神障碍杀人",
"pId":null,
"pId":"",
"id":"0104",
"isParent":false,
"children":[]
......@@ -57,18 +47,48 @@
"label":"邻里纠纷",
"codeType":"CODE_ZADJ",
"text":"邻里纠纷",
"pId":null,
"pId":"",
"id":"0105",
"isParent":false,
"children":[]
},
{
"ids":"266283",
"label":"抢劫",
"codeType":"CODE_ZADJ",
"text":"抢劫",
"pId":"",
"id":"0106",
"isParent":false,
"children":[]
},
{
"ids":"266284",
"label":"盗窃",
"codeType":"CODE_ZADJ",
"text":"盗窃",
"pId":"",
"id":"0107",
"isParent":false,
"children":[]
},
{
"ids":"266285",
"label":"抢夺",
"codeType":"CODE_ZADJ",
"text":"抢夺",
"pId":"",
"id":"0108",
"isParent":false,
"children":[]
},
{
"ids":"266275",
"label":"厌世",
"codeType":"CODE_ZADJ",
"text":"厌世",
"pId":null,
"id":"0106",
"pId":"",
"id":"0109",
"isParent":false,
"children":[]
},
......@@ -77,8 +97,8 @@
"label":"强奸",
"codeType":"CODE_ZADJ",
"text":"强奸",
"pId":null,
"id":"0107",
"pId":"",
"id":"0110",
"isParent":false,
"children":[]
},
......@@ -87,8 +107,8 @@
"label":"经济债务纠纷",
"codeType":"CODE_ZADJ",
"text":"经济债务纠纷",
"pId":null,
"id":"0108",
"pId":"",
"id":"0111",
"isParent":false,
"children":[]
},
......@@ -97,8 +117,18 @@
"label":"土地纠纷",
"codeType":"CODE_ZADJ",
"text":"土地纠纷",
"pId":null,
"id":"0109",
"pId":"",
"id":"0112",
"isParent":false,
"children":[]
},
{
"ids":"266280",
"label":"其他",
"codeType":"CODE_ZADJ",
"text":"其他",
"pId":"",
"id":"9900",
"isParent":false,
"children":[]
}
......
{
"code":200,
"data":{
"rows":[
{
"ids":"266270",
"label":"家庭矛盾",
"codeType":"CODE_ZADJS",
"text":"家庭矛盾",
"pId":"",
"id":"0101",
"isParent":false,
"children":[]
},
{
"ids":"266271",
"label":"情感纠纷",
"codeType":"CODE_ZADJS",
"text":"情感纠纷",
"pId":"",
"id":"0102",
"isParent":false,
"children":[]
},
{
"ids":"266272",
"label":"激情杀人",
"codeType":"CODE_ZADJS",
"text":"激情杀人",
"pId":"",
"id":"0103",
"isParent":false,
"children":[]
},
{
"ids":"266273",
"label":"精神障碍杀人",
"codeType":"CODE_ZADJS",
"text":"精神障碍杀人",
"pId":"",
"id":"0104",
"isParent":false,
"children":[]
},
{
"ids":"266274",
"label":"邻里纠纷",
"codeType":"CODE_ZADJS",
"text":"邻里纠纷",
"pId":"",
"id":"0105",
"isParent":false,
"children":[]
},
{
"ids":"266283",
"label":"抢劫",
"codeType":"CODE_ZADJS",
"text":"抢劫",
"pId":"",
"id":"0106",
"isParent":false,
"children":[]
},
{
"ids":"266284",
"label":"盗窃",
"codeType":"CODE_ZADJS",
"text":"盗窃",
"pId":"",
"id":"0107",
"isParent":false,
"children":[]
},
{
"ids":"266285",
"label":"抢夺",
"codeType":"CODE_ZADJS",
"text":"抢夺",
"pId":"",
"id":"0108",
"isParent":false,
"children":[]
},
{
"ids":"266275",
"label":"厌世",
"codeType":"CODE_ZADJS",
"text":"厌世",
"pId":"",
"id":"0109",
"isParent":false,
"children":[]
},
{
"ids":"266276",
"label":"强奸",
"codeType":"CODE_ZADJS",
"text":"强奸",
"pId":"",
"id":"0110",
"isParent":false,
"children":[]
},
{
"ids":"266277",
"label":"经济债务纠纷",
"codeType":"CODE_ZADJS",
"text":"经济债务纠纷",
"pId":"",
"id":"0111",
"isParent":false,
"children":[]
},
{
"ids":"266278",
"label":"土地纠纷",
"codeType":"CODE_ZADJS",
"text":"土地纠纷",
"pId":"",
"id":"0112",
"isParent":false,
"children":[]
},
{
"ids":"266280",
"label":"其他",
"codeType":"CODE_ZADJS",
"text":"其他",
"pId":"",
"id":"9900",
"isParent":false,
"children":[]
}
]
},
"success":true,
"message":"成功"
}
\ No newline at end of file
......@@ -827,6 +827,13 @@
</div>
</div>
</div>
<div class="prive_picture"
v-if="filePreviewFlag"
@click="closefilePreview">
<el-image class="picture"
:src=filePreview>
</el-image>
</div>
<!--警员选择弹框-->
<el-dialog title="选择警员"
:visible.sync="dialogJyVisible"
......@@ -1102,6 +1109,8 @@ export default {
},
data () {
return {
filePreviewFlag: false,
filePreview: '',
saveCkXX: [],
sxxgType: '',
isShowMap: false,
......@@ -2535,6 +2544,11 @@ export default {
self.initFields();
},
methods: {
closefilePreview () {
this.filePreview = ''
this.filePreviewFlag = false
},
tqShuju (item) {
debugger
var self = this;
......@@ -3576,6 +3590,7 @@ export default {
}
)
.then(res => {
debugger
if (res.data.success == true) {
if (res.data.data.asjxxList.length != 0) {
self.formLabelAlign['flwsjss'] = [];
......@@ -3612,8 +3627,9 @@ export default {
) {
let obj = {
name: list.flwsDzwjbt,
url: list.flwsDzwjnr,
xxzjbh: list.xxzjbh
url: list.zp,
xxzjbh: list.xxzjbh,
flwsDzwjgs: list.flwsDzwjgs
};
self.fileLists[
self.propFormField[4].data[0].childrenAsAdd[0].id
......@@ -5426,6 +5442,22 @@ export default {
//下载法律文书
handlerPreview (file, fileList, item, parentItem, itemIndex) {
debugger
if (file.gs == '.pdf') {
Http.get(`${url.BaseURL}/flwsFj/tbstasjflwsCj/getPdfflws`, {
params: { xxzjbh: file.xxzjbh },
headers: { 'Content-Type': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'blade-auth': sessionStorage.getItem("token"), },
responseType: 'blob'
}).then(res => {
let binaryData = [];
binaryData.push(res.data)
let pdfUrl = window.URL.createObjectURL(new Blob(binaryData, { type: 'application/pdf' }));
debugger
window.open(pdfUrl);
})
} else if (file.gs == '.jpg' || file.gs == '.jpeg' || file.gs == '.png') {
this.filePreview = `data:image/${file.flwsDzwjgs.substring(1)};base64,${file.url}`
this.filePreviewFlag = true
}
let self = this;
//如果是移送请求,执行下载操作
var params = {};
......@@ -6399,7 +6431,23 @@ export default {
$-header-bg: #1a81e1;
$-header-height: 60px;
$-header-fontSize: 18px;
.prive_picture {
z-index: 999;
background: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
.picture {
width: 500px;
height: 800px;
left: 40%;
top: 50%;
// transform: translateX(-50%);
transform: translateY(-50%);
}
}
#formCommonPage {
width: 100% !important;
background: #f2f2f2;
......
......@@ -218,6 +218,11 @@
handleRemove(flie, fileList, item2);
}
"
:on-preview="
(flie, fileList) => {
handlerPreview(flie, fileList, item2);
}
"
:auto-upload="false"
:http-request="httpRequest"
:file-list="fileLists[item2.fileId || item2.id]"
......@@ -392,6 +397,13 @@
src="../../assets/img/sjcj/tiQingShenPi.gif">
</div>
</div>
<div class="prive_picture"
v-if="filePreviewFlag"
@click="closefilePreview">
<el-image class="picture"
:src=filePreview>
</el-image>
</div>
<!--多级或多数据下拉框弹框样式-->
<el-dialog v-if="dialogCodeVisible"
custom-class="treeDialog"
......@@ -465,6 +477,8 @@ export default {
},
data () {
return {
filePreviewFlag: false,
filePreview: '',
ifShowDongTu: false,
formData: {
asjbh: '',
......@@ -559,7 +573,7 @@ export default {
prop: "checkEmpty",
col: "3",
codeOptions: [],
codeTree: "CODE_ZADJ",
codeTree: "CODE_ZADJS",
},
{
name: "发案原因补充描述:",
......@@ -717,6 +731,11 @@ export default {
this.getXyrList()
},
methods: {
closefilePreview () {
this.filePreview = ''
this.filePreviewFlag = false
},
toEdit (item) {
debugger
var self = this
......@@ -952,7 +971,7 @@ export default {
}
}).then(res => {
let result = res.data.data.asjxxList
debugger
result.forEach((fileItem, fileIndex) => {
const fileObj = {
name: fileItem.flwsDzwjbt,
......@@ -1120,7 +1139,8 @@ export default {
const fileObj = {
name: fileItem.xsfjDzwjbt,
url: fileItem.xsfjDzwjwz,
xxzjbh: fileItem.xxzjbh
xxzjbh: fileItem.xxzjbh,
gs: fileItem.flwsDzwjgs
};
self.$set(
self.formLabelAlign[fieldItem.id],
......@@ -1419,6 +1439,24 @@ export default {
this.fileLists[item.id] = fileList;
}
},
handlerPreview (file, fileList, item) {
if (file.gs == '.pdf') {
Http.get(`${url.BaseURL}/flwsFj/tbstasjflwsCj/getPdfflws`, {
params: { xxzjbh: file.xxzjbh },
headers: { 'Content-Type': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'blade-auth': sessionStorage.getItem("token"), },
responseType: 'blob'
}).then(res => {
let binaryData = [];
binaryData.push(res.data)
let pdfUrl = window.URL.createObjectURL(new Blob(binaryData, { type: 'application/pdf' }));
debugger
window.open(pdfUrl);
})
} else if (file.gs == '.jpg' || file.gs == '.jpeg' || file.gs == '.png') {
this.filePreview = `data:image/${file.flwsDzwjgs.substring(1)};base64,${file.url}`
this.filePreviewFlag = true
}
},
handleChange (file, fileList, item) {
var self = this
var formData = new FormData();
......@@ -1645,6 +1683,23 @@ export default {
<style scoped lang="scss">
@import "../../assets/styles/zczjsx.scss";
.prive_picture {
z-index: 999;
background: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
.picture {
width: 500px;
height: 800px;
left: 40%;
top: 50%;
// transform: translateX(-50%);
transform: translateY(-50%);
}
}
.shadow {
width: 100%;
height: 100vh;
......
......@@ -556,7 +556,7 @@ export default {
prop: "checkEmpty",
col: "3",
codeOptions: [],
codeTree: "CODE_ZADJ",
codeTree: "CODE_ZADJS",
},
{
name: "发案原因补充描述:",
......
......@@ -62,7 +62,7 @@ module.exports = {
},
proxy: {
"/apiMaxt": {
target: "http://192.168.43.23:9022/", //统一的请求头部每次修改都要重启才会生效 192.168.0.121 39.99.155.173
target: "http://39.99.155.173:9022/", //统一的请求头部每次修改都要重启才会生效 192.168.0.121 39.99.155.173
ws: true,
changeOrigin: true,
pathRewrite: {
......
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