Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
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
徐俊
yn-science-front
Commits
51d31a58
Commit
51d31a58
authored
Jul 23, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
d7879617
Hide whitespace changes
Inline
Side-by-side
Showing
60 changed files
with
134 additions
and
134 deletions
+134
-134
LayoutHeader.vue
src/components/layout/LayoutHeader.vue
+8
-8
LayoutSide.vue
src/components/layout/LayoutSide.vue
+3
-3
main.js
src/main.js
+2
-2
index.js
src/router/index.js
+3
-3
app.js
src/store/modules/app.js
+4
-4
assignDetail.vue
src/views/assign/components/assignDetail.vue
+2
-2
expertSelect.vue
src/views/assign/components/expertSelect.vue
+1
-1
groupExpertSelect.vue
src/views/assign/components/groupExpertSelect.vue
+1
-1
projectAssignDetail.vue
src/views/assign/components/projectAssignDetail.vue
+1
-1
index.vue
src/views/audit/conclusion/index.vue
+2
-2
Index.vue
src/views/audit/project/Index.vue
+3
-3
audit.vue
src/views/audit/project/audit.vue
+3
-3
final.vue
src/views/audit/project/final.vue
+3
-3
finalJudgment.vue
src/views/audit/project/finalJudgment.vue
+1
-1
Index.vue
src/views/audit/task/Index.vue
+1
-1
index.vue
src/views/audit/thesis/index.vue
+2
-2
baseSelect.vue
src/views/components/common/baseSelect.vue
+1
-1
index.vue
src/views/conclusion/index.vue
+2
-2
projectView.vue
src/views/evaluation/components/projectView.vue
+3
-3
score.vue
src/views/evaluation/components/score.vue
+1
-1
evaluation.vue
src/views/evaluation/evaluation.vue
+1
-1
index.vue
src/views/evaluation/index.vue
+4
-4
query.vue
src/views/evaluation/query.vue
+1
-1
evaluationStatistic.vue
src/views/expert/evaluationStatistic.vue
+2
-2
cardCount.vue
src/views/home/components/cardCount.vue
+4
-4
cardTopCount.vue
src/views/home/components/cardTopCount.vue
+9
-9
dashboardGov.vue
src/views/home/components/dashboardGov.vue
+6
-6
dashboardTop.vue
src/views/home/components/dashboardTop.vue
+6
-6
dashboardUnit.vue
src/views/home/components/dashboardUnit.vue
+4
-4
index.vue
src/views/manager/project/index.vue
+1
-1
evaluationStatistic.vue
src/views/peAssign/components/evaluationStatistic.vue
+1
-1
groupEdit.vue
src/views/peAssign/components/groupEdit.vue
+1
-1
knowledgeSelect.vue
src/views/peAssign/components/knowledgeSelect.vue
+2
-2
projectSelect.vue
src/views/peAssign/components/projectSelect.vue
+1
-1
projectSelectIntoGroup.vue
src/views/peAssign/components/projectSelectIntoGroup.vue
+2
-2
projectStatistic.vue
src/views/peAssign/components/projectStatistic.vue
+2
-2
index.vue
src/views/peAssign/index.vue
+2
-2
projAssign.vue
src/views/peAssign/projAssign.vue
+2
-2
projKeyAssign.vue
src/views/peAssign/projKeyAssign.vue
+2
-2
projKnowledgeAssign.vue
src/views/peAssign/projKnowledgeAssign.vue
+2
-2
Index.vue
src/views/query/project/Index.vue
+1
-1
Index.vue
src/views/query/task/Index.vue
+1
-1
Index.vue
src/views/report/project/Index.vue
+3
-3
projectEdit.vue
...iews/report/project/components/keyProject/projectEdit.vue
+1
-1
projectCreate.vue
src/views/report/project/components/projectCreate.vue
+1
-1
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+2
-2
projectView.vue
src/views/report/project/components/projectView.vue
+3
-3
taskView.vue
src/views/report/project/components/taskView.vue
+1
-1
Index.vue
src/views/report/task/Index.vue
+1
-1
taskView.vue
src/views/report/task/components/taskView.vue
+1
-1
Index.vue
src/views/statistic/project/Index.vue
+1
-1
index.vue
src/views/system/set/index.vue
+4
-4
index.vue
src/views/systemType/index.vue
+1
-1
index.vue
src/views/thesis/index.vue
+1
-1
Index.vue
src/views/timeSet/batch/Index.vue
+1
-1
batchEdit.vue
src/views/timeSet/batch/components/batchEdit.vue
+2
-2
talentBatchEdit.vue
src/views/timeSet/batch/components/talentBatchEdit.vue
+2
-2
Index.vue
src/views/timeSet/taskTimeSet/Index.vue
+1
-1
timeEdit.vue
src/views/timeSet/taskTimeSet/components/timeEdit.vue
+2
-2
auth.js
src/views/utils/auth.js
+2
-2
No files found.
src/components/layout/LayoutHeader.vue
View file @
51d31a58
...
@@ -136,16 +136,16 @@ export default {
...
@@ -136,16 +136,16 @@ export default {
},
},
created
()
{
created
()
{
this
.
userInfo
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
))
this
.
userInfo
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
))
if
(
this
.
userInfo
.
proj
Type
&&
this
.
userInfo
.
type
===
'3'
)
{
if
(
this
.
userInfo
.
system
Type
&&
this
.
userInfo
.
type
===
'3'
)
{
this
.
isKeyPoint
=
(
this
.
userInfo
.
proj
Type
==
'2'
?
true
:
false
)
this
.
isKeyPoint
=
(
this
.
userInfo
.
system
Type
==
'2'
?
true
:
false
)
this
.
systemTitle
=
process
.
env
.
VUE_APP_SYSTEM_TITLE
this
.
systemTitle
=
process
.
env
.
VUE_APP_SYSTEM_TITLE
}
else
}
else
this
.
systemTitle
=
process
.
env
.
VUE_APP_SYSTEM_TITLE
this
.
systemTitle
=
process
.
env
.
VUE_APP_SYSTEM_TITLE
},
},
computed
:
{
computed
:
{
proj
Type
:
{
system
Type
:
{
get
()
{
get
()
{
return
this
.
$store
.
state
.
app
.
proj
Type
return
this
.
$store
.
state
.
app
.
system
Type
},
},
set
()
{
set
()
{
}
}
...
@@ -171,14 +171,14 @@ export default {
...
@@ -171,14 +171,14 @@ export default {
toUpdatePwd
()
{
toUpdatePwd
()
{
this
.
visibleEdit
=
true
this
.
visibleEdit
=
true
},
},
switchType
(
proj
Type
)
{
switchType
(
system
Type
)
{
if
(
this
.
$store
.
state
.
app
.
projType
!=
proj
Type
)
{
if
(
this
.
$store
.
state
.
app
.
systemType
!=
system
Type
)
{
this
.
$change
ProjType
(
proj
Type
)
this
.
$change
SystemType
(
system
Type
)
}
}
}
}
},
},
watch
:
{
watch
:
{
proj
Type
:
{
system
Type
:
{
handler
(
value
)
{
handler
(
value
)
{
if
(
value
)
{
if
(
value
)
{
this
.
isKeyPoint
=
(
value
==
'2'
?
true
:
false
)
this
.
isKeyPoint
=
(
value
==
'2'
?
true
:
false
)
...
...
src/components/layout/LayoutSide.vue
View file @
51d31a58
...
@@ -42,9 +42,9 @@ export default {
...
@@ -42,9 +42,9 @@ export default {
set
()
{
set
()
{
}
}
},
},
proj
Type
:
{
system
Type
:
{
get
()
{
get
()
{
return
this
.
$store
.
state
.
app
.
proj
Type
return
this
.
$store
.
state
.
app
.
system
Type
},
},
set
()
{
set
()
{
}
}
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
},
},
},
},
watch
:
{
watch
:
{
proj
Type
:
{
system
Type
:
{
handler
(
value
)
{
handler
(
value
)
{
if
(
value
)
{
if
(
value
)
{
this
.
menuList
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'menuList'
))
this
.
menuList
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'menuList'
))
...
...
src/main.js
View file @
51d31a58
// @ts-nocheck
// @ts-nocheck
import
Vue
from
'vue'
import
Vue
from
'vue'
import
App
from
'./App.vue'
import
App
from
'./App.vue'
import
router
,
{
change
Proj
Type
}
from
'./router'
import
router
,
{
change
System
Type
}
from
'./router'
import
store
from
'./store'
import
store
from
'./store'
// import 'ant-design-vue/dist/antd.less'
// import 'ant-design-vue/dist/antd.less'
import
'../static/css/antd.css'
import
'../static/css/antd.css'
...
@@ -34,7 +34,7 @@ Vue.prototype.$ToDoExcel = ToDoExcel;
...
@@ -34,7 +34,7 @@ Vue.prototype.$ToDoExcel = ToDoExcel;
// 系统配置
// 系统配置
// 云南省卫生健康科技项目管理系统
// 云南省卫生健康科技项目管理系统
Vue
.
prototype
.
$defaultLength
=
5
Vue
.
prototype
.
$defaultLength
=
5
Vue
.
prototype
.
$change
ProjType
=
changeProj
Type
Vue
.
prototype
.
$change
SystemType
=
changeSystem
Type
// 定义全局时间戳过滤器
// 定义全局时间戳过滤器
...
...
src/router/index.js
View file @
51d31a58
...
@@ -309,12 +309,12 @@ export function resetRouter () {
...
@@ -309,12 +309,12 @@ export function resetRouter () {
router
.
matcher
=
newRouter
.
matcher
router
.
matcher
=
newRouter
.
matcher
}
}
export
function
change
Proj
Type
(
type
)
{
export
function
change
System
Type
(
type
)
{
new
Promise
(
async
(
resolve
,
reject
)
=>
{
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
try
{
this
.
$store
.
commit
(
'app/clearStore'
)
this
.
$store
.
commit
(
'app/clearStore'
)
setType
(
type
+
''
)
setType
(
type
+
''
)
this
.
$store
.
commit
(
'app/set
Proj
Type'
,
type
)
this
.
$store
.
commit
(
'app/set
system
Type'
,
type
)
let
menuList
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'menuList'
))
let
menuList
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'menuList'
))
this
.
$store
.
commit
(
'app/initStore'
,
[
menuList
[
0
].
id
])
this
.
$store
.
commit
(
'app/initStore'
,
[
menuList
[
0
].
id
])
this
.
$router
.
push
(
'/'
)
this
.
$router
.
push
(
'/'
)
...
@@ -340,7 +340,7 @@ router.beforeEach(async (to, from, next) => {
...
@@ -340,7 +340,7 @@ router.beforeEach(async (to, from, next) => {
const
hasUser
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
))
const
hasUser
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
))
const
hasMenu
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'menuList'
))
const
hasMenu
=
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'menuList'
))
if
(
hasUser
&&
hasMenu
)
{
if
(
hasUser
&&
hasMenu
)
{
if
(
hasUser
.
type
===
'3'
&&
!!!
hasUser
.
proj
Type
&&
hasUser
.
roles
!=
'4'
)
{
if
(
hasUser
.
type
===
'3'
&&
!!!
hasUser
.
system
Type
&&
hasUser
.
roles
!=
'4'
)
{
if
(
to
.
path
===
'/sys'
)
{
if
(
to
.
path
===
'/sys'
)
{
next
()
next
()
NProgress
.
done
()
NProgress
.
done
()
...
...
src/store/modules/app.js
View file @
51d31a58
...
@@ -9,7 +9,7 @@ const state = {
...
@@ -9,7 +9,7 @@ const state = {
tabsArray
:
[],
tabsArray
:
[],
tabsActive
:
''
,
tabsActive
:
''
,
cachedViews
:
[],
cachedViews
:
[],
proj
Type
:
null
,
system
Type
:
null
,
}
}
const
mutations
=
{
const
mutations
=
{
setTabsActive
:
(
state
,
payload
)
=>
{
setTabsActive
:
(
state
,
payload
)
=>
{
...
@@ -18,8 +18,8 @@ const mutations = {
...
@@ -18,8 +18,8 @@ const mutations = {
setTabsArray
:
(
state
,
payload
)
=>
{
setTabsArray
:
(
state
,
payload
)
=>
{
state
.
tabsArray
=
payload
state
.
tabsArray
=
payload
},
},
set
Proj
Type
:
(
state
,
payload
)
=>
{
set
system
Type
:
(
state
,
payload
)
=>
{
state
.
proj
Type
=
payload
state
.
system
Type
=
payload
},
},
addTabs
:
(
state
,
payload
)
=>
{
addTabs
:
(
state
,
payload
)
=>
{
if
(
state
.
tabsArray
.
some
(
v
=>
v
.
key
===
payload
.
key
))
{
if
(
state
.
tabsArray
.
some
(
v
=>
v
.
key
===
payload
.
key
))
{
...
@@ -142,7 +142,7 @@ const mutations = {
...
@@ -142,7 +142,7 @@ const mutations = {
this
.
commit
(
'app/setTabsArray'
,
[])
this
.
commit
(
'app/setTabsArray'
,
[])
this
.
commit
(
'app/setTabsActive'
,
''
)
this
.
commit
(
'app/setTabsActive'
,
''
)
this
.
commit
(
'app/setCachedViews'
,
[])
this
.
commit
(
'app/setCachedViews'
,
[])
this
.
commit
(
'app/set
Proj
Type'
,
null
)
this
.
commit
(
'app/set
system
Type'
,
null
)
},
},
}
}
...
...
src/views/assign/components/assignDetail.vue
View file @
51d31a58
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'assign_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'assign_search'
}),
searchForm
:
{
projName
:
null
,
groupId
:
""
,
assignYear
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
personName
:
null
,
auditState
:
""
,
proj
Type
:
getType
()
},
searchForm
:
{
projName
:
null
,
groupId
:
""
,
assignYear
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
personName
:
null
,
auditState
:
""
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
},
ellipsis
:
true
,
width
:
300
,
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
},
ellipsis
:
true
,
width
:
300
,
},
...
@@ -137,7 +137,7 @@ export default {
...
@@ -137,7 +137,7 @@ export default {
methods
:
{
methods
:
{
moment
,
moment
,
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
searchForm
.
assignYear
=
data
.
year
this
.
searchForm
.
assignYear
=
data
.
year
this
.
getListByPage
()
this
.
getListByPage
()
...
...
src/views/assign/components/expertSelect.vue
View file @
51d31a58
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
for
(
let
j
=
0
;
j
<
this
.
expertSelectKeys
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
this
.
expertSelectKeys
.
length
;
j
++
)
{
this
.
expertSelectedRowKeys
.
push
(
this
.
expertSelectKeys
[
j
].
key
)
this
.
expertSelectedRowKeys
.
push
(
this
.
expertSelectKeys
[
j
].
key
)
}
}
let
pars
=
{
type
:
'1'
,
projects
:
this
.
projSelectedRowKeys
,
experts
:
this
.
expertSelectedRowKeys
,
proj
Type
:
getType
()
}
let
pars
=
{
type
:
'1'
,
projects
:
this
.
projSelectedRowKeys
,
experts
:
this
.
expertSelectedRowKeys
,
system
Type
:
getType
()
}
this
.
$api
.
projectAssign
.
assignProject
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
projectAssign
.
assignProject
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
$message
.
success
(
'分配成功!'
)
this
.
$message
.
success
(
'分配成功!'
)
...
...
src/views/assign/components/groupExpertSelect.vue
View file @
51d31a58
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
for
(
let
j
=
0
;
j
<
this
.
expertSelectKeys
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
this
.
expertSelectKeys
.
length
;
j
++
)
{
this
.
expertSelectedRowKeys
.
push
(
this
.
expertSelectKeys
[
j
].
key
)
this
.
expertSelectedRowKeys
.
push
(
this
.
expertSelectKeys
[
j
].
key
)
}
}
let
pars
=
{
proj
Type
:
getType
(),
groupIds
:
this
.
projGroupSelectedRowKeys
,
expertIds
:
this
.
expertSelectedRowKeys
}
let
pars
=
{
system
Type
:
getType
(),
groupIds
:
this
.
projGroupSelectedRowKeys
,
expertIds
:
this
.
expertSelectedRowKeys
}
this
.
$api
.
projectAssign
.
assignProjectGroup
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
projectAssign
.
assignProjectGroup
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
$message
.
success
(
'分配成功!'
)
this
.
$message
.
success
(
'分配成功!'
)
...
...
src/views/assign/components/projectAssignDetail.vue
View file @
51d31a58
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'assign_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'assign_search'
}),
searchForm
:
{
projId
:
null
,
personName
:
null
,
certId
:
null
,
sex
:
""
,
proj
Type
:
getType
()
},
searchForm
:
{
projId
:
null
,
personName
:
null
,
certId
:
null
,
sex
:
""
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"姓名"
,
scopedSlots
:
{
customRender
:
'personName'
},
align
:
'center'
},
{
title
:
"姓名"
,
scopedSlots
:
{
customRender
:
'personName'
},
align
:
'center'
},
...
...
src/views/audit/conclusion/index.vue
View file @
51d31a58
...
@@ -84,7 +84,7 @@ export default {
...
@@ -84,7 +84,7 @@ export default {
// 选项卡
// 选项卡
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
searchForm
:
{
auditType
:
4
,
auditResult
:
1
,
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
projClass
:
null
,
proj
Type
:
getType
()
},
searchForm
:
{
auditType
:
4
,
auditResult
:
1
,
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
projClass
:
null
,
system
Type
:
getType
()
},
activekey
:
'1'
,
activekey
:
'1'
,
tabDate
:
[
tabDate
:
[
{
key
:
"1"
,
tab
:
"待审核"
},
{
key
:
"1"
,
tab
:
"待审核"
},
...
@@ -148,7 +148,7 @@ export default {
...
@@ -148,7 +148,7 @@ export default {
}).
catch
(()
=>
{
this
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
4
,
proj
Type
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
4
,
system
Type
:
getType
()
});
this
.
$api
.
audit
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
...
...
src/views/audit/project/Index.vue
View file @
51d31a58
...
@@ -90,7 +90,7 @@ export default {
...
@@ -90,7 +90,7 @@ export default {
knowledgeId
:
null
,
knowledgeId
:
null
,
projClass
:
null
,
projClass
:
null
,
reportYear
:
null
,
reportYear
:
null
,
proj
Type
:
getType
()
system
Type
:
getType
()
},
},
activekey
:
'1'
,
activekey
:
'1'
,
tabDate
:
[
tabDate
:
[
...
@@ -185,7 +185,7 @@ export default {
...
@@ -185,7 +185,7 @@ export default {
this
.
getListByPage
()
this
.
getListByPage
()
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
description
=
data
.
description
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
}).
catch
(()
=>
{
this
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
proj
Type
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
system
Type
:
getType
()
});
this
.
$api
.
audit
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
...
...
src/views/audit/project/audit.vue
View file @
51d31a58
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
</div>
</div>
<div
style=
"width: 100%;height: calc(100% - 50px);overflow: auto;"
ref=
"main"
>
<div
style=
"width: 100%;height: calc(100% - 50px);overflow: auto;"
ref=
"main"
>
<div
class=
"x_modal_content"
>
<div
class=
"x_modal_content"
>
<project-info
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
proj
Type=='1'"
/>
<project-info
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
system
Type=='1'"
/>
<project-info-Key
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
proj
Type=='2'"
/>
<project-info-Key
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
system
Type=='2'"
/>
<a-form-model
ref=
"form"
:model=
"auditObj"
:rules=
"rules"
class=
"from-table font-line-space"
>
<a-form-model
ref=
"form"
:model=
"auditObj"
:rules=
"rules"
class=
"from-table font-line-space"
>
<audit-edit
:auditObj
.
sync=
"auditObj"
/>
<audit-edit
:auditObj
.
sync=
"auditObj"
/>
</a-form-model>
</a-form-model>
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
auditResult
:
{
required
:
true
,
message
:
'请选择审核结果'
,
trigger
:
'change'
},
auditResult
:
{
required
:
true
,
message
:
'请选择审核结果'
,
trigger
:
'change'
},
},
},
loading
:
false
,
loading
:
false
,
proj
Type
:
getType
()
system
Type
:
getType
()
};
};
},
},
props
:
{
props
:
{
...
...
src/views/audit/project/final.vue
View file @
51d31a58
...
@@ -167,7 +167,7 @@ export default {
...
@@ -167,7 +167,7 @@ export default {
treeCode
:
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
)).
unitCode
,
treeCode
:
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
)).
unitCode
,
projClass
:
null
,
projClass
:
null
,
reportYear
:
null
,
reportYear
:
null
,
proj
Type
:
getType
()
system
Type
:
getType
()
},
},
activekey
:
'1'
,
activekey
:
'1'
,
tabDate
:
[
tabDate
:
[
...
@@ -286,7 +286,7 @@ export default {
...
@@ -286,7 +286,7 @@ export default {
this
.
getListByPage
()
this
.
getListByPage
()
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
description
=
data
.
description
...
@@ -330,7 +330,7 @@ export default {
...
@@ -330,7 +330,7 @@ export default {
}).
catch
(()
=>
{
this
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
proj
Type
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
system
Type
:
getType
()
});
this
.
$api
.
audit
.
getFinalCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getFinalCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
...
...
src/views/audit/project/finalJudgment.vue
View file @
51d31a58
...
@@ -174,7 +174,7 @@ export default {
...
@@ -174,7 +174,7 @@ export default {
methods
:
{
methods
:
{
isEmptyParams
,
isEmptyParams
,
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
...
...
src/views/audit/task/Index.vue
View file @
51d31a58
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
this
.
getListByPage
()
this
.
getListByPage
()
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
2
,
proj
Type
:
getType
(),
timeType
:
2
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
2
,
system
Type
:
getType
(),
timeType
:
2
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
description
=
data
.
description
...
...
src/views/audit/thesis/index.vue
View file @
51d31a58
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
// 选项卡
// 选项卡
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
panes
:
{
count1
:
0
,
count2
:
0
,
count3
:
0
,
count4
:
0
,
count5
:
0
,
},
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
searchForm
:
{
auditType
:
5
,
auditResult
:
1
,
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
projClass
:
null
,
proj
Type
:
getType
()
},
searchForm
:
{
auditType
:
5
,
auditResult
:
1
,
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
projClass
:
null
,
system
Type
:
getType
()
},
activekey
:
'1'
,
activekey
:
'1'
,
tabDate
:
[
tabDate
:
[
{
key
:
"1"
,
tab
:
"待审核"
},
{
key
:
"1"
,
tab
:
"待审核"
},
...
@@ -143,7 +143,7 @@ export default {
...
@@ -143,7 +143,7 @@ export default {
}).
catch
(()
=>
{
this
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
5
,
proj
Type
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
5
,
system
Type
:
getType
()
});
this
.
$api
.
audit
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
...
...
src/views/components/common/baseSelect.vue
View file @
51d31a58
...
@@ -166,7 +166,7 @@ export default {
...
@@ -166,7 +166,7 @@ export default {
this
.
loadValue
()
this
.
loadValue
()
},
},
getReportYearList
()
{
getReportYearList
()
{
this
.
$api
.
batch
.
getCurrentReportYearList
({
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentReportYearList
({
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
selectArray
=
data
.
list
this
.
selectArray
=
data
.
list
this
.
selected
=
data
.
value
+
''
this
.
selected
=
data
.
value
+
''
...
...
src/views/conclusion/index.vue
View file @
51d31a58
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
],
],
itemCount
:
[
0
,
0
,
0
,
0
,
0
],
itemCount
:
[
0
,
0
,
0
,
0
,
0
],
// 表单
// 表单
searchForm
:
{
projName
:
null
,
projNo
:
null
,
reportYear
:
null
,
state
:
1
,
proj
Type
:
getType
()
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
reportYear
:
null
,
state
:
1
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
},
},
methods
:
{
methods
:
{
getCount
()
{
getCount
()
{
this
.
$api
.
conclusion
.
getCount
({
reportYear
:
this
.
searchForm
.
reportYear
,
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
conclusion
.
getCount
({
reportYear
:
this
.
searchForm
.
reportYear
,
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
}
}
...
...
src/views/evaluation/components/projectView.vue
View file @
51d31a58
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
<div
class=
"page-footer"
>
<div
class=
"page-footer"
>
<!-- 申报项目详情 -->
<!-- 申报项目详情 -->
<!--
<a-button
type=
"primary"
@
click=
"onExport"
>
导出
</a-button>
-->
<!--
<a-button
type=
"primary"
@
click=
"onExport"
>
导出
</a-button>
-->
<project-info
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
proj
Type=='1'"
/>
<project-info
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
system
Type=='1'"
/>
<project-info-Key
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
proj
Type=='2'"
/>
<project-info-Key
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
system
Type=='2'"
/>
</div>
</div>
</a-spin>
</a-spin>
</div>
</div>
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
managerDept
:
""
,
managerDept
:
""
,
},
},
loading
:
false
,
loading
:
false
,
proj
Type
:
getType
()
system
Type
:
getType
()
};
};
},
},
props
:
{
props
:
{
...
...
src/views/evaluation/components/score.vue
View file @
51d31a58
...
@@ -277,7 +277,7 @@ export default {
...
@@ -277,7 +277,7 @@ export default {
methods
:
{
methods
:
{
moment
,
moment
,
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
5
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
5
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
comBatch
=
data
this
.
comBatch
=
data
}
}
...
...
src/views/evaluation/evaluation.vue
View file @
51d31a58
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
methods
:
{
methods
:
{
moment
,
moment
,
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
5
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
5
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
description
=
data
.
description
...
...
src/views/evaluation/index.vue
View file @
51d31a58
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
searchForm
:
{
projName
:
null
,
appNo
:
null
,
assignYear
:
null
,
personId
:
null
,
proj
Type
:
getType
(),
isShow
:
1
},
searchForm
:
{
projName
:
null
,
appNo
:
null
,
assignYear
:
null
,
personId
:
null
,
system
Type
:
getType
(),
isShow
:
1
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
'申请编号'
,
dataIndex
:
'appNo'
,
align
:
'center'
},
{
title
:
'申请编号'
,
dataIndex
:
'appNo'
,
align
:
'center'
},
...
@@ -131,7 +131,7 @@ export default {
...
@@ -131,7 +131,7 @@ export default {
methods
:
{
methods
:
{
moment
,
moment
,
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
5
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
5
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
description
=
data
.
description
...
@@ -143,7 +143,7 @@ export default {
...
@@ -143,7 +143,7 @@ export default {
}).
catch
(()
=>
{
this
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
},
getListByPage
()
{
getListByPage
()
{
this
.
searchForm
.
proj
Type
=
getType
()
this
.
searchForm
.
system
Type
=
getType
()
let
pars
=
isEmptyParams
(
this
.
searchForm
)
let
pars
=
isEmptyParams
(
this
.
searchForm
)
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
this
.
$api
.
projectAssign
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
projectAssign
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
this
.
getListByPage
()
this
.
getListByPage
()
},
},
reset
()
{
reset
()
{
this
.
searchForm
=
{
projName
:
null
,
projNo
:
null
,
assignYear
:
null
,
proj
Type
:
getType
(),
isShow
:
1
}
this
.
searchForm
=
{
projName
:
null
,
projNo
:
null
,
assignYear
:
null
,
system
Type
:
getType
(),
isShow
:
1
}
this
.
pagination
.
pageIndex
=
1
this
.
pagination
.
pageIndex
=
1
this
.
getListByPage
()
this
.
getListByPage
()
},
},
...
...
src/views/evaluation/query.vue
View file @
51d31a58
...
@@ -53,7 +53,7 @@ export default {
...
@@ -53,7 +53,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
searchForm
:
{
projName
:
null
,
projNo
:
null
,
assignYear
:
null
,
personId
:
null
,
proj
Type
:
getType
()
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
assignYear
:
null
,
personId
:
null
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projectName'
,
colName
:
'projName'
},
align
:
'left'
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projectName'
,
colName
:
'projName'
},
align
:
'left'
},
...
...
src/views/expert/evaluationStatistic.vue
View file @
51d31a58
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
methods
:
{
methods
:
{
moment
,
moment
,
getYearInfo
()
{
getYearInfo
()
{
let
pars
=
{
batch
:
1
,
proj
Type
:
getType
()
}
let
pars
=
{
batch
:
1
,
system
Type
:
getType
()
}
this
.
$api
.
batch
.
getBatchList
({
...
pars
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getBatchList
({
...
pars
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
YearData
=
data
this
.
YearData
=
data
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
})
})
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
searchForm
.
groupYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
this
.
getListByPage
()
this
.
getListByPage
()
...
...
src/views/home/components/cardCount.vue
View file @
51d31a58
...
@@ -82,9 +82,9 @@ export default {
...
@@ -82,9 +82,9 @@ export default {
this
.
changeType
()
this
.
changeType
()
},
},
computed
:
{
computed
:
{
proj
Type
:
{
system
Type
:
{
get
()
{
get
()
{
return
this
.
$store
.
state
.
app
.
proj
Type
return
this
.
$store
.
state
.
app
.
system
Type
},
},
set
()
{
set
()
{
}
}
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
}
}
},
},
geAuditCount
()
{
geAuditCount
()
{
this
.
$api
.
statistical
.
geFirstAuditCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
geFirstAuditCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setCardDataList
(
0
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
this
.
setCardDataList
(
0
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
}
}
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
},
},
},
},
watch
:
{
watch
:
{
proj
Type
:
{
system
Type
:
{
handler
(
value
)
{
handler
(
value
)
{
if
(
!!
value
)
{
if
(
!!
value
)
{
this
.
changeType
()
this
.
changeType
()
...
...
src/views/home/components/cardTopCount.vue
View file @
51d31a58
...
@@ -65,8 +65,8 @@ export default {
...
@@ -65,8 +65,8 @@ export default {
},
},
created
()
{
created
()
{
// this.cardData = this.list1
// this.cardData = this.list1
// let
proj
Type = getType()
// let
system
Type = getType()
// if (
projType && proj
Type == '2') {
// if (
systemType && system
Type == '2') {
// this.cardData = this.list2
// this.cardData = this.list2
// } else {
// } else {
// this.cardData = this.list1
// this.cardData = this.list1
...
@@ -74,9 +74,9 @@ export default {
...
@@ -74,9 +74,9 @@ export default {
// this.changeType()
// this.changeType()
},
},
computed
:
{
computed
:
{
//
proj
Type: {
//
system
Type: {
// get () {
// get () {
// return this.$store.state.app.
proj
Type
// return this.$store.state.app.
system
Type
// },
// },
// set () {
// set () {
// }
// }
...
@@ -92,28 +92,28 @@ export default {
...
@@ -92,28 +92,28 @@ export default {
}
}
},
},
geFirstAuditCount
()
{
geFirstAuditCount
()
{
this
.
$api
.
statistical
.
geFirstAuditCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
geFirstAuditCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setCardDataList
(
0
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
this
.
setCardDataList
(
0
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
}
}
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getFirstAuditPassCount
()
{
getFirstAuditPassCount
()
{
this
.
$api
.
statistical
.
getFirstAuditPassCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getFirstAuditPassCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setCardDataList
(
1
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
this
.
setCardDataList
(
1
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
}
}
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getAssignPersonCount
()
{
getAssignPersonCount
()
{
this
.
$api
.
statistical
.
getAssignPersonCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getAssignPersonCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setCardDataList
(
2
,
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
)
this
.
setCardDataList
(
2
,
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
)
}
}
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
geLastAuditCount
()
{
geLastAuditCount
()
{
this
.
$api
.
statistical
.
geLastAuditCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
geLastAuditCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setCardDataList
(
3
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
this
.
setCardDataList
(
3
,
data
.
count5
,
data
.
count1
,
data
.
count2
,
data
.
count3
)
}
}
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
},
},
},
},
watch
:
{
watch
:
{
//
proj
Type: {
//
system
Type: {
// handler (value) {
// handler (value) {
// if (!!value) {
// if (!!value) {
// this.changeType()
// this.changeType()
...
...
src/views/home/components/dashboardGov.vue
View file @
51d31a58
...
@@ -75,9 +75,9 @@ export default {
...
@@ -75,9 +75,9 @@ export default {
this
.
getYear
()
this
.
getYear
()
},
},
computed
:
{
computed
:
{
proj
Type
:
{
system
Type
:
{
get
()
{
get
()
{
return
this
.
$store
.
state
.
app
.
proj
Type
return
this
.
$store
.
state
.
app
.
system
Type
},
},
set
()
{
set
()
{
}
}
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
changeType
()
this
.
changeType
()
...
@@ -104,14 +104,14 @@ export default {
...
@@ -104,14 +104,14 @@ export default {
this
.
getKnowledgeCount
()
this
.
getKnowledgeCount
()
},
},
getTreeCodeProjectCount
()
{
getTreeCodeProjectCount
()
{
this
.
$api
.
statistical
.
getTreeCodeProjectCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getTreeCodeProjectCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setBarData
(
data
)
this
.
setBarData
(
data
)
}
}
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getKnowledgeCount
()
{
getKnowledgeCount
()
{
this
.
$api
.
statistical
.
getKnowledgeCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getKnowledgeCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setPieData
(
data
)
this
.
setPieData
(
data
)
}
}
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
proj
Type
:
{
system
Type
:
{
handler
(
value
)
{
handler
(
value
)
{
if
(
value
)
{
if
(
value
)
{
this
.
changeType
()
this
.
changeType
()
...
...
src/views/home/components/dashboardTop.vue
View file @
51d31a58
...
@@ -75,9 +75,9 @@ export default {
...
@@ -75,9 +75,9 @@ export default {
this
.
getYear
()
this
.
getYear
()
},
},
computed
:
{
computed
:
{
proj
Type
:
{
system
Type
:
{
get
()
{
get
()
{
return
this
.
$store
.
state
.
app
.
proj
Type
return
this
.
$store
.
state
.
app
.
system
Type
},
},
set
()
{
set
()
{
}
}
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
changeType
()
this
.
changeType
()
...
@@ -104,14 +104,14 @@ export default {
...
@@ -104,14 +104,14 @@ export default {
this
.
getKnowledgeCount
()
this
.
getKnowledgeCount
()
},
},
getTreeCodeProjectCount
()
{
getTreeCodeProjectCount
()
{
this
.
$api
.
statistical
.
getTreeCodeProjectCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getTreeCodeProjectCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setBarData
(
data
)
this
.
setBarData
(
data
)
}
}
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getKnowledgeCount
()
{
getKnowledgeCount
()
{
this
.
$api
.
statistical
.
getKnowledgeCount
({
auditType
:
1
,
proj
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getKnowledgeCount
({
auditType
:
1
,
system
Type
:
getType
(),
reportYear
:
this
.
reportYear
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
setPieData
(
data
)
this
.
setPieData
(
data
)
}
}
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
proj
Type
:
{
system
Type
:
{
handler
(
value
)
{
handler
(
value
)
{
if
(
value
)
{
if
(
value
)
{
this
.
changeType
()
this
.
changeType
()
...
...
src/views/home/components/dashboardUnit.vue
View file @
51d31a58
...
@@ -50,9 +50,9 @@ export default {
...
@@ -50,9 +50,9 @@ export default {
this
.
getYear
()
this
.
getYear
()
},
},
computed
:
{
computed
:
{
proj
Type
:
{
system
Type
:
{
get
()
{
get
()
{
return
this
.
$store
.
state
.
app
.
proj
Type
return
this
.
$store
.
state
.
app
.
system
Type
},
},
set
()
{
set
()
{
}
}
...
@@ -67,7 +67,7 @@ export default {
...
@@ -67,7 +67,7 @@ export default {
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
()
,
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
()
,
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
}
}
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
proj
Type
:
{
system
Type
:
{
handler
(
value
)
{
handler
(
value
)
{
}
}
...
...
src/views/manager/project/index.vue
View file @
51d31a58
...
@@ -84,7 +84,7 @@ export default {
...
@@ -84,7 +84,7 @@ export default {
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
// 表单
// 表单
searchForm
:
{
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
projClass
:
null
,
reportYear
:
null
,
projState
:
null
,
proj
Type
:
null
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
projClass
:
null
,
reportYear
:
null
,
projState
:
null
,
system
Type
:
null
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
...
...
src/views/peAssign/components/evaluationStatistic.vue
View file @
51d31a58
...
@@ -38,7 +38,7 @@ export default {
...
@@ -38,7 +38,7 @@ export default {
},
},
methods
:
{
methods
:
{
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
getEvaluationStatistic
()
this
.
getEvaluationStatistic
()
...
...
src/views/peAssign/components/groupEdit.vue
View file @
51d31a58
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
methods
:
{
methods
:
{
moment
,
moment
,
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
formData
.
groupYear
=
data
.
year
+
''
this
.
formData
.
groupYear
=
data
.
year
+
''
}
}
...
...
src/views/peAssign/components/knowledgeSelect.vue
View file @
51d31a58
...
@@ -60,7 +60,7 @@ export default {
...
@@ -60,7 +60,7 @@ export default {
},
},
methods
:
{
methods
:
{
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
totalTitle
=
this
.
reportYear
+
'项目二级学科选择'
this
.
totalTitle
=
this
.
reportYear
+
'项目二级学科选择'
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getKnowledgeSelectedList
()
{
getKnowledgeSelectedList
()
{
this
.
$api
.
statistical
.
getKnowledgeSelectedList
({
reportYear
:
this
.
reportYear
,
auditType
:
1
,
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getKnowledgeSelectedList
({
reportYear
:
this
.
reportYear
,
auditType
:
1
,
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
tableData
=
data
this
.
tableData
=
data
}
}
...
...
src/views/peAssign/components/projectSelect.vue
View file @
51d31a58
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,7 @@ export default {
},
},
methods
:
{
methods
:
{
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
searchForm
.
reportYear
=
data
.
year
this
.
searchForm
.
reportYear
=
data
.
year
this
.
getListByPage
()
this
.
getListByPage
()
...
...
src/views/peAssign/components/projectSelectIntoGroup.vue
View file @
51d31a58
...
@@ -73,7 +73,7 @@ export default {
...
@@ -73,7 +73,7 @@ export default {
{
title
:
'证件号'
,
dataIndex
:
'certId'
,
align
:
'center'
,
width
:
150
},
{
title
:
'证件号'
,
dataIndex
:
'certId'
,
align
:
'center'
,
width
:
150
},
{
title
:
'申报人'
,
dataIndex
:
'appPersonName'
,
align
:
'center'
,
width
:
80
}
{
title
:
'申报人'
,
dataIndex
:
'appPersonName'
,
align
:
'center'
,
width
:
80
}
],
],
searchForm
:
{
groupId
:
null
,
appPersonName
:
null
,
reportYear
:
null
,
knowledgeCode
:
null
,
knowledgeId
:
null
,
knowledgeParentId
:
null
,
projName
:
null
,
appNo
:
null
,
proj
Type
:
getType
(),
appUnitName
:
null
,
projClass
:
""
},
searchForm
:
{
groupId
:
null
,
appPersonName
:
null
,
reportYear
:
null
,
knowledgeCode
:
null
,
knowledgeId
:
null
,
knowledgeParentId
:
null
,
projName
:
null
,
appNo
:
null
,
system
Type
:
getType
(),
appUnitName
:
null
,
projClass
:
""
},
pagination
:
{
pagination
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
this
.
$defaultPageSize
,
pageSize
:
this
.
$defaultPageSize
,
...
@@ -90,7 +90,7 @@ export default {
...
@@ -90,7 +90,7 @@ export default {
},
},
methods
:
{
methods
:
{
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
searchForm
.
reportYear
=
data
.
year
this
.
searchForm
.
reportYear
=
data
.
year
this
.
getListByPage
()
this
.
getListByPage
()
...
...
src/views/peAssign/components/projectStatistic.vue
View file @
51d31a58
...
@@ -49,7 +49,7 @@ export default {
...
@@ -49,7 +49,7 @@ export default {
},
},
methods
:
{
methods
:
{
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
getProjectExpertGroupStatistic
()
this
.
getProjectExpertGroupStatistic
()
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getProjectExpertGroupStatistic
()
{
getProjectExpertGroupStatistic
()
{
this
.
$api
.
statistical
.
getProjectExpertGroupStatistic
({
reportYear
:
this
.
reportYear
,
auditType
:
1
,
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getProjectExpertGroupStatistic
({
reportYear
:
this
.
reportYear
,
auditType
:
1
,
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
tableData
=
data
this
.
tableData
=
data
}
}
...
...
src/views/peAssign/index.vue
View file @
51d31a58
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
methods
:
{
methods
:
{
isEmptyParams
,
isEmptyParams
,
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
...
@@ -182,7 +182,7 @@ export default {
...
@@ -182,7 +182,7 @@ export default {
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
getKnowledgeStatistic
()
{
getKnowledgeStatistic
()
{
this
.
$api
.
statistical
.
getKnowledgeStatistic
({
reportYear
:
this
.
reportYear
,
auditType
:
1
,
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
statistical
.
getKnowledgeStatistic
({
reportYear
:
this
.
reportYear
,
auditType
:
1
,
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
tableData1
=
data
this
.
tableData1
=
data
}
}
...
...
src/views/peAssign/projAssign.vue
View file @
51d31a58
<
template
>
<
template
>
<div
class=
"app-content"
>
<div
class=
"app-content"
>
<proj-key-assign
v-if=
"
proj
Type"
/>
<proj-key-assign
v-if=
"
system
Type"
/>
<proj-knowledge-assign
v-else
/>
<proj-knowledge-assign
v-else
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
proj
Type
:
getType
()
==
"1"
system
Type
:
getType
()
==
"1"
};
};
},
},
};
};
...
...
src/views/peAssign/projKeyAssign.vue
View file @
51d31a58
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
methods
:
{
methods
:
{
isEmptyParams
,
isEmptyParams
,
getYearInfo
()
{
getYearInfo
()
{
let
pars
=
{
batch
:
1
,
proj
Type
:
getType
()
}
let
pars
=
{
batch
:
1
,
system
Type
:
getType
()
}
this
.
$api
.
batch
.
getBatchList
({
...
pars
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getBatchList
({
...
pars
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
YearData
=
data
this
.
YearData
=
data
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
})
})
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
...
...
src/views/peAssign/projKnowledgeAssign.vue
View file @
51d31a58
...
@@ -186,7 +186,7 @@ export default {
...
@@ -186,7 +186,7 @@ export default {
methods
:
{
methods
:
{
isEmptyParams
,
isEmptyParams
,
getYearInfo
()
{
getYearInfo
()
{
let
pars
=
{
batch
:
1
,
proj
Type
:
getType
()
}
let
pars
=
{
batch
:
1
,
system
Type
:
getType
()
}
this
.
$api
.
batch
.
getBatchList
({
...
pars
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getBatchList
({
...
pars
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
YearData
=
data
this
.
YearData
=
data
...
@@ -196,7 +196,7 @@ export default {
...
@@ -196,7 +196,7 @@ export default {
})
})
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
()
,
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
()
,
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
reportYear
=
data
.
year
this
.
reportYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
this
.
searchForm
.
groupYear
=
data
.
year
...
...
src/views/query/project/Index.vue
View file @
51d31a58
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
// 表单
// 表单
searchForm
:
{
projName
:
null
,
projNo
:
null
,
projClass
:
null
,
reportYear
:
null
,
projState
:
null
,
proj
Type
:
getType
()
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
projClass
:
null
,
reportYear
:
null
,
projState
:
null
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
...
...
src/views/query/task/Index.vue
View file @
51d31a58
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
// 表单
// 表单
searchForm
:
{
projName
:
null
,
projNo
:
null
,
projClass
:
null
,
reportYear
:
null
,
taskState
:
null
,
proj
Type
:
getType
()
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
projClass
:
null
,
reportYear
:
null
,
taskState
:
null
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
'项目名称'
,
dataIndex
:
'projName'
,
align
:
'center'
},
{
title
:
'项目名称'
,
dataIndex
:
'projName'
,
align
:
'center'
},
...
...
src/views/report/project/Index.vue
View file @
51d31a58
...
@@ -89,7 +89,7 @@ export default {
...
@@ -89,7 +89,7 @@ export default {
],
],
itemCount
:
[
0
,
0
,
0
,
0
,
0
],
itemCount
:
[
0
,
0
,
0
,
0
,
0
],
// 表单
// 表单
searchForm
:
{
projName
:
null
,
projNo
:
null
,
projState
:
1
,
reportYear
:
null
,
proj
Type
:
getType
(),
knowledgeId
:
null
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
projState
:
1
,
reportYear
:
null
,
system
Type
:
getType
(),
knowledgeId
:
null
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
this
.
visibleEdit
=
true
this
.
visibleEdit
=
true
},
},
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
1
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
description
=
data
.
description
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
}).
catch
(()
=>
{
this
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
},
getCount
()
{
getCount
()
{
this
.
$api
.
project
.
getCount
({
reportYear
:
this
.
searchForm
.
reportYear
,
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
project
.
getCount
({
reportYear
:
this
.
searchForm
.
reportYear
,
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
}
}
...
...
src/views/report/project/components/keyProject/projectEdit.vue
View file @
51d31a58
...
@@ -1091,7 +1091,7 @@ export default {
...
@@ -1091,7 +1091,7 @@ export default {
this
.
$emit
(
'load'
,
false
)
this
.
$emit
(
'load'
,
false
)
})
})
}
else
{
}
else
{
this
.
$api
.
project
.
getNewProject
({
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
project
.
getNewProject
({
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
formData
=
data
this
.
formData
=
data
this
.
loadList
()
this
.
loadList
()
...
...
src/views/report/project/components/projectCreate.vue
View file @
51d31a58
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
proj
Type
:
getType
()
==
"1"
,
system
Type
:
getType
()
==
"1"
,
current
:
10
,
current
:
10
,
currSteps
:
0
,
currSteps
:
0
,
stepsArray
:
[
stepsArray
:
[
...
...
src/views/report/project/components/projectEdit.vue
View file @
51d31a58
...
@@ -838,7 +838,7 @@ export default {
...
@@ -838,7 +838,7 @@ export default {
this
.
$emit
(
'load'
,
false
)
this
.
$emit
(
'load'
,
false
)
})
})
}
else
{
}
else
{
this
.
$api
.
project
.
getNewProject
({
proj
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
project
.
getNewProject
({
system
Type
:
getType
()
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
formData
=
data
this
.
formData
=
data
this
.
$emit
(
'onStepChange'
,
{
step
:
0
,
state
:
data
.
completeStatus
})
this
.
$emit
(
'onStepChange'
,
{
step
:
0
,
state
:
data
.
completeStatus
})
...
@@ -914,7 +914,7 @@ export default {
...
@@ -914,7 +914,7 @@ export default {
switch
(
step
)
{
switch
(
step
)
{
case
0
:
{
case
0
:
{
obj
=
{
obj
=
{
id
:
null
,
reportYear
:
null
,
batch
:
null
,
projState
:
null
,
appPersonId
:
null
,
appUnitId
:
null
,
proj
Type
:
null
,
id
:
null
,
reportYear
:
null
,
batch
:
null
,
projState
:
null
,
appPersonId
:
null
,
appUnitId
:
null
,
system
Type
:
null
,
jobTime
:
null
,
address
:
null
,
mainResearchAreas
:
null
,
jobTime
:
null
,
address
:
null
,
mainResearchAreas
:
null
,
unitLinkName
:
null
,
unitLinkMobile
:
null
,
unitLinkEmail
:
null
,
unitLinkFax
:
null
,
unitLinkName
:
null
,
unitLinkMobile
:
null
,
unitLinkEmail
:
null
,
unitLinkFax
:
null
,
projName
:
null
,
knowledgeId
:
null
,
startDate
:
null
,
endDate
:
null
,
projName
:
null
,
knowledgeId
:
null
,
startDate
:
null
,
endDate
:
null
,
...
...
src/views/report/project/components/projectView.vue
View file @
51d31a58
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
<div
class=
"page-footer"
>
<div
class=
"page-footer"
>
<!-- 申报项目详情 -->
<!-- 申报项目详情 -->
<a-button
type=
"primary"
@
click=
"onProjectExport"
>
导出
</a-button>
<a-button
type=
"primary"
@
click=
"onProjectExport"
>
导出
</a-button>
<project-info
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
proj
Type=='1'"
/>
<project-info
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
system
Type=='1'"
/>
<project-info-Key
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
proj
Type=='2'"
/>
<project-info-Key
v-model=
"formData"
:tabsData
.
sync=
"tabsData"
v-if=
"
system
Type=='2'"
/>
</div>
</div>
</a-spin>
</a-spin>
</div>
</div>
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
managerDept
:
""
,
managerDept
:
""
,
},
},
loading
:
false
,
loading
:
false
,
proj
Type
:
getType
()
system
Type
:
getType
()
};
};
},
},
props
:
{
props
:
{
...
...
src/views/report/project/components/taskView.vue
View file @
51d31a58
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
managerDept
:
""
,
managerDept
:
""
,
},
},
loading
:
false
,
loading
:
false
,
proj
Type
:
getType
()
system
Type
:
getType
()
};
};
},
},
props
:
{
props
:
{
...
...
src/views/report/task/Index.vue
View file @
51d31a58
...
@@ -103,7 +103,7 @@ export default {
...
@@ -103,7 +103,7 @@ export default {
},
},
methods
:
{
methods
:
{
getYear
()
{
getYear
()
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
proj
Type
:
getType
(),
timeType
:
2
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
batch
.
getCurrentYearBatch
({
type
:
1
,
system
Type
:
getType
(),
timeType
:
2
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
isButten
=
data
.
disabled
this
.
isButten
=
data
.
disabled
this
.
description
=
data
.
description
this
.
description
=
data
.
description
...
...
src/views/report/task/components/taskView.vue
View file @
51d31a58
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
managerDept
:
""
,
managerDept
:
""
,
},
},
loading
:
false
,
loading
:
false
,
proj
Type
:
getType
()
system
Type
:
getType
()
};
};
},
},
props
:
{
props
:
{
...
...
src/views/statistic/project/Index.vue
View file @
51d31a58
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
// 表单
// 表单
searchForm
:
{
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
treeCode
:
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
)).
unitCode
,
projClass
:
null
,
reportYear
:
null
,
projState
:
null
,
auditType
:
1
,
knowledgeId
:
null
,
knowledgeParentId
:
null
,
proj
Type
:
getType
()
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
treeCode
:
JSON
.
parse
(
window
.
sessionStorage
.
getItem
(
'user'
)).
unitCode
,
projClass
:
null
,
reportYear
:
null
,
projState
:
null
,
auditType
:
1
,
knowledgeId
:
null
,
knowledgeParentId
:
null
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
},
...
...
src/views/system/set/index.vue
View file @
51d31a58
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
</a-radio>
</a-radio>
</a-radio-group>
</a-radio-group>
</a-form-model-item>
</a-form-model-item>
<a-form-model-item
label=
"申报项目类型"
prop=
"
proj
Type"
class=
"text_line"
>
<a-form-model-item
label=
"申报项目类型"
prop=
"
system
Type"
class=
"text_line"
>
<a-radio-group
v-model=
"formData.
proj
Type"
>
<a-radio-group
v-model=
"formData.
system
Type"
>
<a-radio
value=
"1"
name=
"type"
>
<a-radio
value=
"1"
name=
"type"
>
科研项目
科研项目
</a-radio>
</a-radio>
...
@@ -62,14 +62,14 @@ export default {
...
@@ -62,14 +62,14 @@ export default {
// imgPath: null,
// imgPath: null,
SMSApiUrl
:
null
,
SMSApiUrl
:
null
,
loginType
:
null
,
loginType
:
null
,
proj
Type
:
null
,
system
Type
:
null
,
},
},
rules
:
{
rules
:
{
// filePath: [{ required: true, message: '请输入文件上传路径', trigger: 'blur' },],
// filePath: [{ required: true, message: '请输入文件上传路径', trigger: 'blur' },],
// imgPath: [{ required: true, message: '请输入图片上传路径', trigger: 'blur' },],
// imgPath: [{ required: true, message: '请输入图片上传路径', trigger: 'blur' },],
SMSApiUrl
:
[{
required
:
true
,
message
:
'请输入短信发送接口地址'
,
trigger
:
'blur'
},],
SMSApiUrl
:
[{
required
:
true
,
message
:
'请输入短信发送接口地址'
,
trigger
:
'blur'
},],
loginType
:
[{
required
:
true
,
message
:
'请选择登录设置'
,
trigger
:
'change'
}],
loginType
:
[{
required
:
true
,
message
:
'请选择登录设置'
,
trigger
:
'change'
}],
proj
Type
:
[{
required
:
true
,
message
:
'请选择申报项目类型'
,
trigger
:
'change'
}],
system
Type
:
[{
required
:
true
,
message
:
'请选择申报项目类型'
,
trigger
:
'change'
}],
},
},
loading
:
true
loading
:
true
}
}
...
...
src/views/systemType/index.vue
View file @
51d31a58
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
methods
:
{
methods
:
{
onChangeType
(
type
)
{
onChangeType
(
type
)
{
this
.
loading
=
true
this
.
loading
=
true
this
.
$change
Proj
Type
(
type
)
this
.
$change
System
Type
(
type
)
this
.
loading
=
false
this
.
loading
=
false
},
},
logout
()
{
logout
()
{
...
...
src/views/thesis/index.vue
View file @
51d31a58
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,7 @@ export default {
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
// 表单
// 表单
searchForm
:
{
projName
:
null
,
projNo
:
null
,
proj
Type
:
getType
()
},
searchForm
:
{
projName
:
null
,
projNo
:
null
,
system
Type
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"论文名称"
,
scopedSlots
:
{
customRender
:
'name'
}
},
{
title
:
"论文名称"
,
scopedSlots
:
{
customRender
:
'name'
}
},
...
...
src/views/timeSet/batch/Index.vue
View file @
51d31a58
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
components
:
{
batchEdit
},
components
:
{
batchEdit
},
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
proj
Type
:
getType
(),
timeType
:
1
,
},
searchForm
:
{
system
Type
:
getType
(),
timeType
:
1
,
},
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
...
...
src/views/timeSet/batch/components/batchEdit.vue
View file @
51d31a58
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
reportRange
:
[],
reportRange
:
[],
auditRange
:
[],
auditRange
:
[],
expertRange
:
[],
expertRange
:
[],
proj
Type
:
getType
()
system
Type
:
getType
()
},
},
formRules
:
{
formRules
:
{
id
:
[{
required
:
false
}],
id
:
[{
required
:
false
}],
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
this
.
formData
.
id
=
data
.
id
this
.
formData
.
id
=
data
.
id
this
.
formData
.
year
=
data
.
year
+
''
this
.
formData
.
year
=
data
.
year
+
''
this
.
formData
.
timeType
=
data
.
timeType
this
.
formData
.
timeType
=
data
.
timeType
this
.
formData
.
projType
=
data
.
proj
Type
this
.
formData
.
systemType
=
data
.
system
Type
this
.
formData
.
reportStart
=
data
.
reportStart
this
.
formData
.
reportStart
=
data
.
reportStart
this
.
formData
.
reportEnd
=
data
.
reportEnd
this
.
formData
.
reportEnd
=
data
.
reportEnd
this
.
formData
.
auditStart
=
data
.
auditStart
this
.
formData
.
auditStart
=
data
.
auditStart
...
...
src/views/timeSet/batch/components/talentBatchEdit.vue
View file @
51d31a58
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
reportRange
:
[],
reportRange
:
[],
auditRange
:
[],
auditRange
:
[],
expertRange
:
[],
expertRange
:
[],
proj
Type
:
null
,
system
Type
:
null
,
},
},
formRules
:
{
formRules
:
{
id
:
[{
required
:
false
}],
id
:
[{
required
:
false
}],
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
this
.
formData
.
id
=
data
.
id
this
.
formData
.
id
=
data
.
id
this
.
formData
.
year
=
data
.
year
+
''
this
.
formData
.
year
=
data
.
year
+
''
this
.
formData
.
timeType
=
data
.
timeType
this
.
formData
.
timeType
=
data
.
timeType
this
.
formData
.
proj
Type
=
null
this
.
formData
.
system
Type
=
null
this
.
formData
.
reportStart
=
data
.
reportStart
this
.
formData
.
reportStart
=
data
.
reportStart
this
.
formData
.
reportEnd
=
data
.
reportEnd
this
.
formData
.
reportEnd
=
data
.
reportEnd
this
.
formData
.
auditStart
=
data
.
auditStart
this
.
formData
.
auditStart
=
data
.
auditStart
...
...
src/views/timeSet/taskTimeSet/Index.vue
View file @
51d31a58
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
components
:
{
timeEdit
},
components
:
{
timeEdit
},
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
proj
Type
:
getType
(),
timeType
:
2
,
},
searchForm
:
{
system
Type
:
getType
(),
timeType
:
2
,
},
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'advanced_search'
}),
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
...
...
src/views/timeSet/taskTimeSet/components/timeEdit.vue
View file @
51d31a58
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
remark
:
''
,
remark
:
''
,
reportRange
:
[],
reportRange
:
[],
auditRange
:
[],
auditRange
:
[],
proj
Type
:
getType
()
system
Type
:
getType
()
},
},
formRules
:
{
formRules
:
{
id
:
[{
required
:
false
}],
id
:
[{
required
:
false
}],
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
this
.
formData
.
id
=
data
.
id
this
.
formData
.
id
=
data
.
id
this
.
formData
.
year
=
data
.
year
+
''
this
.
formData
.
year
=
data
.
year
+
''
this
.
formData
.
timeType
=
data
.
timeType
this
.
formData
.
timeType
=
data
.
timeType
this
.
formData
.
projType
=
data
.
proj
Type
this
.
formData
.
systemType
=
data
.
system
Type
this
.
formData
.
reportStart
=
data
.
reportStart
this
.
formData
.
reportStart
=
data
.
reportStart
this
.
formData
.
reportEnd
=
data
.
reportEnd
this
.
formData
.
reportEnd
=
data
.
reportEnd
this
.
formData
.
auditStart
=
data
.
auditStart
this
.
formData
.
auditStart
=
data
.
auditStart
...
...
src/views/utils/auth.js
View file @
51d31a58
...
@@ -18,7 +18,7 @@ export function getType () {
...
@@ -18,7 +18,7 @@ export function getType () {
let
type
=
''
let
type
=
''
let
user
=
window
.
sessionStorage
.
getItem
(
'user'
)
let
user
=
window
.
sessionStorage
.
getItem
(
'user'
)
if
(
user
)
if
(
user
)
type
=
JSON
.
parse
(
user
).
proj
Type
type
=
JSON
.
parse
(
user
).
system
Type
return
type
return
type
}
}
...
@@ -26,7 +26,7 @@ export function setType (type) {
...
@@ -26,7 +26,7 @@ export function setType (type) {
let
user
=
window
.
sessionStorage
.
getItem
(
'user'
)
let
user
=
window
.
sessionStorage
.
getItem
(
'user'
)
if
(
user
)
{
if
(
user
)
{
let
obj
=
JSON
.
parse
(
user
)
let
obj
=
JSON
.
parse
(
user
)
obj
.
proj
Type
=
type
obj
.
system
Type
=
type
window
.
sessionStorage
.
setItem
(
'user'
,
JSON
.
stringify
(
obj
))
window
.
sessionStorage
.
setItem
(
'user'
,
JSON
.
stringify
(
obj
))
}
}
return
type
return
type
...
...
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