| | |
| | | top='-40px'> |
| | | <el-table |
| | | ref="TableBox" |
| | | v-loading="TableLoading" |
| | | :data="Crud.data" |
| | | border |
| | | style="width: 100%" |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button plain type="primary" @click="SaveHandler">保存</el-button> |
| | | <el-button plain type="primary" @click="SaveHandler" v-loading="BtnLoading">保存</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | name: "Statistic", |
| | | data() { |
| | | return { |
| | | TableLoading: false, |
| | | BtnLoading: false, |
| | | loading: true, |
| | | Crud: { |
| | | form: '', |
| | |
| | | this.$message.warning('请选择一条数据!'); |
| | | return; |
| | | } |
| | | this.TableLoading = true; |
| | | this.BtnLoading = true; |
| | | try { |
| | | const {data: {code}} = await save(this.userId, this.SelectRow.map(item => item.code)); |
| | | if (code === 200) { |
| | |
| | | this.option.data = []; |
| | | this.MasterGetList(); |
| | | this.dialogTableVisible = false; |
| | | this.TableLoading = false; |
| | | this.BtnLoading = false; |
| | | this.loading = true; |
| | | this.FontInfo(); |
| | | } |
| | | } catch { |
| | | this.TableLoading = false; |
| | | this.BtnLoading = false; |
| | | } |
| | | }, |
| | | MoreHandler() { |
| | |
| | | } |
| | | }) |
| | | }) |
| | | |
| | | // console.log(checkedrow) |
| | | this.$nextTick(() => { |
| | | checkedrow.forEach(row => { |