| | |
| | | <span>{{ parseTime(scope.row.createTime) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <el-table-column label="操作" align="center" fixed="right" width="240" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | icon="el-icon-user" |
| | | @click="handleUser(scope.row)" |
| | | >成员 |
| | | </el-button> |
| | |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | class="del-btn" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:dept:remove']" |
| | | >删除 |
| | |
| | | title="机构成员" |
| | | :visible.sync="drawer" |
| | | direction="rtl" |
| | | size="50%"> |
| | | size="500px"> |
| | | <el-table :data="userTable"> |
| | | <el-table-column property="nickName" label="姓名" width="150"></el-table-column> |
| | | <el-table-column property="phonenumber" label="电话" width="200"></el-table-column> |
| | |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项?').then(function () { |
| | | this.$modal.confirm('是否确认删除?').then(function () { |
| | | return delDept(row.deptId); |
| | | }).then(() => { |
| | | this.getList(); |