Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3dd71352
authored
Apr 30, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
1 parent
64e6048f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
216 additions
and
84 deletions
src/api/index.js
src/router/index.js
src/views/assessChecks/auxiliarySelection.vue
src/views/assessChecks/components/seachList.vue
src/views/assessChecks/components/tableList.vue
src/views/assessChecks/confirmRelease.vue
vue.config.js
src/api/index.js
View file @
3dd7135
// import request from '@/utils/request'
// let mainURL="192.168.8.248:18101"
import
{
get
,
post
,
download
}
from
'@/utils/http'
// 获取流程列表
export
function
evalBatchInfo
(
params
)
{
return
post
(
`/api/postEvalBatchInfo/`
,
params
)
}
//专家库
export
function
expertInfo
(
params
)
{
return
post
(
`/api/expertInfo/`
,
params
)
}
//查询关联专家
export
function
expert
(
params
)
{
return
post
(
`/api/expertInfo/expert`
,
params
)
}
//专家删除
export
function
delEvalBatchInfo
(
params
)
{
return
post
(
`/api/postEvalBatchInfo/del`
,
params
)
}
//辅助下发
export
function
sendEvalBatchInfo
(
params
)
{
return
post
(
`/api/postEvalBatchInfo/xf`
,
params
)
}
//编辑
export
function
updEvalBatchInfo
(
params
)
{
return
post
(
`/api/postEvalBatchInfo/upd`
,
params
)
}
//新增
export
function
adEvalBatchInfo
(
params
)
{
return
post
(
`/api/postEvalBatchInfo/ad`
,
params
)
}
//撤回
export
function
chEvalBatchInfo
(
params
)
{
return
post
(
`/api/postEvalBatchInfo/ch`
,
params
)
}
//评估批次确认发布分页查询
export
function
projectInfo
(
params
)
{
return
post
(
`/api/projectInfo/`
,
params
)
}
src/router/index.js
View file @
3dd7135
...
@@ -21,7 +21,7 @@ export const routes = [
...
@@ -21,7 +21,7 @@ export const routes = [
path
:
'/'
,
path
:
'/'
,
name
:
'main'
,
name
:
'main'
,
component
:
()
=>
import
(
'@/views/layout/index.vue'
),
component
:
()
=>
import
(
'@/views/layout/index.vue'
),
redirect
:
'/mainLayout'
,
redirect
:
'/mainLayout
/auxiliarySelection
'
,
children
:[
children
:[
{
{
...
...
src/views/assessChecks/auxiliarySelection.vue
View file @
3dd7135
<
template
>
<
template
>
<div
class=
"archiEvoluteLine"
>
<div
class=
"archiEvoluteLine"
>
<!--
<HeaderInfo
:title=
"title"
></HeaderInfo>
-->
<!--
<HeaderInfo
:title=
"title"
></HeaderInfo>
-->
<seachList
searchtype=
"FZXD"
></seachList>
<seachList
<tableList
class=
"tableList"
tbtyps=
"FZXD"
></tableList>
searchtype=
"FZXD"
@
listenToChildEvent=
"showMsgFromChild"
@
delateEval=
"delateEval"
:selection=
"selection"
></seachList>
<tableList
class=
"tableList"
tbtyps=
"FZXD"
:tableData=
"tableData"
:total=
"total"
@
currentPage=
"currentPageP"
@
pageSize=
"pageSizeP"
@
sendselection=
"sendselection"
></tableList>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
seachList
from
'./components/seachList.vue'
import
seachList
from
"./components/seachList.vue"
;
import
tableList
from
'./components/tableList.vue'
import
tableList
from
"./components/tableList.vue"
;
import
{
evalBatchInfo
,
delEvalBatchInfo
}
from
"@/api/index"
;
export
default
{
export
default
{
name
:
'auxiliarySelection'
,
name
:
"auxiliarySelection"
,
components
:
{
components
:
{
seachList
,
seachList
,
tableList
tableList
,
},
},
data
()
{
data
()
{
return
{
return
{
title
:
'评估项目辅助选定'
title
:
"评估项目辅助选定"
,
}
tableData
:
[],
total
:
0
,
current
:
"1"
,
pageSize
:
"10"
,
selection
:
''
,
};
},
},
mounted
()
{
mounted
()
{
this
.
evalBatchInfo
();
},
},
methods
:
{
methods
:
{
pageSizeP
(
data
)
{
this
.
current
=
data
;
this
.
evalBatchInfo
();
},
currentPageP
(
data
)
{
this
.
current
=
data
;
this
.
evalBatchInfo
();
},
async
evalBatchInfo
(
data
)
{
let
params
=
{
current
:
this
.
current
,
pageSize
:
this
.
pageSize
,
};
if
(
data
)
{
Object
.
assign
(
params
,
data
);
}
//重置查询参数
if
(
data
==
"reset"
)
{
params
=
{
current
:
'1'
,
pageSize
:
'10'
,
};
}
console
.
log
(
params
,
"params"
);
let
res
=
await
evalBatchInfo
(
params
);
console
.
log
(
res
.
data
.
records
,
'222222222222222'
)
this
.
tableData
=
res
.
data
.
records
;
if
(
res
.
data
.
total
)
{
this
.
total
=
res
.
data
.
total
*
1
;
}
}
}
console
.
log
(
this
.
tableData
,
this
.
total
,
"33333"
);
},
showMsgFromChild
(
data
)
{
console
.
log
(
"船只"
,
data
);
// this.chilidParams = data;
this
.
evalBatchInfo
(
data
);
},
async
delateEval
(){
console
.
log
(
'删除'
,
this
.
selection
)
if
(
this
.
selection
.
length
>
0
){
let
res
=
await
delEvalBatchInfo
(
this
.
selection
[
0
]);
this
.
evalBatchInfo
(
"reset"
)
}
},
sendselection
(
val
){
this
.
selection
=
val
}
},
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.archiEvoluteLine
{
.archiEvoluteLine
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
align-items
:
flex-start
;
}
}
.tableList
{
.tableList
{
width
:
100%
;
width
:
100%
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/assessChecks/components/seachList.vue
View file @
3dd7135
This diff is collapsed.
Click to expand it.
src/views/assessChecks/components/tableList.vue
View file @
3dd7135
<
template
>
<
template
>
<div
class=
"m
ia
n"
>
<div
class=
"m
ai
n"
>
<el-table
<el-table
@
selection-change=
"handleSelectionChange"
ref=
"multipleTable"
ref=
"multipleTable"
:data=
"tableData"
:data=
"tableData"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%"
style=
"width: 100%"
header-cell-class-name=
"custom-th-background"
header-cell-class-name=
"custom-th-background"
class=
"eltable"
:row-class-name=
"tableRowClassName"
>
border
>
>
<el-table-column
label=
"序号"
width=
"55"
>
<el-table-column
label=
"序号"
width=
"55"
type=
"index"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
id
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"批次年度"
width=
"auto"
>
<el-table-column
label=
"批次年度"
width=
"auto"
prop=
"batchYear"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
date
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
n
ame"
label=
"后评估批次名称"
width=
"auto"
>
<el-table-column
prop=
"
batchN
ame"
label=
"后评估批次名称"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
address
"
prop=
"
planReviewDate
"
label=
"计划评审日期"
label=
"计划评审日期"
width=
"auto"
width=
"auto"
>
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
name1"
label=
"后评估专家组长
"
width=
"auto"
>
<el-table-column
prop=
"
expertName"
label=
"后评估专家
"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"name2"
label=
"后评状态"
width=
"auto"
>
<el-table-column
prop=
"postEvalState"
label=
"批次下发状态"
width=
"auto"
>
<!--
<el-table-column
prop=
"expertLeader"
label=
"后评估专家组长"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
name3"
label=
"评审专家名单
"
width=
"auto"
>
<el-table-column
prop=
"
status"
label=
"后评状态
"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
name3"
label=
"创建人"
width=
"auto"
>
<el-table-column
prop=
"
expertName"
label=
"评审专家名单"
width=
"auto"
>
--
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"name3"
label=
"创建时间"
width=
"auto"
>
<el-table-column
prop=
"creator"
label=
"创建人"
width=
"auto"
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
width=
"auto"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"tableData.length"
class=
"elpagination"
>
</el-pagination>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
number
}
from
'echarts'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
tableData
:
[
currentPage
:
1
,
{
pageSize
:
"5"
,
id
:
1
,
}
date
:
"2016-05-03"
,
name
:
"王小虎"
,
address
:
"上海市普陀区金沙江路 1518 弄"
,
},
},
{
props
:
{
id
:
1
,
tableData
:
{
date
:
"2016-05-02"
,
type
:
Array
,
name
:
"王小虎"
,
default
:[],
address
:
"上海市普陀区金沙江路 1518 弄"
,
},
},
{
total
:{
id
:
1
,
type
:
Number
,
date
:
"2016-05-04"
,
default
:
""
,
name
:
"王小虎"
,
address
:
"上海市普陀区金沙江路 1518 弄"
,
},
},
{
tbtyps
:
{
date
:
"2016-05-01"
,
type
:
String
,
name
:
"王小虎
"
,
default
:
"
"
,
address
:
"上海市普陀区金沙江路 1518 弄"
,
}
},
},
{
methods
:
{
date
:
"2016-05-08"
,
handleSelectionChange
(
selection
)
{
name
:
"王小虎"
,
if
(
Array
.
isArray
(
selection
)
&&
selection
.
length
>
1
)
{
address
:
"上海市普陀区金沙江路 1518 弄"
,
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
0
],
false
);
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
selection
[
1
],
true
);
}
console
.
log
(
this
.
$refs
.
multipleTable
.
selection
,
'this.$refs.multipleTable.selection'
)
this
.
$emit
(
'sendselection'
,
this
.
$refs
.
multipleTable
.
selection
)
},
},
{
handleSizeChange
(
val
)
{
date
:
"2016-05-06"
,
console
.
log
(
`每页
${
val
}
条`
);
name
:
"王小虎"
,
this
.
$emit
(
'pageSize'
,
this
.
pageSize
)
address
:
"上海市普陀区金沙江路 1518 弄"
,
},
},
{
handleCurrentChange
(
val
)
{
date
:
"2016-05-07"
,
console
.
log
(
`当前页:
${
val
}
`
);
name
:
"王小虎"
,
this
.
currentPage
=
val
address
:
"上海市普陀区金沙江路 1518 弄"
,
this
.
$emit
(
'currentPage'
,
this
.
currentPage
)
},
},
],
tableRowClassName
({
row
,
rowIndex
})
{
};
// console.log(rowIndex % 2,'333')
if
(
rowIndex
%
2
==
1
)
{
return
'warning-row'
;
}
return
''
}
},
},
};
};
</
script
>
</
script
>
...
@@ -89,6 +109,14 @@ export default {
...
@@ -89,6 +109,14 @@ export default {
.main
{
.main
{
font-size
:
14px
;
font-size
:
14px
;
width
:
100%
;
width
:
100%
;
height
:
70%
;
.eltable{
height
:
94%
;
}
.elpagination
{
text-align
:
right
;
margin-right
:
100px
;
}
}
}
/
deep
/
.cell
{
/
deep
/
.cell
{
...
@@ -116,4 +144,8 @@ export default {
...
@@ -116,4 +144,8 @@ export default {
opacity
:
0.7
;
opacity
:
0.7
;
border-color
:
#333
;
border-color
:
#333
;
}
}
/
deep
/
.el-table
.warning-row
{
background
:
#f0ffff
;
color
:
#2785E6
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/assessChecks/confirmRelease.vue
View file @
3dd7135
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
3dd7135
...
@@ -12,24 +12,13 @@ module.exports = defineConfig({
...
@@ -12,24 +12,13 @@ module.exports = defineConfig({
devServer
:
{
devServer
:
{
hot
:
true
,
hot
:
true
,
proxy
:
{
proxy
:
{
'/
eadc-shared-ability'
:
{
'/
api'
:
{
target
:
`http://
${
ip
}
:80/`
,
// 共享能力
target
:
`http://
192.168.8.248:18101`
,
// pin
changeOrigin
:
true
,
changeOrigin
:
true
,
// secure: false,
pathRewrite
:{
// pathRewrite: { '^/api/eadc-shared-ability': '/eadc-shared-ability' },
"^/api"
:
""
},
'/eadc-architecture'
:
{
target
:
`http://
${
ip
}
:80/`
,
// 架构元模型
changeOrigin
:
true
,
// secure: false,
// pathRewrite: { '^/api/network': '' },
},
'/eadc-knowledge-pool'
:
{
target
:
`http://
${
ip
}
:80/`
,
// 架构知识库
changeOrigin
:
true
,
// secure: false,
// pathRewrite: { '^/api': '' },
},
},
}
},
},
},
},
chainWebpack
:
(
config
)
=>
{
chainWebpack
:
(
config
)
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment