|
|
|
@ -423,7 +423,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { requestPost, requestGet } from "@/js/dai/request"; |
|
|
|
import { requestPost } from "@/js/dai/request"; |
|
|
|
import nextTick from "dai-js/tools/nextTick"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import axios from "axios"; |
|
|
|
@ -457,10 +457,7 @@ export default { |
|
|
|
importLoading: false, |
|
|
|
addHouseShow: false, |
|
|
|
dialogType: 'look', // 对话框是check审核还是look查看 |
|
|
|
relationshipOptions: [ |
|
|
|
{ label: '本人', value: '0' }, |
|
|
|
{ label: '父母', value: '1' } |
|
|
|
] |
|
|
|
relationshipOptions: [] |
|
|
|
} |
|
|
|
}, |
|
|
|
components: { |
|
|
|
@ -492,16 +489,16 @@ export default { |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
// this.getcommunityList(); |
|
|
|
// this.getDictList() |
|
|
|
this.getDictList() |
|
|
|
this.getTableData() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
async getDictList() { |
|
|
|
const url = "/sys/dict/data/relationship" |
|
|
|
const { data, code, msg } = await requestGet(url) |
|
|
|
const { data, code, msg } = await requestPost(url, { formCode: "resi_base_info" }) |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
this.relationshipOptions = { ...res.data } |
|
|
|
this.relationshipOptions = [ ...data ] |
|
|
|
} else { |
|
|
|
this.$message.success("操作失败!") |
|
|
|
} |
|
|
|
|