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
e9872640
Commit
e9872640
authored
Jan 11, 2022
by
lp784568205
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了内蒙标注和海南标注
parent
c8afe2df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
152 additions
and
144 deletions
+152
-144
src/views/hainanBZ/ajbzDetailHN.vue
+76
-72
src/views/neimengBZ/ajbzDetailNM.vue
+76
-72
No files found.
src/views/hainanBZ/ajbzDetailHN.vue
View file @
e9872640
...
@@ -911,7 +911,6 @@ export default {
...
@@ -911,7 +911,6 @@ export default {
// value: "zfb",
// value: "zfb",
// label: "支付宝账号",
// label: "支付宝账号",
// },
// },
// {
// {
// value: "carid",
// value: "carid",
// label: "车牌号",
// label: "车牌号",
...
@@ -981,10 +980,10 @@ export default {
...
@@ -981,10 +980,10 @@ export default {
this
.
isCheck
=
this
.
$route
.
query
.
isCheck
;
this
.
isCheck
=
this
.
$route
.
query
.
isCheck
;
this
.
bzzt
=
this
.
$route
.
query
.
bzzt
;
this
.
bzzt
=
this
.
$route
.
query
.
bzzt
;
axios
.
get
(
`JsonData/CODE_BLHLX.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_BLHLX.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
options
=
response
.
data
.
rows
;
this
.
options
=
response
.
data
.
rows
;
}
}
});
});
},
},
methods
:
{
methods
:
{
initAjlbTree
()
{
initAjlbTree
()
{
...
@@ -1001,6 +1000,14 @@ export default {
...
@@ -1001,6 +1000,14 @@ export default {
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
return
val
.
parentId
==
`
${
this
.
ajzlb
}
0000`
;
return
val
.
parentId
==
`
${
this
.
ajzlb
}
0000`
;
});
});
function
compare
(
id
)
{
return
function
(
a
,
b
)
{
var
value1
=
a
[
id
];
var
value2
=
b
[
id
];
return
value1
-
value2
;
};
}
this
.
laData
.
sort
(
compare
(
"id"
));
this
.
parentLb
.
id
=
this
.
ajxzlb
;
this
.
parentLb
.
id
=
this
.
ajxzlb
;
}
}
});
});
...
@@ -1112,6 +1119,7 @@ export default {
...
@@ -1112,6 +1119,7 @@ export default {
type
:
"success"
,
type
:
"success"
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
window
.
opener
.
location
.
reload
();
window
.
close
();
window
.
close
();
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
@@ -1187,13 +1195,17 @@ export default {
...
@@ -1187,13 +1195,17 @@ export default {
array
[
1
];
array
[
1
];
},
},
shrHighlight
(
val
)
{
shrHighlight
(
val
)
{
var
array
=
this
.
jyaq
.
split
(
val
);
if
(
this
.
jyaq
.
indexOf
(
val
)
>=
0
)
{
this
.
jyaq
=
var
array
=
this
.
jyaq
.
split
(
val
);
array
[
0
]
+
this
.
jyaq
=
"<span style='background: orange;'>"
+
array
[
0
]
+
val
+
"<span style='background: orange;'>"
+
"</span>"
+
val
+
array
[
1
];
"</span>"
+
array
[
1
];
}
else
{
this
.
$message
(
'简要情况中无该标识号信息'
)
}
},
},
ajbzRrturn
()
{
ajbzRrturn
()
{
//this.getBz();
//this.getBz();
...
@@ -1424,17 +1436,17 @@ export default {
...
@@ -1424,17 +1436,17 @@ export default {
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
return
val
.
parentId
!=
""
;
return
val
.
parentId
==
`
${
this
.
ajzlb
}
0000`
;
});
});
}
}
});
});
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
if
(
val
.
id
.
indexOf
(
this
.
ajzlb
,
0
)
==
0
)
{
if
(
val
.
id
.
indexOf
(
this
.
ajzlb
,
0
)
==
0
)
{
return
val
;
return
val
;
}
}
});
;
});
}
}
});
});
},
},
...
@@ -1521,40 +1533,40 @@ export default {
...
@@ -1521,40 +1533,40 @@ export default {
// }
// }
},
},
zaHandleNodeClick
(
res
)
{
//
zaHandleNodeClick(res) {
this
.
laData
=
[];
//
this.laData = [];
this
.
xaData
=
[];
//
this.xaData = [];
this
.
parentLb
.
id
=
""
;
//
this.parentLb.id = "";
this
.
parentLb
.
childId
=
""
;
//
this.parentLb.childId = "";
this
.
parentLb
.
parentId
=
res
.
id
;
//
this.parentLb.parentId = res.id;
// queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
//
// queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
//
// if (res.rows != null && res.rows.length > 0) {
// this.zaData = res.rows;
//
// this.zaData = res.rows;
// }
//
// }
// }).catch((err) => {
//
// }).catch((err) => {
// console.log(err);
//
// console.log(err);
// this.$message.error("数据加载失败");
//
// this.$message.error("数据加载失败");
// });
//
// });
axios
.
get
(
`JsonData/CODE_AJLB.json`
).
then
((
response
)
=>
{
//
axios.get(`JsonData/CODE_AJLB.json`).then((response) => {
if
(
response
.
success
===
true
)
{
//
if (response.success === true) {
this
.
zaData
=
response
.
data
.
rows
;
//
this.zaData = response.data.rows;
}
//
}
});
//
});
let
ajxzId
=
res
.
id
+
"0000"
;
//
let ajxzId = res.id + "0000";
// queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
//
// queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
//
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
//
// this.laData = res.rows;
// }
//
// }
// }).catch((err) => {
//
// }).catch((err) => {
// console.log(err);
//
// console.log(err);
// this.$message.error("数据加载失败");
//
// this.$message.error("数据加载失败");
// });
//
// });
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
//
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if
(
response
.
success
===
true
)
{
//
if (response.success === true) {
this
.
laData
=
response
.
data
.
rows
;
//
this.laData = response.data.rows;
}
//
}
});
//
});
},
//
},
xaHandleNodeClick
(
data
)
{
xaHandleNodeClick
(
data
)
{
this
.
parentLb
.
childId
=
data
.
id
;
this
.
parentLb
.
childId
=
data
.
id
;
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
...
@@ -1572,28 +1584,20 @@ export default {
...
@@ -1572,28 +1584,20 @@ export default {
this
.
xaData
=
[];
this
.
xaData
=
[];
this
.
parentLb
.
childId
=
""
;
this
.
parentLb
.
childId
=
""
;
this
.
parentLb
.
id
=
res
.
id
;
this
.
parentLb
.
id
=
res
.
id
;
// queryCodeByType({type: 'CODE_AJXZ', id: res.id}).then((res) => {
var
laDataData
=
[];
// if (res.rows != null && res.rows.length > 0)
{
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
// this.laData = res.rows;
if
(
response
.
success
===
true
)
{
// }
response
.
data
.
rows
.
map
((
item
)
=>
{
// }).catch((err) =>
{
if
(
item
.
parentId
==
res
.
id
)
{
// console.log(err
);
laDataData
.
push
(
item
);
// this.$message.error("数据加载失败");
}
//
});
});
// axios.get(`JsonData/CODE_AJXZ.json`).then((response) =>
{
if
(
laDataData
.
length
>
0
)
{
// if (response.success === true) {
this
.
laData
=
laDataData
;
// this.laData = response.data.rows;
}
//
}
}
//
});
});
// queryCodeByType({type: 'CODE_AJXLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.xaData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
...
...
src/views/neimengBZ/ajbzDetailNM.vue
View file @
e9872640
...
@@ -911,7 +911,6 @@ export default {
...
@@ -911,7 +911,6 @@ export default {
// value: "zfb",
// value: "zfb",
// label: "支付宝账号",
// label: "支付宝账号",
// },
// },
// {
// {
// value: "carid",
// value: "carid",
// label: "车牌号",
// label: "车牌号",
...
@@ -981,10 +980,10 @@ export default {
...
@@ -981,10 +980,10 @@ export default {
this
.
isCheck
=
this
.
$route
.
query
.
isCheck
;
this
.
isCheck
=
this
.
$route
.
query
.
isCheck
;
this
.
bzzt
=
this
.
$route
.
query
.
bzzt
;
this
.
bzzt
=
this
.
$route
.
query
.
bzzt
;
axios
.
get
(
`JsonData/CODE_BLHLX.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_BLHLX.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
options
=
response
.
data
.
rows
;
this
.
options
=
response
.
data
.
rows
;
}
}
});
});
},
},
methods
:
{
methods
:
{
initAjlbTree
()
{
initAjlbTree
()
{
...
@@ -1001,6 +1000,14 @@ export default {
...
@@ -1001,6 +1000,14 @@ export default {
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
return
val
.
parentId
==
`
${
this
.
ajzlb
}
0000`
;
return
val
.
parentId
==
`
${
this
.
ajzlb
}
0000`
;
});
});
function
compare
(
id
)
{
return
function
(
a
,
b
)
{
var
value1
=
a
[
id
];
var
value2
=
b
[
id
];
return
value1
-
value2
;
};
}
this
.
laData
.
sort
(
compare
(
"id"
));
this
.
parentLb
.
id
=
this
.
ajxzlb
;
this
.
parentLb
.
id
=
this
.
ajxzlb
;
}
}
});
});
...
@@ -1112,6 +1119,7 @@ export default {
...
@@ -1112,6 +1119,7 @@ export default {
type
:
"success"
,
type
:
"success"
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
window
.
opener
.
location
.
reload
();
window
.
close
();
window
.
close
();
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
...
@@ -1187,13 +1195,17 @@ export default {
...
@@ -1187,13 +1195,17 @@ export default {
array
[
1
];
array
[
1
];
},
},
shrHighlight
(
val
)
{
shrHighlight
(
val
)
{
var
array
=
this
.
jyaq
.
split
(
val
);
if
(
this
.
jyaq
.
indexOf
(
val
)
>=
0
)
{
this
.
jyaq
=
var
array
=
this
.
jyaq
.
split
(
val
);
array
[
0
]
+
this
.
jyaq
=
"<span style='background: orange;'>"
+
array
[
0
]
+
val
+
"<span style='background: orange;'>"
+
"</span>"
+
val
+
array
[
1
];
"</span>"
+
array
[
1
];
}
else
{
this
.
$message
(
'简要情况中无该标识号信息'
)
}
},
},
ajbzRrturn
()
{
ajbzRrturn
()
{
//this.getBz();
//this.getBz();
...
@@ -1424,17 +1436,17 @@ export default {
...
@@ -1424,17 +1436,17 @@ export default {
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
laData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
return
val
.
parentId
!=
""
;
return
val
.
parentId
==
`
${
this
.
ajzlb
}
0000`
;
});
});
}
}
});
});
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
if
(
val
.
id
.
indexOf
(
this
.
ajzlb
,
0
)
==
0
)
{
if
(
val
.
id
.
indexOf
(
this
.
ajzlb
,
0
)
==
0
)
{
return
val
;
return
val
;
}
}
});
;
});
}
}
});
});
},
},
...
@@ -1521,40 +1533,40 @@ export default {
...
@@ -1521,40 +1533,40 @@ export default {
// }
// }
},
},
zaHandleNodeClick
(
res
)
{
//
zaHandleNodeClick(res) {
this
.
laData
=
[];
//
this.laData = [];
this
.
xaData
=
[];
//
this.xaData = [];
this
.
parentLb
.
id
=
""
;
//
this.parentLb.id = "";
this
.
parentLb
.
childId
=
""
;
//
this.parentLb.childId = "";
this
.
parentLb
.
parentId
=
res
.
id
;
//
this.parentLb.parentId = res.id;
// queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
//
// queryCodeByType({type: 'CODE_AJLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
//
// if (res.rows != null && res.rows.length > 0) {
// this.zaData = res.rows;
//
// this.zaData = res.rows;
// }
//
// }
// }).catch((err) => {
//
// }).catch((err) => {
// console.log(err);
//
// console.log(err);
// this.$message.error("数据加载失败");
//
// this.$message.error("数据加载失败");
// });
//
// });
axios
.
get
(
`JsonData/CODE_AJLB.json`
).
then
((
response
)
=>
{
//
axios.get(`JsonData/CODE_AJLB.json`).then((response) => {
if
(
response
.
success
===
true
)
{
//
if (response.success === true) {
this
.
zaData
=
response
.
data
.
rows
;
//
this.zaData = response.data.rows;
}
//
}
});
//
});
let
ajxzId
=
res
.
id
+
"0000"
;
//
let ajxzId = res.id + "0000";
// queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
//
// queryCodeByType({type: 'CODE_AJXZ', id: ajxzId}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
//
// if (res.rows != null && res.rows.length > 0) {
// this.laData = res.rows;
//
// this.laData = res.rows;
// }
//
// }
// }).catch((err) => {
//
// }).catch((err) => {
// console.log(err);
//
// console.log(err);
// this.$message.error("数据加载失败");
//
// this.$message.error("数据加载失败");
// });
//
// });
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
//
axios.get(`JsonData/CODE_AJXZ.json`).then((response) => {
if
(
response
.
success
===
true
)
{
//
if (response.success === true) {
this
.
laData
=
response
.
data
.
rows
;
//
this.laData = response.data.rows;
}
//
}
});
//
});
},
//
},
xaHandleNodeClick
(
data
)
{
xaHandleNodeClick
(
data
)
{
this
.
parentLb
.
childId
=
data
.
id
;
this
.
parentLb
.
childId
=
data
.
id
;
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
...
@@ -1572,28 +1584,20 @@ export default {
...
@@ -1572,28 +1584,20 @@ export default {
this
.
xaData
=
[];
this
.
xaData
=
[];
this
.
parentLb
.
childId
=
""
;
this
.
parentLb
.
childId
=
""
;
this
.
parentLb
.
id
=
res
.
id
;
this
.
parentLb
.
id
=
res
.
id
;
// queryCodeByType({type: 'CODE_AJXZ', id: res.id}).then((res) => {
var
laDataData
=
[];
// if (res.rows != null && res.rows.length > 0)
{
axios
.
get
(
`JsonData/CODE_AJXZ.json`
).
then
((
response
)
=>
{
// this.laData = res.rows;
if
(
response
.
success
===
true
)
{
// }
response
.
data
.
rows
.
map
((
item
)
=>
{
// }).catch((err) =>
{
if
(
item
.
parentId
==
res
.
id
)
{
// console.log(err
);
laDataData
.
push
(
item
);
// this.$message.error("数据加载失败");
}
//
});
});
// axios.get(`JsonData/CODE_AJXZ.json`).then((response) =>
{
if
(
laDataData
.
length
>
0
)
{
// if (response.success === true) {
this
.
laData
=
laDataData
;
// this.laData = response.data.rows;
}
//
}
}
//
});
});
// queryCodeByType({type: 'CODE_AJXLB', id: res.id}).then((res) => {
// if (res.rows != null && res.rows.length > 0) {
// this.xaData = res.rows;
// }
// }).catch((err) => {
// console.log(err);
// this.$message.error("数据加载失败");
// });
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
axios
.
get
(
`JsonData/CODE_AJXLB.json`
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
if
(
response
.
success
===
true
)
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
this
.
xaData
=
response
.
data
.
rows
.
filter
((
val
)
=>
{
...
...
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