|
|
@@ -180,6 +180,7 @@ import search from "./search"; |
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
|
|
|
import Treeselect from "@riophae/vue-treeselect"; // 下拉树 |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import api from "@/api/chain/assessmentContent" |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
search, |
|
|
@@ -202,7 +203,20 @@ export default { |
|
|
|
dialogTitle: "", |
|
|
|
}; |
|
|
|
}, |
|
|
|
created(){ |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getList(){ |
|
|
|
this.loading=true; |
|
|
|
api.getList(Object.assign({},this.searchParams)).then(res=>{ |
|
|
|
this.dataList=res.data.data; |
|
|
|
}).catch(e=>{ |
|
|
|
this.dataList=[]; |
|
|
|
}).finally(()=>{ |
|
|
|
this.loading=false; |
|
|
|
}) |
|
|
|
}, |
|
|
|
edit(index, ind) { |
|
|
|
this.showEdit = true; |
|
|
|
let title = "新增考核内容"; |