| | |
| | | <el-button |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDetail(row)" |
| | | @click="handleDel(row)" |
| | | class="red" |
| | | >删除</el-button |
| | | > |
| | |
| | | components: { |
| | | Pagination |
| | | }, |
| | | data() { |
| | | data () { |
| | | return { |
| | | loading: false, |
| | | pagination: { |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | handleSub() { |
| | | handleSub () { |
| | | this.$refs.ruleForm.validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!') |
| | | } |
| | | }) |
| | | }, |
| | | handleEdit() { |
| | | handleEdit (row) { |
| | | this.isShowEdit = true |
| | | }, |
| | | getList(page) { }, |
| | | clear() { }, |
| | | handleSizeChange(capacity) { |
| | | handleDel (row) { |
| | | this.$confirm('确认删除拜访事由', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | |
| | | }) |
| | | }, |
| | | getList (page) { }, |
| | | clear () { }, |
| | | handleSizeChange (capacity) { |
| | | this.pagination.capacity = capacity |
| | | } |
| | | } |