Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
9090b05b
Commit
9090b05b
authored
May 12, 2021
by
薛文刚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采集修改
parent
dd8d8933
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
457 additions
and
73 deletions
+457
-73
public/JsonData/CODE_NLD.json
+13
-13
public/JsonData/CODE_SACS.json
+91
-20
public/JsonData/CODE_SF.json
+49
-9
public/JsonData/CODE_ZADJ.json
+53
-23
public/JsonData/CODE_ZADJS.json
+140
-0
src/views/magl/dataPicker.vue
+51
-3
src/views/magl/xyrEdit.vue
+0
-0
src/views/magl/zczjsx.vue
+58
-3
src/views/magl/zczjsxcj.vue
+1
-1
vue.config.js
+1
-1
No files found.
public/JsonData/CODE_NLD.json
View file @
9090b05b
...
...
@@ -4,20 +4,20 @@
"rows"
:[
{
"ids"
:
"266304"
,
"label"
:
"1
4
岁以下"
,
"label"
:
"1
2
岁以下"
,
"codeType"
:
"CODE_NLD"
,
"text"
:
"1
4
岁以下"
,
"pId"
:
null
,
"text"
:
"1
2
岁以下"
,
"pId"
:
""
,
"id"
:
"01"
,
"isParent"
:
false
,
"children"
:[]
},
{
"ids"
:
"266305"
,
"label"
:
"1
4
岁-17岁"
,
"label"
:
"1
2
岁-17岁"
,
"codeType"
:
"CODE_NLD"
,
"text"
:
"1
4
岁-17岁"
,
"pId"
:
null
,
"text"
:
"1
2
岁-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"
:[]
...
...
public/JsonData/CODE_SACS.json
View file @
9090b05b
...
...
@@ -7,57 +7,57 @@
"label"
:
"居住场所"
,
"codeType"
:
"CODE_SACS"
,
"text"
:
"居住场所"
,
"pId"
:
null
,
"pId"
:
""
,
"id"
:
"0100"
,
"isParent"
:
false
,
"children"
:[]
},
{
{
"ids"
:
"17564"
,
"label"
:
"餐饮及娱乐场所"
,
"codeType"
:
"CODE_SACS"
,
"text"
:
"餐饮及娱乐场所"
,
"pId"
:
null
,
"pId"
:
""
,
"id"
:
"0101"
,
"isParent"
:
false
,
"children"
:[]
},
{
{
"ids"
:
"17565"
,
"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"
:[]
},
{
{
"ids"
:
"17567"
,
"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,17 +77,17 @@
"label"
:
"交通道路"
,
"codeType"
:
"CODE_SACS"
,
"text"
:
"交通道路"
,
"pId"
:
null
,
"pId"
:
""
,
"id"
:
"0107"
,
"isParent"
:
false
,
"children"
:[]
},
{
{
"ids"
:
"17571"
,
"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"
:[]
}
]
},
...
...
public/JsonData/CODE_SF.json
View file @
9090b05b
...
...
@@ -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"
:[]
...
...
public/JsonData/CODE_ZADJ.json
View file @
9090b05b
...
...
@@ -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"
:
"010
6
"
,
"pId"
:
""
,
"id"
:
"010
9
"
,
"isParent"
:
false
,
"children"
:[]
},
...
...
@@ -77,8 +97,8 @@
"label"
:
"强奸"
,
"codeType"
:
"CODE_ZADJ"
,
"text"
:
"强奸"
,
"pId"
:
null
,
"id"
:
"01
07
"
,
"pId"
:
""
,
"id"
:
"01
10
"
,
"isParent"
:
false
,
"children"
:[]
},
...
...
@@ -87,8 +107,8 @@
"label"
:
"经济债务纠纷"
,
"codeType"
:
"CODE_ZADJ"
,
"text"
:
"经济债务纠纷"
,
"pId"
:
null
,
"id"
:
"01
08
"
,
"pId"
:
""
,
"id"
:
"01
11
"
,
"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"
:[]
}
...
...
public/JsonData/CODE_ZADJS.json
0 → 100644
View file @
9090b05b
{
"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
src/views/magl/dataPicker.vue
View file @
9090b05b
...
...
@@ -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
;
...
...
src/views/magl/xyrEdit.vue
View file @
9090b05b
This diff is collapsed.
Click to expand it.
src/views/magl/zczjsx.vue
View file @
9090b05b
...
...
@@ -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_ZADJ
S
"
,
},
{
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
;
...
...
src/views/magl/zczjsxcj.vue
View file @
9090b05b
...
...
@@ -556,7 +556,7 @@ export default {
prop
:
"checkEmpty"
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_ZADJ"
,
codeTree
:
"CODE_ZADJ
S
"
,
},
{
name
:
"发案原因补充描述:"
,
...
...
vue.config.js
View file @
9090b05b
...
...
@@ -62,7 +62,7 @@ module.exports = {
},
proxy
:
{
"/apiMaxt"
:
{
target
:
"http://
192.168.43.2
3:9022/"
,
//统一的请求头部每次修改都要重启才会生效 192.168.0.121 39.99.155.173
target
:
"http://
39.99.155.17
3:9022/"
,
//统一的请求头部每次修改都要重启才会生效 192.168.0.121 39.99.155.173
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment