Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-middle-front
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-middle-front
Commits
19f3caf2
Commit
19f3caf2
authored
Oct 20, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
e6f23f08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
+18
-1
src/views/system/project/index.vue
+18
-1
No files found.
src/views/system/project/index.vue
View file @
19f3caf2
...
@@ -60,6 +60,11 @@
...
@@ -60,6 +60,11 @@
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
label=
"项目名称"
prop=
"projectName"
/>
<el-table-column
label=
"项目名称"
prop=
"projectName"
/>
<el-table-column
prop=
"projectType"
label=
"项目类型"
>
<
template
#
default=
"scope"
>
<dict-tag
:options=
"sys_project_type"
:value=
"scope.row.projectType"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"scope"
label=
"作用域"
>
<el-table-column
prop=
"scope"
label=
"作用域"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<dict-tag
:options=
"sys_scope"
:value=
"scope.row.scope"
/>
<dict-tag
:options=
"sys_scope"
:value=
"scope.row.scope"
/>
...
@@ -158,6 +163,18 @@
...
@@ -158,6 +163,18 @@
<el-form-item
label=
"项目名称"
prop=
"projectName"
>
<el-form-item
label=
"项目名称"
prop=
"projectName"
>
<el-input
v-model=
"form.projectName"
placeholder=
"请输入项目名称"
/>
<el-input
v-model=
"form.projectName"
placeholder=
"请输入项目名称"
/>
</el-form-item>
</el-form-item>
<!-- 项目类型选择 -->
<el-form-item
label=
"项目类型"
>
<el-radio-group
v-model=
"form.projectType"
>
<el-radio
v-for=
"dict in sys_project_type"
:key=
"dict.value"
:value=
"dict.value"
>
{{ dict.label }}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"项目开始时间"
prop=
"startTime"
>
<el-form-item
label=
"项目开始时间"
prop=
"startTime"
>
<el-date-picker
<el-date-picker
v-model=
"form.startTime"
v-model=
"form.startTime"
...
@@ -363,7 +380,7 @@ import ImageUpload from '@/components/ImageUpload/index.vue' //图片上传组
...
@@ -363,7 +380,7 @@ import ImageUpload from '@/components/ImageUpload/index.vue' //图片上传组
const
userStore
=
useUserStore
()
const
userStore
=
useUserStore
()
const
router
=
useRouter
()
const
router
=
useRouter
()
const
{
proxy
}
=
getCurrentInstance
()
const
{
proxy
}
=
getCurrentInstance
()
const
{
sys_status
,
sys_scope
,
sys_no_yes
}
=
proxy
.
useDict
(
'sys_status'
,
'sys_scope'
,
'sys_no_yes
'
)
const
{
sys_status
,
sys_scope
,
sys_no_yes
,
sys_project_type
}
=
proxy
.
useDict
(
'sys_status'
,
'sys_scope'
,
'sys_no_yes'
,
'sys_project_type
'
)
const
projectList
=
ref
([])
const
projectList
=
ref
([])
const
open
=
ref
(
false
)
const
open
=
ref
(
false
)
...
...
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