|
|
|
@ -22,6 +22,11 @@ |
|
|
|
|
<el-table-column label="负责人" prop="leader" /> |
|
|
|
|
<el-table-column label="联系方式" prop="phone" /> |
|
|
|
|
<el-table-column label="备注" prop="remark" /> |
|
|
|
|
<el-table-column label="小程序二维码" prop="" > |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button v-hasPermi="['sch:school:create']" type="text" icon="el-icon-edit" @click="handleCreate(scope.row)">生成</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="创建时间" width="160"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span>{{ parseTime(scope.row.createTime) }}</span> |
|
|
|
@ -101,6 +106,11 @@ export default { |
|
|
|
|
this.$refs.dialogForm.init(item); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
handleCreate(item){ |
|
|
|
|
schoolApi.createCode(item.schoolId).then(resp => { |
|
|
|
|
console.log(resp) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 删除操作 |
|
|
|
|
handleDelete(item) { |
|
|
|
|
this.$modal |
|
|
|
|