|
@@ -156,7 +156,7 @@
|
|
<el-button type="primary" v-show="scope.row.state==0" style="width: 74px;" class="bt1" size="mini" @click="Audit(scope.row)">审核</el-button>
|
|
<el-button type="primary" v-show="scope.row.state==0" style="width: 74px;" class="bt1" size="mini" @click="Audit(scope.row)">审核</el-button>
|
|
<el-button type="primary" disabled v-show="scope.row.state==1" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;" class="bt1" size="mini">已审核</el-button>
|
|
<el-button type="primary" disabled v-show="scope.row.state==1" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;" class="bt1" size="mini">已审核</el-button>
|
|
<el-button type="primary" class="bt1" size="mini" @click="edit(scope.row.id,scope.row.status)">申请表</el-button>
|
|
<el-button type="primary" class="bt1" size="mini" @click="edit(scope.row.id,scope.row.status)">申请表</el-button>
|
|
- <el-button type="primary" class="bt1" size="mini">完结</el-button>
|
|
|
|
|
|
+ <el-button @click="endDialogShow" type="primary" class="bt1" size="mini">完结</el-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -401,7 +401,7 @@
|
|
<div class="addDialogLogo">LOGO</div>
|
|
<div class="addDialogLogo">LOGO</div>
|
|
<span class="deleteContent">确定完结?</span>
|
|
<span class="deleteContent">确定完结?</span>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
- <el-button type="primary" @click="confirmDel" >确认删除</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="confirmEnd" >确认完结</el-button>
|
|
<el-button @click="dialogVisible1=false" >取消</el-button>
|
|
<el-button @click="dialogVisible1=false" >取消</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -474,6 +474,27 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
|
|
+ confirmEnd(){ //确定完结
|
|
|
|
+ let param={
|
|
|
|
+ uid:this.$store.state.userInfo.userid,
|
|
|
|
+ }
|
|
|
|
+ this.ajax
|
|
|
|
+ .post(this.$store.state.api+"/",param)
|
|
|
|
+ .then(res=>{
|
|
|
|
+ // console.log(res);
|
|
|
|
+ this.dialogVisible1=false;
|
|
|
|
+ if (res.data) {
|
|
|
|
+ this.$message.success('已完结')
|
|
|
|
+ }else{
|
|
|
|
+ this.$message.error('完结失败')
|
|
|
|
+ }
|
|
|
|
+ },err=>{
|
|
|
|
+ console.log(err);
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ endDialogShow(){ //完结对话框显示
|
|
|
|
+ this.dialogVisible1=true
|
|
|
|
+ },
|
|
handleCurrentChange(val) { //当页数发生改变的时候调用获取列表数据请求
|
|
handleCurrentChange(val) { //当页数发生改变的时候调用获取列表数据请求
|
|
// console.log(`当前页: ${val}`);
|
|
// console.log(`当前页: ${val}`);
|
|
this.table.currentPage=val
|
|
this.table.currentPage=val
|
|
@@ -507,21 +528,21 @@
|
|
edit(){
|
|
edit(){
|
|
|
|
|
|
},
|
|
},
|
|
- handleSelectionChange(val) {
|
|
|
|
- this.multipleSelection = val;
|
|
|
|
- },
|
|
|
|
- apply(){
|
|
|
|
|
|
+ // handleSelectionChange(val) { //批量选择
|
|
|
|
+ // this.multipleSelection = val;
|
|
|
|
+ // },
|
|
|
|
+ apply(){ //创客资金申请跳转界面
|
|
this.$router.push('/makerfundApply')
|
|
this.$router.push('/makerfundApply')
|
|
},
|
|
},
|
|
- init(){
|
|
|
|
|
|
+ init(){
|
|
this.dialogVisible=false
|
|
this.dialogVisible=false
|
|
},
|
|
},
|
|
- Audit(val){
|
|
|
|
|
|
+ Audit(val){ //显示审核对话框
|
|
console.log(val);
|
|
console.log(val);
|
|
this.ProjectFundData=val;
|
|
this.ProjectFundData=val;
|
|
this.dialogVisible=true;
|
|
this.dialogVisible=true;
|
|
},
|
|
},
|
|
- details(Id){
|
|
|
|
|
|
+ details(Id){ //跳转详情页面
|
|
this.$router.push(`/makerfundDetails?Id=${Id}`)
|
|
this.$router.push(`/makerfundDetails?Id=${Id}`)
|
|
}
|
|
}
|
|
},
|
|
},
|