Commit 19d99c23 authored by “lixuyan”'s avatar “lixuyan”

调整细节

parent fa34f1fe
......@@ -53,12 +53,12 @@ export default {
},
mounted() {
this.$bus.$on('completeEvent', (res) => {
this.$message({
message: '保存成功',
type: 'success'
})
this.$utils.showMessageSuccess('保存成功')
})
},
beforeDestroy() {
this.$bus.$off('completeEvent')
},
// 组件方法
methods: {
getFormData(id) {
......
......@@ -149,7 +149,7 @@
</template>
<script>
let timer = null
let timer1 = null
import { post } from '@/utils/http'
export default {
components: {},
......@@ -281,8 +281,8 @@ export default {
return label
},
rowClick(row) {
clearTimeout(timer)
timer = setTimeout(() => {
clearTimeout(timer1)
timer1 = setTimeout(() => {
this.rowData = row
this.$parent.$parent.$parent.$refs.footer.getTableData(this.rowData.id)
}, 300)
......@@ -382,7 +382,7 @@ export default {
this.timer = null
},
deeTableEdit(row, column, cell, event) {
clearTimeout(timer)
clearTimeout(timer1)
var that = this
if (column.property === 'needTime') {
row.needTimeSelect = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment