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
638bea3f
Commit
638bea3f
authored
Mar 28, 2022
by
chenqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
案件标注
parent
6070746e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
89 deletions
+89
-89
src/components/ptCxForm_components.vue
+3
-3
src/views/ajbzDetail.vue
+86
-86
No files found.
src/components/ptCxForm_components.vue
View file @
638bea3f
...
...
@@ -486,7 +486,7 @@ export default {
debugger
;
// console.log(scope);
// this.formData.jyaq = '1'
if
(
this
.
isBtn
)
{
//
if (this.isBtn) {
this
.
$router
.
pushToTab
({
path
:
"ajbzDetail"
,
query
:
{
...
...
@@ -496,7 +496,7 @@ export default {
form
:
JSON
.
stringify
(
this
.
formData
),
},
});
}
else
{
/*
} else {
let list = {
page: 1,
limit: 5000,
...
...
@@ -524,7 +524,7 @@ export default {
form: JSON.stringify(list),
},
});
}
}
*/
}
else
{
this
.
$router
.
pushToTab
({
path
:
"ajbzDetail"
,
...
...
src/views/ajbzDetail.vue
View file @
638bea3f
...
...
@@ -28,7 +28,7 @@
<el-col
:span=
"14"
>
<div
style=
"height: 76px;width:146px;position:absolute;left:45vw;top: 5vh;z-index: 999;"
>
<img
v-if=
"bzzt == 1"
style=
"width:100%;height:100%;"
src=
"./../assets/img/yibiaozhu.png"
alt=
""
>
<img
v-
if=
"bzzt == 2"
style=
"width:100%;height:100%;"
src=
"./../assets/img/weibiaozhu.png"
alt=
""
>
<img
v-
else
style=
"width:100%;height:100%;"
src=
"./../assets/img/weibiaozhu.png"
alt=
""
>
</div>
<div
class=
"grid-content bg-purple"
>
<el-card
class=
"box-card samlllCard"
:class=
"topSamllCard"
>
...
...
@@ -201,7 +201,7 @@
class=
"conContioner"
:class=
"topSamllCard"
v-show=
"shrqh"
style=
"
style:
width: 869px;"
style=
"width: 869px;"
v-loading=
"shrLoading"
>
<div>
...
...
@@ -541,8 +541,8 @@
>
<el-button
type=
"warning"
@
click=
"nextStrip"
v-if=
"$route.query.bzzt != 1"
@
click=
"nextStrip"
>
下一条
</el-button
>
</div>
...
...
@@ -575,13 +575,18 @@
v-if=
"isCheck == 'Check' && bzzt == 1 && !bzztFlag"
>
退回
</el-button
>
<el-button
type=
"warning"
@
click=
"nextStrip"
>
下一条
</el-button
>
</div>
</el-card>
</div>
</el-col>
</el-row>
</el-main>
<el-footer
style=
"20px"
></el-footer>
<el-footer></el-footer>
</el-container>
<el-dialog
title=
"标识号新增"
...
...
@@ -932,20 +937,12 @@ export default {
asjbhIndex
:
0
,
};
},
mounted
()
{
// Bus.$on("queryAj", (foemData) => {
// //debugger
// console.log(foemData);
// })
},
created
()
{
this
.
query
();
this
.
getBz
();
this
.
isCheck
=
this
.
$route
.
query
.
isCheck
;
this
.
bzzt
=
this
.
$route
.
query
.
bzzt
;
//debugger;
if
(
this
.
bzzt
==
"1"
)
{
debugger
;
this
.
bzDetail
();
}
this
.
formData
=
JSON
.
parse
(
this
.
$route
.
query
.
form
);
...
...
@@ -954,9 +951,7 @@ export default {
methods
:
{
// 筛选变色
showDate
(
val
,
keyword
)
{
console
.
log
(
val
);
let
_self
=
this
;
console
.
log
(
keyword
);
val
=
val
+
""
;
if
(
val
.
indexOf
(
keyword
)
!==
-
1
&&
keyword
!==
""
)
{
return
val
.
replace
(
...
...
@@ -977,16 +972,12 @@ export default {
});
// this.$set(this.formData, "limit", "1");
// this.$set(this.formData, "page", this.i++);
this
.
$set
(
this
.
formData
,
"bzzt"
,
2
);
// console.log(this.formData, "bzzt", "2");
debugger
;
// this.$set(this.formData, "bzzt", 2);
this
.
ajxzlbDmStr
=
''
this
.
ajzlbDmStr
=
''
this
.
doQuery
(
"yes"
);
},
doQuery
(
flag
)
{
debugger
;
//debugger;
// this.showLoading();
let
self
=
this
,
json
=
{};
...
...
@@ -1014,51 +1005,66 @@ export default {
self
.
doQueryRequest
(
json
)
.
then
((
response
)
=>
{
debugger
if
(
response
.
code
===
200
)
{
debugger
;
console
.
log
(
response
);
if
(
response
.
data
.
rows
.
length
!=
this
.
asjbhIndex
)
{
self
.
asjbh
=
response
.
data
.
rows
[
this
.
asjbhIndex
].
asjbh
;
self
.
$route
.
query
.
asjbh
=
response
.
data
.
rows
[
this
.
asjbhIndex
].
asjbh
;
self
.
getQuery
();
self
.
getQuerys
();
self
.
query
();
self
.
getBz
();
console
.
log
(
"asjbh"
,
this
.
asjbh
);
getZbfzxyrxxList
({
asjbh
:
this
.
asjbh
,
}).
then
((
res
)
=>
{
this
.
xyrList
=
res
.
data
.
rows
;
this
.
xyrLoading
=
false
;
});
getRybhList
({
asjbh
:
this
.
asjbh
,
}).
then
((
res
)
=>
{
this
.
shrListqh
=
res
.
data
.
rows
;
this
.
shrLoading
=
false
;
});
getBarxxList
({
asjbh
:
this
.
asjbh
,
}).
then
((
res
)
=>
{
this
.
barList
=
res
.
data
.
rows
;
this
.
barLoading
=
false
;
});
console
.
log
(
"asjbh"
,
self
.
asjbh
);
debugger
;
self
.
loading
.
close
();
if
(
response
.
data
.
total
==
0
)
{
self
.
$alert
(
"暂无下一条未标注案件!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
callback
:
(
action
)
=>
{
// window.opener.location.reload();
window
.
close
();
},
});
if
(
response
.
data
.
rows
.
length
>
0
){
if
(
response
.
data
.
rows
.
length
!=
self
.
asjbhIndex
)
{
if
(
response
.
data
.
rows
[
self
.
asjbhIndex
].
bzzt
==
'1'
){
self
.
bzDetail
()
}
else
{
self
.
ajbzRrturn
()
}
self
.
asjbh
=
response
.
data
.
rows
[
self
.
asjbhIndex
].
asjbh
;
self
.
$route
.
query
.
asjbh
=
response
.
data
.
rows
[
self
.
asjbhIndex
].
asjbh
;
self
.
getQuery
();
self
.
getQuerys
();
self
.
query
();
self
.
getBz
();
getZbfzxyrxxList
({
asjbh
:
self
.
asjbh
,
}).
then
((
res
)
=>
{
self
.
xyrList
=
res
.
data
.
rows
;
self
.
xyrLoading
=
false
;
});
getRybhList
({
asjbh
:
self
.
asjbh
,
}).
then
((
res
)
=>
{
self
.
shrListqh
=
res
.
data
.
rows
;
self
.
shrLoading
=
false
;
});
getBarxxList
({
asjbh
:
self
.
asjbh
,
}).
then
((
res
)
=>
{
self
.
barList
=
res
.
data
.
rows
;
self
.
barLoading
=
false
;
});
self
.
loading
.
close
();
if
(
response
.
data
.
total
==
0
)
{
self
.
$alert
(
"当前是最后一条案件!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
callback
:
(
action
)
=>
{
// window.opener.location.reload();
window
.
close
();
},
});
}
}
else
{
// self.loadings.close();
// self.$alert("暂无下一条未标注案件!", "提示", {
// confirmButtonText: "确定",
// callback: (action) => {
// // window.opener.location.reload();
// window.close();
// },
// });
self
.
formData
.
page
++
self
.
asjbhIndex
=
0
self
.
doQuery
(
'yes'
)
}
}
else
{
this
.
loadings
.
close
();
self
.
$alert
(
"
暂无下一条未标注
案件!"
,
"提示"
,
{
}
else
{
self
.
loadings
.
close
();
self
.
$alert
(
"
当前是最后一条
案件!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
callback
:
(
action
)
=>
{
// window.opener.location.reload();
...
...
@@ -1066,6 +1072,7 @@ export default {
},
});
}
// getBz()
// response.data.rows.forEach((item) => {
// item.larqafsj = `${item.larq}/${item.asjfssjAsjfskssj}`;
...
...
@@ -1074,7 +1081,6 @@ export default {
// : `${item.ajlbdmMc}`;
// });
// self.tableData = response.data.rows;
// //debugger;
// self.tableDataLength = response.data.total;
// self.tPage = Math.ceil(response.data.total / self.page_size);
// self.closeLoading();
...
...
@@ -1106,7 +1112,6 @@ export default {
});
},
bjBack
()
{
// //debugger;
var
self
=
this
;
self
.
dialogVisible
=
true
;
},
...
...
@@ -1132,7 +1137,6 @@ export default {
window
.
open
(
this
.
xcbhUrl
,
"_blank"
);
},
submitBz
()
{
debugger
;
if
(
this
.
ajxzlbDmStr
)
{
this
.
$confirm
(
`您选择的小案类别为:<b style='color:red'>
${
this
.
ajxzlbDmStr
}
</b></br>
...
...
@@ -1198,7 +1202,6 @@ export default {
if
(
res
.
data
.
rows
!=
null
)
{
self
.
ajzlbStr
=
res
.
data
.
rows
.
ajzlbStr
;
self
.
ajxzlbStr
=
res
.
data
.
rows
.
ajxzlbStr
;
//debugger;
self
.
ajxzlbDm
=
res
.
data
.
rows
.
ajxzlb
;
self
.
ajzlbDm
=
res
.
data
.
rows
.
ajzlb
;
if
(
...
...
@@ -1266,8 +1269,6 @@ export default {
// let i = 0;
let
param
=
[];
self
.
formLabelAlign2
.
forEach
((
item
,
index
)
=>
{
//debugger;
debugger
;
param
.
push
({
zjbh
:
this
.
asjbh
,
gjc
:
self
.
formLabelAlign2
[
index
][
"gjc"
],
...
...
@@ -1286,7 +1287,6 @@ export default {
});
},
addButton
()
{
console
.
log
(
111
);
this
.
formLabelAlign2
.
push
({
gjc
:
""
,
bshxq
:
""
,
...
...
@@ -1310,7 +1310,6 @@ export default {
this
.
centerDialogVisibles1
=
true
;
},
query
()
{
debugger
;
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"拼命加载中..."
,
...
...
@@ -1329,12 +1328,10 @@ export default {
this
.
ajmc
=
res
.
data
.
rows
.
ajmc
;
// this.listBsh = JSON.parse(JSON.stringify(res.data.listBsh));
this
.
listBsh
=
JSON
.
stringify
(
res
.
data
.
listBsh
);
console
.
log
(
"1"
);
this
.
ajlbdm_dm
=
res
.
data
.
rows
.
ajlbdm
;
this
.
getQuery
();
this
.
getQuerys
();
this
.
ajlbdm_str
=
res
.
data
.
rows
.
ajlbdmStr
;
//debugger;
this
.
asjfssjKssjStr
=
res
.
data
.
rows
.
asjfssjKssjStr
;
this
.
asjfsddDzmc
=
res
.
data
.
rows
.
asjfsddDzmc
;
this
.
larqStr
=
res
.
data
.
rows
.
larqStr
;
...
...
@@ -1345,7 +1342,6 @@ export default {
getXckyDetail
({
asjbh
:
this
.
asjbh
,
}).
then
((
res
)
=>
{
debugger
;
if
(
res
.
data
.
rows
)
{
this
.
xcxxStr
=
true
;
}
else
{
...
...
@@ -1365,7 +1361,6 @@ export default {
asjbh
:
this
.
asjbh
,
}).
then
((
res
)
=>
{
this
.
xyrList1
=
res
.
data
.
rows
;
console
.
log
(
this
.
xyrList1
,
"1765111"
);
}),
getGjcList
({
asjbh
:
this
.
asjbh
,
...
...
@@ -1380,7 +1375,6 @@ export default {
getFwbzhList
({
asjbh
:
this
.
asjbh
,
}).
then
((
res
)
=>
{
console
.
log
(
"2"
);
// this.fwbzhList =
// res.data.rows.length == 0 ? JSON.parse(this.listBsh) : res.data.rows;
// this.Bsh = res.data.rows.length == 0 ? "Yes" : "No";
...
...
@@ -1408,7 +1402,6 @@ export default {
ztbs
:
"ASJ"
,
});
});
console
.
log
(
param
);
insertFwbsh
(
JSON
.
stringify
(
param
)).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
debugger
;
...
...
@@ -1458,7 +1451,6 @@ export default {
self
.
$forceUpdate
();
}
}
console
.
log
(
this
.
fwbzhList
);
this
.
shrList
=
res
.
data
.
rows
.
filter
((
item
)
=>
item
.
rylx
==
"01"
);
this
.
xyrList
=
res
.
data
.
rows
.
filter
((
item
)
=>
item
.
rylx
==
"02"
);
//debugger;
...
...
@@ -1475,8 +1467,6 @@ export default {
// self.$forceUpdate();
// }
});
console
.
log
(
"666666666666"
,
self
.
formLabelAlign
);
console
.
log
(
"666666666666"
,
self
.
formLabelAlign
[
0
]);
},
async
handSumit
()
{
var
self
=
this
;
...
...
@@ -1569,8 +1559,12 @@ export default {
});
self
.
$nextTick
(()
=>
{
//debugger;
self
.
$refs
.
tree
.
setCurrentKey
(
self
.
ajxzlbDm
);
self
.
$refs
.
tree1
.
setCurrentKey
(
self
.
ajzlbDm
);
if
(
self
.
$refs
.
tree
){
self
.
$refs
.
tree
.
setCurrentKey
(
self
.
ajxzlbDm
);
}
if
(
self
.
$refs
.
tree1
){
self
.
$refs
.
tree1
.
setCurrentKey
(
self
.
ajzlbDm
);
}
});
})
.
catch
((
err
)
=>
{
...
...
@@ -1594,7 +1588,6 @@ export default {
}
},
hanldRytab
(
val
)
{
console
.
log
(
val
);
this
.
selectIndex2
=
val
;
if
(
val
==
1
)
{
this
.
ryqh
=
true
;
...
...
@@ -1674,7 +1667,7 @@ export default {
});
let
obj
=
null
;
let
newData
=
this
.
sxdata1
.
filter
((
val
)
=>
{
if
(
val
.
children
.
length
>
0
)
{
if
(
val
.
children
&&
val
.
children
.
length
>
0
)
{
val
.
children
.
filter
((
item
)
=>
{
if
(
item
.
id
==
parentId
)
obj
=
item
;
});
...
...
@@ -1683,9 +1676,7 @@ export default {
}
return
obj
;
});
//debugger;
this
.
data1
=
newData
;
console
.
log
(
this
.
data1
);
},
topAmplifier
()
{
this
.
Amplifier
=
!
this
.
Amplifier
;
...
...
@@ -1694,7 +1685,6 @@ export default {
aqgjcAmplifier
()
{
this
.
aqgjc
=
!
this
.
aqgjc
;
this
.
aqgjcamplifier
.
aqgjcamplifier
=
!
this
.
aqgjcamplifier
.
aqgjcamplifier
;
console
.
log
(
this
.
aqgjcamplifier
);
},
hanldDel
()
{
// this.centerDialogVisible = true
...
...
@@ -1750,6 +1740,16 @@ export default {
},
mounted
()
{
let
self
=
this
;
let
param
=
new
FormData
()
for
(
let
key
in
self
.
formData
){
param
.
append
(
key
,
self
.
formData
[
key
])
}
axios
.
post
(
'/api/newAsjbz/getAsjbhArrayList'
,
param
,{
headers
:{
'content-Type'
:
'multipart/form-data'
}
}).
then
(
res
=>
{
})
axios
.
get
(
`JsonData/CODE_BLHLX.json`
)
.
then
((
res
)
=>
{
...
...
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