| | |
| | | label-width="100px"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="姓名" prop="realName"> |
| | | <el-input v-model="detailsRow.realName" |
| | | <el-input v-model="detailsRow.realName" |
| | | :style="{ width: '100%' }"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="手机号" prop="phoneNumber"> |
| | | <el-input v-model="detailsRow.userMobile" |
| | | <el-input v-model="detailsRow.userMobile" |
| | | :style="{ width: '100%' }"> |
| | | </el-input> |
| | | </el-form-item> |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | |
| | | </el-form> |
| | | </el-row> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | //详细内容弹框 |
| | | detailsVisible: false, |
| | | //详细内容 |
| | | detailsRow: |
| | | detailsRow: |
| | | { |
| | | } |
| | | , |
| | |
| | | //删除 |
| | | remove(val) { |
| | | this.$http.delete('/api/user/manager', { params: { id: val } }).then(res => { |
| | | this.$message({ |
| | | message: '删除成功', |
| | | type: 'success' |
| | | }) |
| | | console.log(res) |
| | | if (res.data.code==200){ |
| | | this.$message({ |
| | | message: '删除成功', |
| | | type: 'success' |
| | | }) |
| | | }else { |
| | | this.$message({ |
| | | message: res.data.msg, |
| | | type: 'error' |
| | | }) |
| | | } |
| | | |
| | | this.search(); |
| | | }) |
| | |
| | | this.detailsRow.phoneNumber=this.detailsRow.userMobile |
| | | this.$http.put('/api/user/manager',this.detailsRow).then(res => {this.$message({ |
| | | message: '编辑成功', |
| | | type: 'success'} |
| | | type: 'success'} |
| | | ) |
| | | this.search();} |
| | | ); |
| | |
| | | this.$refs.addPublicityForm.validate(async (vaild) => { |
| | | if (!vaild) return this.$message.error('输入有误') |
| | | let param = null; |
| | | param = this.addPublicityForm; |
| | | param = this.addPublicityForm; |
| | | addPublicityList(param).then(res => { |
| | | this.$message({ |
| | | message: '操作成功', |
| | | type: 'success' |
| | | }); |
| | | this.addPublicityForm={}; |
| | | this.addPublicityForm={}; |
| | | this.init(); |
| | | } |
| | | ) |
| | |
| | | ::v-deep(.el-table thead) { |
| | | color: #000000; |
| | | } |
| | | </style> |
| | | </style> |