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
ce6b9fdc
Commit
ce6b9fdc
authored
Nov 20, 2021
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全程采集 , 法律文书
parent
48ba7b9b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
412 additions
and
159 deletions
+412
-159
src/utils/params.js
+8
-2
src/views/qgncj/ajxx/addasjxx.vue
+169
-72
src/views/qgncj/ajxx/addlaxx.vue
+147
-1
src/views/qgncj/zbxyr/addzbxyr.vue
+88
-84
No files found.
src/utils/params.js
View file @
ce6b9fdc
...
...
@@ -5296,12 +5296,13 @@ const jsasj_flws = [
{
name
:
"受案回执:"
,
id
:
"sahz"
,
fileList
:
[],
type
:
"file"
,
value
:
""
,
requestUrl
:
"/flwsFj/tbstasjflwsCj/save"
,
col
:
"2"
,
flwsAsjzcxwlbdm
:
"1355"
,
flwsAsjflwsdm
:
"01010
1
"
,
flwsAsjflwsdm
:
"01010
2
"
,
},
{
name
:
"受案登记表:"
,
...
...
@@ -5311,7 +5312,8 @@ const jsasj_flws = [
requestUrl
:
"/flwsFj/tbstasjflwsCj/save"
,
col
:
"2"
,
flwsAsjzcxwlbdm
:
"1355"
,
flwsAsjflwsdm
:
"010102"
,
fileList
:
[],
flwsAsjflwsdm
:
"010101"
,
},
]
...
...
@@ -6394,6 +6396,7 @@ const lian_flws = [
type
:
"file"
,
value
:
""
,
requestUrl
:
"/flwsFj/tbstasjflwsCj/save"
,
fileList
:
[],
col
:
"2"
,
},
{
...
...
@@ -6401,6 +6404,7 @@ const lian_flws = [
id
:
"jybgjds"
,
type
:
"file"
,
value
:
""
,
fileList
:
[],
requestUrl
:
"/flwsFj/tbstasjflwsCj/save"
,
col
:
"2"
,
},
...
...
@@ -6408,6 +6412,7 @@ const lian_flws = [
name
:
"立案决定书:"
,
id
:
"lajds"
,
type
:
"file"
,
fileList
:
[],
value
:
""
,
requestUrl
:
"/flwsFj/tbstasjflwsCj/save"
,
col
:
"2"
,
...
...
@@ -6415,6 +6420,7 @@ const lian_flws = [
{
name
:
"现场分析意见:"
,
id
:
"xcfxyj"
,
fileList
:
[],
type
:
"file"
,
value
:
""
,
requestUrl
:
"/flwsFj/tbstasjflwsCj/save"
,
...
...
src/views/qgncj/ajxx/addasjxx.vue
View file @
ce6b9fdc
This diff is collapsed.
Click to expand it.
src/views/qgncj/ajxx/addlaxx.vue
View file @
ce6b9fdc
...
...
@@ -12,7 +12,10 @@
class=
"formCompontent"
:formField=
"propFormField"
:formLabelAligns=
"formLabelAlign"
:fileLists=
"fileLists"
@
submit=
"submit"
@
handleRemove=
"handleRemove"
@
handleChange=
"handleChange"
:propTitle=
"title"
></form-compontent>
</div>
...
...
@@ -25,6 +28,11 @@ import {
updatetbxwlaxx
,
inserttbxwlaxx
,
}
from
"@/api/qgccj/ajxx.js"
;
import
{
insertflws
,
deleteflws
,
queryByAsjbhAndFlwsdm
,
}
from
"@/api/qgccj/flws.js"
;
import
axios
from
"@/utils/http.js"
;
import
{
lian_jbxx
,
...
...
@@ -32,7 +40,7 @@ import {
lian_ajfxxx
,
lian_zasdxx
,
lian_zczz
,
lian_flws
lian_flws
,
}
from
"@/utils/params.js"
;
export
default
{
name
:
"zdxx"
,
...
...
@@ -41,6 +49,7 @@ export default {
},
data
()
{
return
{
fileLists
:
{},
header
:
"立案"
,
title
:
"立案信息编辑"
,
propFormField
:
[
...
...
@@ -97,6 +106,62 @@ export default {
};
},
methods
:
{
handleRemove
(
file
)
{
deleteflws
({
xxzjbh
:
file
.
xxzjbh
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"删除成功!"
);
}
else
{
this
.
$message
.
error
(
"删除失败!"
);
}
});
},
handleChange
(
file
,
fileList
,
item
)
{
var
params
=
new
FormData
();
params
.
append
(
"asjbh"
,
this
.
asjbh
);
params
.
append
(
"flwsGlxxXxzjbh"
,
this
.
xxzjbh
);
params
.
append
(
"flwsAsjzcxwlbdm"
,
"0300"
);
params
.
append
(
"file"
,
file
.
raw
);
if
(
item
.
id
==
"cxlazcbgs"
)
{
params
.
append
(
"flwsAsjflwsdm"
,
"010203"
);
}
else
if
(
item
.
id
==
"jybgjds"
)
{
params
.
append
(
"flwsAsjflwsdm"
,
"021605"
);
}
else
if
(
item
.
id
==
"lajds"
)
{
params
.
append
(
"flwsAsjflwsdm"
,
"010202"
);
}
else
if
(
item
.
id
==
"xcfxyj"
)
{
params
.
append
(
"flwsAsjflwsdm"
,
"020304"
);
}
this
.
insertflws
(
params
,
fileList
);
},
insertflws
(
params
)
{
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在上传..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
insertflws
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$alert
(
"上传成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
},
});
}
else
{
this
.
$alert
(
"上传失败!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"error"
,
callback
:
()
=>
{
loading
.
close
();
},
});
}
});
},
submit
(
params
)
{
let
loading
=
this
.
$loading
({
lock
:
true
,
...
...
@@ -176,7 +241,9 @@ export default {
asjbh
:
this
.
asjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
rows
;
self
.
xxzjbh
=
res
.
data
.
rows
.
xxzjbh
;
this
.
result
=
result
;
self
.
asjbh
=
res
.
data
.
rows
.
asjbh
;
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
...
...
@@ -187,11 +254,90 @@ export default {
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
this
.
getcxlazcbgs
();
this
.
getjybgjds
();
this
.
getlajds
();
this
.
getxcfxyj
();
setTimeout
(()
=>
{
loading
.
close
();
},
500
);
});
},
getcxlazcbgs
()
{
var
self
=
this
;
queryByAsjbhAndFlwsdm
({
asjbh
:
this
.
asjbh
,
flwsAsjflwsdm
:
"010203"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"cxlazcbgs"
,
arrey
);
}
});
},
getjybgjds
()
{
var
self
=
this
;
queryByAsjbhAndFlwsdm
({
asjbh
:
this
.
asjbh
,
flwsAsjflwsdm
:
"021605"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"jybgjds"
,
arrey
);
}
z
;
});
},
getlajds
()
{
var
self
=
this
;
queryByAsjbhAndFlwsdm
({
asjbh
:
this
.
asjbh
,
flwsAsjflwsdm
:
"010202"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"lajds"
,
arrey
);
}
z
;
});
},
getxcfxyj
()
{
var
self
=
this
;
queryByAsjbhAndFlwsdm
({
asjbh
:
this
.
asjbh
,
flwsAsjflwsdm
:
"020304"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"xcfxyj"
,
arrey
);
}
z
;
});
},
},
created
()
{
if
(
this
.
$route
.
query
.
asjbh
)
{
...
...
src/views/qgncj/zbxyr/addzbxyr.vue
View file @
ce6b9fdc
...
...
@@ -147,7 +147,6 @@ export default {
});
},
handleRemove
(
file
)
{
debugger
;
deleteflws
({
xxzjbh
:
file
.
xxzjbh
,
}).
then
((
res
)
=>
{
...
...
@@ -159,7 +158,6 @@ export default {
});
},
handleChange
(
file
,
fileList
,
item
)
{
debugger
;
var
params
=
new
FormData
();
params
.
append
(
"asjbh"
,
this
.
asjbh
);
params
.
append
(
"flwsGlxxXxzjbh"
,
this
.
xxzjbh
);
...
...
@@ -355,7 +353,6 @@ export default {
});
},
removePhoto
(
item
)
{
debugger
;
var
params
=
new
FormData
();
if
(
item
.
id
==
"zczp"
)
{
params
.
append
(
"xxzjbh"
,
this
.
xxzjbhzc
?
this
.
xxzjbhzc
:
this
.
xxzjbhyc1
);
...
...
@@ -367,7 +364,6 @@ export default {
this
.
deletezp
(
params
,
item
);
},
deletezp
(
params
,
item
)
{
debugger
;
deletezp
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$message
({
...
...
@@ -393,7 +389,6 @@ export default {
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
xxzjbhzc
=
res
.
data
.
rows
.
xxzjbh
;
debugger
;
var
ryzpDzwjgs
=
res
.
data
.
rows
.
ryzpDzwjgs
.
substring
(
1
,
4
);
var
base64
=
`data:image/
${
ryzpDzwjgs
}
;base64,`
+
res
.
data
.
rows
.
ryzpDzwjnr
;
...
...
@@ -409,7 +404,6 @@ export default {
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
xxzjbhzm
=
res
.
data
.
rows
.
xxzjbh
;
debugger
;
var
ryzpDzwjgs
=
res
.
data
.
rows
.
ryzpDzwjgs
.
substring
(
1
,
4
);
var
base64
=
`data:image/
${
ryzpDzwjgs
}
;base64,`
+
res
.
data
.
rows
.
ryzpDzwjnr
;
...
...
@@ -424,7 +418,6 @@ export default {
zpbw
:
"4"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
debugger
;
this
.
xxzjbhyc
=
res
.
data
.
rows
.
xxzjbh
;
var
ryzpDzwjgs
=
res
.
data
.
rows
.
ryzpDzwjgs
.
substring
(
1
,
4
);
var
base64
=
...
...
@@ -441,13 +434,14 @@ export default {
flwsAsjflwsdm
:
"030501"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"cqjlbgs"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"cqjlbgs"
,
arrey
);
}
});
},
...
...
@@ -458,13 +452,14 @@ export default {
flwsAsjflwsdm
:
"030601"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"cqtqpzdbbgs"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"cqtqpzdbbgs"
,
arrey
);
}
});
},
...
...
@@ -475,13 +470,14 @@ export default {
flwsAsjflwsdm
:
"030611"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"pzdbjds"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"pzdbjds"
,
arrey
);
}
});
},
...
...
@@ -492,13 +488,14 @@ export default {
flwsAsjflwsdm
:
"030502"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"jlz"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"jlz"
,
arrey
);
}
});
},
...
...
@@ -509,13 +506,14 @@ export default {
flwsAsjflwsdm
:
"030603"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"dbz"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"dbz"
,
arrey
);
}
});
},
...
...
@@ -526,13 +524,14 @@ export default {
flwsAsjflwsdm
:
"030302"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"qbhsjdzxtzs"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"qbhsjdzxtzs"
,
arrey
);
}
});
},
...
...
@@ -543,13 +542,14 @@ export default {
flwsAsjflwsdm
:
"030402"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"jsjzjdszxtzs"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"jsjzjdszxtzs"
,
arrey
);
}
});
},
...
...
@@ -560,13 +560,14 @@ export default {
flwsAsjflwsdm
:
"022106"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"swzm"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"swzm"
,
arrey
);
}
});
},
...
...
@@ -577,13 +578,14 @@ export default {
flwsAsjflwsdm
:
"022105"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"jsbjds"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"jsbjds"
,
arrey
);
}
});
},
...
...
@@ -594,13 +596,14 @@ export default {
flwsAsjflwsdm
:
"022104"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"hjzm"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"hjzm"
,
arrey
);
}
});
},
...
...
@@ -611,13 +614,14 @@ export default {
flwsAsjflwsdm
:
"030602"
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
data
)
{
debugger
;
this
.
$set
(
self
.
fileLists
,
"tqpzdbs"
,
[
{
name
:
res
.
data
.
data
.
flwsDzwjbt
,
xxzjbh
:
res
.
data
.
data
.
xxzjbh
,
},
]);
var
arrey
=
[];
res
.
data
.
data
.
forEach
((
item
)
=>
{
arrey
.
push
({
name
:
item
.
flwsDzwjbt
,
xxzjbh
:
item
.
xxzjbh
,
});
});
this
.
$set
(
self
.
fileLists
,
"tqpzdbs"
,
arrey
);
}
});
},
...
...
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