Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Aug 28, 2024
1 parent 3f52a0a commit e4ec1f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/projects/my.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<Projects :authorid='userinfo.userid' :title="search.title" :description="search.description"
:source='search.source' :order="search.order.type" :type="search.type.type" ref="Projects" showinfo='true'
:state="search.state" :actions="[{ name: '信息', function: openinfo }, { name: '编辑', function: openedit },{ name: '推送', function: pushproject }]">
:state="search.state" :actions="[{ name: '信息', function: openinfo }, { name: '编辑', function: openedit },{ name: '推送页', function: openpushpage }]">
</Projects>
<v-dialog v-model="dialog" max-width="70vw" persistent origin='center center'>

Expand Down Expand Up @@ -79,6 +79,7 @@

<v-card-actions> <v-btn color="error" text="删除" variant="tonal" @click="deleteProject"></v-btn>
<v-btn color="primary" text="保存(旧版)" variant="tonal" @click="SaveProjectsInfoOld"></v-btn>
<v-btn color="text" text="一键推送" variant="tonal" @click="pushproject(nowProject.id)"></v-btn>

<v-spacer></v-spacer>

Expand Down Expand Up @@ -172,6 +173,9 @@ export default {
this.dialog = true
},
openpushpage(id) {
this.$router.push('/projects/' + id+'/push')
},
pushproject(id, info) {
request({
url: "/project/" + id+"/push",
Expand Down

0 comments on commit e4ec1f9

Please sign in to comment.