|
|
@@ -103,12 +103,14 @@ import JModal from '@/components/JModal'
|
|
|
import { listMixin } from '@/mixin/listMixin'
|
|
|
import columns from './indexColumns'
|
|
|
import CheckModel from './CheckAndEditModel'
|
|
|
+import ChangeModel from '../checkList/CheckAndEditModel'
|
|
|
|
|
|
export default {
|
|
|
name: 'BfList',
|
|
|
components: {
|
|
|
JModal,
|
|
|
- CheckModel
|
|
|
+ CheckModel,
|
|
|
+ ChangeModel
|
|
|
},
|
|
|
mixins: [listMixin],
|
|
|
data() {
|
|
|
@@ -149,9 +151,9 @@ export default {
|
|
|
this.$refs.checkForm.disabled = true
|
|
|
},
|
|
|
handleEdit: function(record) {
|
|
|
- this.$refs.checkForm.edit(record)
|
|
|
- this.$refs.checkForm.title = '更换安全工具'
|
|
|
- this.$refs.checkForm.disableSubmit = false
|
|
|
+ this.$refs.changeModel.edit(record)
|
|
|
+ this.$refs.changeModel.title = '更换安全工具'
|
|
|
+ this.$refs.changeModel.disableSubmit = false
|
|
|
},
|
|
|
|
|
|
close() {
|