明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
Project
Project
Details
Activity
Releases
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
Administrator
jt_front
Commits
1b3f498c
Commit
1b3f498c
authored
Jan 20, 2026
by
zhanghan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段设置
parent
1190bfc1
Pipeline
#106382
passed with stage
in 18 seconds
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
986 additions
and
7 deletions
+986
-7
routes.js
src/router/routes.js
+7
-0
shareAdd.vue
src/views/everydayPage/shareAdd.vue
+1
-4
construction.vue
src/views/investingManage/construction.vue
+188
-3
constructionAdd.vue
src/views/investingManage/constructionAdd.vue
+790
-0
No files found.
src/router/routes.js
View file @
1b3f498c
...
@@ -121,6 +121,13 @@ const routes = [
...
@@ -121,6 +121,13 @@ const routes = [
title
:
"建设期投资检查"
,
title
:
"建设期投资检查"
,
component
:
()
=>
import
(
"@/views/investingManage/construction.vue"
),
component
:
()
=>
import
(
"@/views/investingManage/construction.vue"
),
},
},
{
path
:
"/constructionAdd"
,
name
:
"constructionAdd"
,
title
:
"建设期投资检查"
,
component
:
()
=>
import
(
"@/views/investingManage/constructionAdd.vue"
),
},
],
],
},
},
{
{
...
...
src/views/everydayPage/shareAdd.vue
View file @
1b3f498c
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
v-for=
"item in options?.sf"
v-for=
"item in options?.sf"
:key=
"item.id"
:key=
"item.id"
:id=
"item.name"
:id=
"item.name"
:value=
"item.
id
"
:value=
"item.
key
"
>
{{ item.name }}
</el-radio
>
{{ item.name }}
</el-radio
>
>
</el-radio-group>
</el-radio-group>
...
@@ -701,9 +701,6 @@ const getRcCgqyglDetail = () => {
...
@@ -701,9 +701,6 @@ const getRcCgqyglDetail = () => {
loading
.
value
=
false
;
loading
.
value
=
false
;
Object
.
assign
(
formData
,
{
Object
.
assign
(
formData
,
{
...
data
,
...
data
,
sfddlrfptj
:
Number
(
data
.
sfddlrfptj
),
xmscjd
:
Number
(
data
.
xmscjd
),
// gszbjyczze: number(gszbjyczze).toFixed(2),
});
});
if
(
data
.
wtyys
)
{
if
(
data
.
wtyys
)
{
Object
.
assign
(
wtyys
.
value
,
data
.
wtyys
);
Object
.
assign
(
wtyys
.
value
,
data
.
wtyys
);
...
...
src/views/investingManage/construction.vue
View file @
1b3f498c
<
template
>
<
template
>
<div>
33333333333333
</div>
<div
class=
"manage-container"
>
<div
class=
"manage-wrap"
>
<div
class=
"manage-header"
>
<div
class=
"header-left"
></div>
<div
class=
"header-right"
>
<el-button
type=
"primary"
@
click=
"constructionAdd"
>
新增
</el-button>
</div>
</div>
<div
class=
"manage-content"
v-loading=
"loading"
>
<common-table
:autoHeight=
"true"
:maxRows=
"10"
:data=
"tableData"
:columns=
"tableColumns"
:total=
"total"
:current-page=
"currentPage"
:page-size=
"pageSize"
:index=
"true"
:indexLabel=
"'序号'"
title=
""
:border=
"true"
@
size-change=
"handleSizeChange"
@
current-page-change=
"handleCurrentPageChange"
>
<template
#
operations=
"
{ row, index }">
<el-button
link
type=
"primary"
size=
"small"
@
click=
"previewStatement(row)"
>
查看
</el-button
>
<el-button
link
type=
"primary"
size=
"small"
@
click=
"editStatement(row)"
>
编辑
</el-button
>
<el-button
link
type=
"danger"
size=
"small"
@
click=
"deleteStatement(row)"
>
删除
</el-button
>
</
template
>
</common-table>
</div>
</div>
</div>
</template>
</template>
<
script
setup
></
script
>
<
style
scoped
lang=
"scss"
></
style
>
<
script
setup
>
import
{
ref
,
onMounted
,
getCurrentInstance
}
from
"vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
ElMessage
,
ElMessageBox
}
from
"element-plus"
;
import
CommonTable
from
"@/components/common/commonTable.vue"
;
const
router
=
useRouter
();
const
{
proxy
}
=
getCurrentInstance
();
let
tableData
=
ref
([]);
let
tableColumns
=
ref
([
{
prop
:
"qc"
,
label
:
"项目全称"
,
showOverflowTooltip
:
true
,
},
{
prop
:
"jc"
,
label
:
"项目简称"
,
showOverflowTooltip
:
true
,
},
{
prop
:
"nbtzglzt"
,
label
:
"内部投资管理主体"
,
showOverflowTooltip
:
true
,
width
:
170
,
},
{
prop
:
"xmscjd"
,
label
:
"项目所处阶段"
,
showOverflowTooltip
:
true
,
width
:
120
,
},
{
prop
:
"gqjg"
,
label
:
"股权结构"
,
showOverflowTooltip
:
true
,
width
:
120
,
},
{
prop
:
"xmzbjze"
,
label
:
"项目资本金总额(亿元)"
,
showOverflowTooltip
:
true
,
width
:
180
,
},
{
prop
:
"operations"
,
label
:
"操作"
,
width
:
170
,
slot
:
"operations"
,
fixed
:
"right"
,
align
:
"center"
,
},
]);
let
loading
=
ref
(
false
);
let
total
=
ref
(
0
);
let
currentPage
=
ref
(
1
);
let
pageSize
=
ref
(
10
);
// 获取列表数据
const
getStatementData
=
()
=>
{
loading
.
value
=
true
;
proxy
.
$post
({
url
:
"/api/project/getCgqyglList"
,
data
:
{
page
:
currentPage
.
value
,
pagesize
:
pageSize
.
value
,
},
callback
:
(
data
)
=>
{
console
.
log
(
data
,
"data"
);
tableData
.
value
=
data
.
rows
;
total
.
value
=
data
.
count
;
loading
.
value
=
false
;
},
});
};
// 分页
const
handleSizeChange
=
(
size
)
=>
{
pageSize
.
value
=
size
;
currentPage
.
value
=
1
;
getStatementData
();
};
const
handleCurrentPageChange
=
(
page
)
=>
{
currentPage
.
value
=
page
;
getStatementData
();
};
const
constructionAdd
=
()
=>
{
router
.
push
(
"/constructionAdd"
);
};
const
editStatement
=
(
item
)
=>
{
router
.
push
({
name
:
"constructionAdd"
,
query
:
{
id
:
item
.
id
,
},
});
};
const
previewStatement
=
(
item
)
=>
{
router
.
push
({
name
:
"constructionAdd"
,
query
:
{
isPreview
:
true
,
id
:
item
.
id
,
},
});
};
const
deleteStatement
=
(
item
)
=>
{
ElMessageBox
.
confirm
(
"确认删除该项?"
,
"提示"
,
{
confirmButtonText
:
"确认"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
proxy
.
$post
({
url
:
"/api/project/deleteCgqygl"
,
data
:
{
id
:
item
.
id
,
},
callback
:
(
data
)
=>
{
ElMessage
.
success
(
"删除成功"
);
getStatementData
();
},
});
})
.
catch
(()
=>
{});
};
onMounted
(()
=>
{
getStatementData
();
});
</
script
>
<
style
scoped
lang=
"less"
>
@import "@/styles/manage.less";
</
style
>
src/views/investingManage/constructionAdd.vue
0 → 100644
View file @
1b3f498c
This diff is collapsed.
Click to expand it.
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