| | |
| | | <span>会议审批</span> |
| | | <div class="button-container"></div> |
| | | <div style="display: flex; align-items: center;"> |
| | | <!-- <el-button size="mini" type="text" v-hasPermi="['person:information:memo']" style="margin-left: 200px"> |
| | | <div class="form"><el-icon style="padding-right:100px;"></el-icon> |
| | | <span class="text" style="width: 69px;height: 26px;font-size: 16px; |
| | | font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">新申请</span> |
| | | </div> |
| | | </el-button> --> |
| | | </div> |
| | | </h1> |
| | | |
| | |
| | | <el-table-column label="操作" align="center" width="250" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | <div class="button-container"> |
| | | <el-button size="mini" type="text">同意</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete">拒绝</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-d-arrow-right">查看详情</el-button> |
| | | <el-button v-show="agree" size="mini" type="text" @click="agree(scope.row)">同意</el-button> |
| | | <el-button v-show="agree" size="mini" type="text" icon="el-icon-delete">拒绝</el-button> |
| | | <el-button v-show="agree1" size="mini" type="text" icon="el-icon-delete">重新审批</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-d-arrow-right" @click="handleCheck(scope.row)">查看详情</el-button> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | people: undefined, |
| | | address: undefined, |
| | | title: undefined, |
| | | remark: undefined |
| | | remark: undefined, |
| | | status: undefined, |
| | | agree1: false, |
| | | agree: true, |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | |
| | | tableRowClassName({ row, rowIndex }) { |
| | | |
| | | if (rowIndex % 2 == 0) { |
| | | return "statistics-warning-row1"; |
| | | } else { |
| | |
| | | return row.id |
| | | }, |
| | | |
| | | agree(row){ |
| | | this.agree1 = true |
| | | this.agree = false |
| | | row.status = '同意' |
| | | |
| | | |
| | | alert(row.status) |
| | | }, |
| | | // 查看详细信息 |
| | | handleCheck(row){ |
| | | const id = row.id; |
| | | let jd = true |
| | | |
| | | this.$router.push({ |
| | | path:"/meeting/approve/approveInfo/" + id, |
| | | query:{ |
| | | detail:jd |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | } |
| | | } |
| | | </script> |