Commit ef905027 by Cat

zd 社团修改

parent 882da7ea
...@@ -14,9 +14,8 @@ export function getsigninInfo(query) { ...@@ -14,9 +14,8 @@ export function getsigninInfo(query) {
// 获取社团报名审核详细信息 // 获取社团报名审核详细信息
export function listsigninInfo(id) { export function listsigninInfo(id) {
return request({ return request({
url: '/signin/'+ id, url: `/signin/${id}`,
method: 'get', method: 'get',
}) })
} }
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
>不同意</el-button >不同意</el-button
> >
</div> </div>
<el-button @click="handleDelete(scope.row)" type="text" size="small" <el-button @click="handQuery(scope.row)" type="text" size="small"
>查看</el-button >查看</el-button
> >
</template> </template>
...@@ -221,14 +221,18 @@ export default { ...@@ -221,14 +221,18 @@ export default {
this.resetForm("form"); this.resetForm("form");
}, },
// 查看 // 查看
handleDelete(row) { handQuery(row) {
console.log(row, "查看row");
this.reset(); this.reset();
const ids = row.id || this.ids; const ids = row.id;
this.title = "社团报名审核";
this.dialogTableVisible = true;
// this.form = row;
listsigninInfo(ids).then((response) => { listsigninInfo(ids).then((response) => {
// console.log("response", response); console.log(ids, "id");
if (response.data && response.data.name) {
this.form = response.data; this.form = response.data;
this.dialogTableVisible = true; }
this.title = "社团报名审核";
}); });
}, },
// 同意 // 同意
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment