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
1dca9338
Commit
1dca9338
authored
Sep 04, 2023
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人像跳转修改、布控模型字段新增
parent
844701fb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
11 deletions
+64
-11
src/views/hbyprw/queryHcypgzt.vue
+2
-1
src/views/index/ddLogin.vue
+1
-0
src/views/xshb/xsbk/addBkmx.vue
+33
-8
src/views/xshb/xsbk/detailBkmx.vue
+15
-1
src/views/xshb/xsbk/xsbkMxgl.vue
+13
-1
No files found.
src/views/hbyprw/queryHcypgzt.vue
View file @
1dca9338
...
...
@@ -110,11 +110,12 @@ export default {
key
.
trim
(),
vi
.
trim
()
);
let
rxtoken
=
sessionStorage
.
getItem
(
"rxtoken"
)
let
path
=
""
;
if
(
item
.
id
==
"hdfx"
||
item
.
id
==
"zjlfx"
)
{
path
=
`
${
item
.
url
}
?token=
${
accessToken
}
&path=
${
item
.
path
}
`
;
}
else
if
(
item
.
id
==
"rxbd"
)
{
path
=
`
${
item
.
url
}
/#/jump?token=
${
accessT
oken
}
&path=
${
item
.
path
}
`
;
path
=
`
${
item
.
url
}
/#/jump?token=
${
rxt
oken
}
&path=
${
item
.
path
}
`
;
}
else
if
(
item
.
id
==
"gps"
)
{
path
=
`
${
item
.
url
}${
skjm
}
`
;
}
else
if
(
item
.
id
==
"skdsj"
)
{
...
...
src/views/index/ddLogin.vue
View file @
1dca9338
...
...
@@ -34,6 +34,7 @@ export default {
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
sessionStorage
.
setItem
(
"token"
,
"bearer "
+
res
.
data
.
accessToken
);
sessionStorage
.
setItem
(
"rxtoken"
,
"bearer "
+
self
.
$route
.
query
.
token
);
sessionStorage
.
setItem
(
"userInfo"
,
JSON
.
stringify
(
res
.
data
));
const
roles
=
res
.
data
.
permission
.
split
(
","
);
this
.
$store
.
commit
(
"user/SET_ROLES"
,
roles
);
...
...
src/views/xshb/xsbk/addBkmx.vue
View file @
1dca9338
...
...
@@ -58,7 +58,7 @@ export default {
col
:
"18"
,
},
{
name
:
"
适用范围
:"
,
name
:
"
预警对象
:"
,
id
:
"bkmxSyfw"
,
type
:
"codeTree"
,
codeTree
:
"CODE_BKLXDM"
,
...
...
@@ -70,6 +70,34 @@ export default {
multiple
:
true
,
},
{
name
:
"预警周期:"
,
id
:
"jczq"
,
type
:
"textFz"
,
prop
:
"number"
,
value
:
""
,
placeholder
:
"请输入时间"
,
col
:
"2"
,
},
{
prop
:
"checkEmpty"
,
name
:
"预警方式:"
,
id
:
"yjfs"
,
type
:
"setValue"
,
codeTree
:
""
,
codeOptions
:
[{
label
:
"自动预警"
,
value
:
"01"
}],
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"预警处置要求:"
,
id
:
"yjczyq"
,
type
:
"textarea"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"18"
,
},
{
name
:
"基本模型名称:"
,
id
:
"bkmxMxCode"
,
type
:
"codeTree"
,
...
...
@@ -93,11 +121,9 @@ export default {
},
methods
:
{
getDialogSeletedNl
(
label
)
{
this
.
bkmxSyfwList
=
label
;
},
getDialogSeletedxxx
(
label
)
{
this
.
bkmxMxTxtList
=
label
;
},
// getDialogSeleted(label, item) {
...
...
@@ -191,7 +217,6 @@ export default {
one
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
res
.
data
.
bkmx
.
bkmxMxCode
=
res
.
data
.
bkmx
.
bkmxMxCode
.
split
(
","
);
res
.
data
.
bkmx
.
bkmxSyfw
=
res
.
data
.
bkmx
.
bkmxSyfw
.
split
(
","
);
self
.
bkmxSyfwList
=
res
.
data
.
bkmx
.
bkmxSyfwTxt
;
...
...
@@ -279,9 +304,9 @@ export default {
"formLabelAlign.bkmxSyfw"
:
{
handler
(
newVal
,
oldVal
)
{
let
self
=
this
;
let
isEqualN
=
JSON
.
stringify
(
newVal
)
===
JSON
.
stringify
(
oldVal
);
if
(
!
isEqualN
&&
oldVal
.
length
>
0
)
{
self
.
$set
(
self
.
formLabelAlign
,
'bkmxMxCode'
,
[])
let
isEqualN
=
JSON
.
stringify
(
newVal
)
===
JSON
.
stringify
(
oldVal
);
if
(
!
isEqualN
&&
oldVal
.
length
>
0
)
{
self
.
$set
(
self
.
formLabelAlign
,
"bkmxMxCode"
,
[]);
}
if
(
newVal
.
length
>
1
)
{
let
getZzArray
=
[];
...
...
@@ -305,7 +330,7 @@ export default {
// output.push(...arr);
// }
// });
// let obj = {};
// let peon = output.reduce((cur, next) => {
// obj[next.id] ? "" : (obj[next.id] = true && cur.push(next));
...
...
src/views/xshb/xsbk/detailBkmx.vue
View file @
1dca9338
...
...
@@ -60,7 +60,21 @@ export default {
prop
:
"bkmxSyfwTxt"
,
col
:
"3"
,
},
{
label
:
"监测周期(分):"
,
prop
:
"jczq"
,
col
:
"3"
,
},
{
label
:
"预警方式:"
,
prop
:
"yjfsStr"
,
col
:
"3"
,
},
{
label
:
"预警处置要求:"
,
prop
:
"yjczyq"
,
col
:
"10"
,
},
],
},
],
...
...
src/views/xshb/xsbk/xsbkMxgl.vue
View file @
1dca9338
...
...
@@ -94,7 +94,19 @@ export default {
prop
:
"bkmxMxTxt"
,
},
{
label
:
"适用范围"
,
label
:
"监测周期(分)"
,
prop
:
"jczq"
,
},
{
label
:
"预警方式"
,
prop
:
"yjfsStr"
,
},
{
label
:
"预警处置要求"
,
prop
:
"yjczyq"
,
},
{
label
:
"预警对象"
,
prop
:
"bkmxSyfwTxt"
,
},
],
...
...
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