diff --git a/src/views/components/resiTransfer.vue b/src/views/components/resiTransfer.vue new file mode 100644 index 00000000..6d8c0232 --- /dev/null +++ b/src/views/components/resiTransfer.vue @@ -0,0 +1,359 @@ + + + + + + + {{ agencyObj.communityName }}—{{agencyObj.label}} + + + + + + 楼房 + 平房 + 别墅 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + \ No newline at end of file diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index c7aee92b..15a09df5 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -1,6 +1,5 @@ - + 查看 + 调动 + 调动记录 提交 + + + + + + @@ -186,11 +205,14 @@ import resiSearch from '../../components/resiSearch.vue' import resiForm from '../../components/resiForm.vue' import editResi from '../../components/editResi.vue' import axios from 'axios' +import resiTransfer from '../../components/resiTransfer.vue' + export default { components: { resiSearch, resiForm, - editResi + editResi, + resiTransfer }, data () { return { @@ -226,7 +248,10 @@ export default { tableHeader: [], tabsList: [], - defaultCategotyKey: '' + defaultCategotyKey: '', + + tranferShow: false, + changeRecordShow: false, } }, props: { @@ -236,6 +261,7 @@ export default { if (this.$route.query) { let query = this.$route.query this.defaultCategotyKey = query.columnName + console.log(this.defaultCategotyKey) await this.getSearchList() this.$refs.resiSearch.handleSearch() } @@ -259,6 +285,21 @@ export default { console.log('storeoooo----0000', this.$store) }, methods: { + + //调动 + handleTransfer (row) { + this.tranferShow = true + }, + //变更记录 + handleChangeRecord (row) { + this.changeRecordShow = true + }, + + diaClose () { + this.tranferShow = false + this.changeRecordShow = false + }, + computedWidth (label) { const wd = 20 * label.length return wd > 80 ? wd : 80