|
@@ -24,7 +24,11 @@
|
|
|
<descriptions-item label="订单类型:">{{
|
|
|
auditDto.payUserType | payUserTypeFormat
|
|
|
}}</descriptions-item>
|
|
|
- <descriptions-item label="学员数量:">{{ studentNum }}</descriptions-item>
|
|
|
+ <descriptions-item label="学员数量:">
|
|
|
+ <span>{{ studentNum }} <el-link v-if="studentNum > 0"
|
|
|
+ type="primary"
|
|
|
+ @click="payVisible = true">查看学员</el-link></span>
|
|
|
+ </descriptions-item>
|
|
|
</descriptions>
|
|
|
<el-alert title="课程信息"
|
|
|
:closable="false"
|
|
@@ -78,6 +82,31 @@
|
|
|
<descriptions-item label="缴费有效期:">{{ auditDto.paymentValidStartDate }} -
|
|
|
{{ auditDto.paymentValidEndDate }}</descriptions-item>
|
|
|
</descriptions>
|
|
|
+ <el-dialog :visible.sync="payVisible"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ append-to-body
|
|
|
+ width="600px"
|
|
|
+ title="查看学员">
|
|
|
+ <el-table :data="simpleUserDto">
|
|
|
+ <el-table-column prop="userName"
|
|
|
+ label="姓名"
|
|
|
+ width="180">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="subjectNames"
|
|
|
+ label="声部"
|
|
|
+ width="180">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="phone"
|
|
|
+ label="手机号"
|
|
|
+ width="180">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <span slot="footer"
|
|
|
+ class="dialog-footer">
|
|
|
+ <el-button type="primary"
|
|
|
+ @click="payVisible = false">关 闭</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -95,6 +124,7 @@ export default {
|
|
|
props: ["detail"],
|
|
|
data () {
|
|
|
return {
|
|
|
+ payVisible: false,
|
|
|
...initData,
|
|
|
};
|
|
|
},
|