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
63eccdcb
Commit
63eccdcb
authored
Mar 16, 2022
by
zhangzhijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内蒙定制化开发,立案单位搜索条件变更为登记单位,根据用户等级获取用户unitcode
parent
84336e26
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
14 deletions
+33
-14
src/components/ptCxForm_components.vue
+19
-10
src/views/neimengBZ/checkAjbzInfo.vue
+7
-2
src/views/neimengBZ/queryAjNM.vue
+7
-2
No files found.
src/components/ptCxForm_components.vue
View file @
63eccdcb
...
...
@@ -554,7 +554,6 @@ export default {
for
(
let
i
=
0
;
i
<
unitList
.
length
;
i
++
)
{
if
(
unitList
[
i
].
id
.
indexOf
(
unitcode
)
==
0
)
{
arr
.
push
(
unitList
[
i
]);
break
;
}
}
if
(
arr
.
length
==
0
)
{
...
...
@@ -959,18 +958,28 @@ export default {
}
}
);
let unitcode = JSON.parse(sessionStorage.getItem("userInfo")).unitcode;
let grade = JSON.parse(sessionStorage.getItem("userInfo")).grade;
if (this.pageBs == "queryAjNM" || this.pageBs == "checkAjbzInfo") {
if (
unitcode.substring(2) == '0000000000'
) {
if (
"T" == grade || "S" == grade
) {
unitcode = unitcode.substring(0, 2);
}
else if (unitcode.substring(4, 6) == "00") {
unitcode = unitcode.substring(0, 4)
}
else if (unitcode.substring(6) == "000000") {
unitcode = unitcode.substring(0, 6)
}
else if (unitcode.substring(8) == "0000") {
unitcode = unitcode.substring(0, 8)
}
else if (unitcode.substring(10) == "00") {
unitcode = unitcode.substring(0, 10)
}
else if ("D" == grade) {
unitcode = unitcode.substring(0, 4);
}
else if ("X" == grade) {
unitcode = unitcode.substring(0, 6);
}
else if ("K" == grade) {
unitcode = unitcode.substring(0, 8);
}
/* if (unitcode.substring(2) == '0000000000') {
unitcode = unitcode.substring(0, 2);
}
else if (unitcode.substring(4, 6) == "00") {
unitcode = unitcode.substring(0, 4)
}
else if (unitcode.substring(6) == "000000") {
unitcode = unitcode.substring(0, 6)
}
else if (unitcode.substring(8) == "0000") {
unitcode = unitcode.substring(0, 8)
}
else if (unitcode.substring(10) == "00") {
unitcode = unitcode.substring(0, 10)
}
*/
}
if (this.pageBs == "queryAjNM" || this.pageBs == "checkAjbzInfo") {
axios.get(`
JsonData
/
CODE_UNITNM
.
json
`).then((res) => {
...
...
src/views/neimengBZ/checkAjbzInfo.vue
View file @
63eccdcb
...
...
@@ -75,8 +75,8 @@ export default {
// codeTree: 'CODE_AJLB'
// },
{
name
:
"
立案
单位"
,
id
:
"
Ladw_gajgjgdms
"
,
name
:
"
信息登记
单位"
,
id
:
"
xxdjdwGajgjgdm
"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
...
...
@@ -256,6 +256,11 @@ export default {
width
:
"100"
,
},
{
label
:
"信息登记单位名称"
,
prop
:
"xxdjDwGajgjgMc"
,
width
:
"300"
,
},
{
label
:
"立案单位名称"
,
prop
:
"ladwGajgjgdmMc"
,
width
:
"300"
,
...
...
src/views/neimengBZ/queryAjNM.vue
View file @
63eccdcb
...
...
@@ -73,8 +73,8 @@ export default {
// codeTree: 'CODE_AJLB'
// },
{
name
:
"
立案
单位"
,
id
:
"
Ladw_gajgjgdms
"
,
name
:
"
信息登记
单位"
,
id
:
"
xxdjdwGajgjgdm
"
,
type
:
"codeTreeDialog"
,
props
:
[],
//字典弹框需要的字段
value
:
""
,
...
...
@@ -249,6 +249,11 @@ export default {
width
:
"100"
,
},
{
label
:
"信息登记单位名称"
,
prop
:
"xxdjDwGajgjgMc"
,
width
:
"300"
,
},
{
label
:
"立案单位名称"
,
prop
:
"ladwGajgjgdmMc"
,
width
:
"300"
,
...
...
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