Browse Source

feature-1.0:完善艺术家管理模块

master
penny 4 years ago
parent
commit
bcb68be43f
  1. 9
      src/api/img/creator.js
  2. 6
      src/views/img/creator/index.vue

9
src/api/img/creator.js

@ -70,12 +70,3 @@ export function verifyUnPass(data) {
}) })
} }
// 获取管理员详情
export function getCreatorDetails(id) {
return request({
url: '/img/img/creator/details/' + id,
method: 'get'
})
}

6
src/views/img/creator/index.vue

@ -114,7 +114,7 @@
<el-table-column label="手机号" align="center" key="phone" prop="phone" v-if="columns[4].visible" width="120" /> <el-table-column label="手机号" align="center" key="phone" prop="phone" v-if="columns[4].visible" width="120" />
<el-table-column label="简介" align="center" key="intro" prop="intro" v-if="columns[5].visible" :show-overflow-tooltip="true" /> <el-table-column label="简介" align="center" key="intro" prop="intro" v-if="columns[5].visible" :show-overflow-tooltip="true" />
<el-table-column label="邀请码" align="center" key="inviteCode" prop="inviteCode" v-if="columns[6].visible" /> <el-table-column label="邀请码" align="center" key="inviteCode" prop="inviteCode" v-if="columns[6].visible" />
<el-table-column label="三方平台账号详情地址" align="center" key="url" prop="url" v-if="columns[7].visible" :show-overflow-tooltip="true" width="180" /> <el-table-column label="三方平台账号地址" align="center" key="url" prop="url" v-if="columns[7].visible" :show-overflow-tooltip="true" width="160" />
<el-table-column label="状态" align="center" key="status" prop="status" v-if="columns[8].visible" width="120"> <el-table-column label="状态" align="center" key="status" prop="status" v-if="columns[8].visible" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.status == '0' ? '待审核' : scope.row.status == '1' ? "审核通过": scope.row.status == '2' ? "审核拒绝":''}} {{scope.row.status == '0' ? '待审核' : scope.row.status == '1' ? "审核通过": scope.row.status == '2' ? "审核拒绝":''}}
@ -239,8 +239,8 @@
<el-input v-model="editForm.intro" type="textarea" placeholder="请输入个人简介"></el-input> <el-input v-model="editForm.intro" type="textarea" placeholder="请输入个人简介"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="18"> <el-col :span="20">
<el-form-item label="三方平台账号详情地址" prop="url"> <el-form-item label="三方平台账号地址" prop="url" label-width="130px">
<el-input v-model="editForm.url" placeholder="请输入第三方平台账号详情地址" maxlength="64" /> <el-input v-model="editForm.url" placeholder="请输入第三方平台账号详情地址" maxlength="64" />
</el-form-item> </el-form-item>
</el-col> </el-col>

Loading…
Cancel
Save