diff --git a/src/views/modules/base/community/communityDetail.vue b/src/views/modules/base/community/communityDetail.vue
index fbb8ae91e..b04e4f30f 100644
--- a/src/views/modules/base/community/communityDetail.vue
+++ b/src/views/modules/base/community/communityDetail.vue
@@ -36,7 +36,7 @@
实有楼栋:
@@ -115,6 +115,13 @@ export default {
async initForm (row) {
this.dataForm = JSON.parse(JSON.stringify(row))
+ let propertyShowList = []
+ this.dataForm.propertyList.forEach(element => {
+ propertyShowList.push(element.name)
+ });
+
+ this.dataForm.propertyShow = propertyShowList.join(',')
+
this.initLoading = true
this.$nextTick(() => {
diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue
index cf0d1b125..5c92033ec 100644
--- a/src/views/modules/base/community/roomTable.vue
+++ b/src/views/modules/base/community/roomTable.vue
@@ -453,7 +453,7 @@ export default {
},
detailFormCancle () {
- this.$refs.ref_form_detail.diaDestroy()
+ // this.$refs.ref_form_detail.diaDestroy()
this.detailShow = false
},
diff --git a/src/views/modules/base/huji/chusheng/cpts/detail.vue b/src/views/modules/base/huji/chusheng/cpts/detail.vue
new file mode 100644
index 000000000..603592f0e
--- /dev/null
+++ b/src/views/modules/base/huji/chusheng/cpts/detail.vue
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+
+ 所属网格:
+ {{ fmData.gridName }}
+
+
+
+ 所属房屋:
+ {{ fmData.homeAllName ?fmData.homeAllName :'--' }}
+
+
+
+ 姓名:
+ {{ fmData.name}}
+
+
+
+ 手机号:
+ {{ fmData.mobile?fmData.mobile:'--'}}
+
+
+
+ 证件号:
+ {{ fmData.idCard?fmData.idCard:'--'}}
+
+
+ 性别:
+ {{fmData.gender==='1' ?'男' :fmData.gender==='2'?'女':'未知' }}
+
+
+
+ 出生日期:
+ {{ fmData.birthday?fmData.birthday:'--' }}
+
+
+ 出生地:
+ {{ fmData.birthplace?fmData.birthplace:'--' }}
+
+
+ 出生父亲姓名:
+ {{ fmData.father?fmData.father:'--' }}
+
+
+ 出生母亲姓名:
+ {{ fmData.mother?fmData.mother:'--' }}
+
+
+ 胎次:
+ {{ fmData.count? fmData.count:0}}
+
+
+ 申报户口日期:
+ {{ fmData.reportDate?fmData.reportDate:'--' }}
+
+
+ 户主姓名:
+ {{ fmData.householderName? fmData.householderName:'--' }}
+
+
+ 与户主关系:
+ {{ fmData.householderRelationName ? fmData.householderRelationName :'--' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/huji/chusheng/index.vue b/src/views/modules/base/huji/chusheng/index.vue
index fca0d3e4a..ec866fedf 100644
--- a/src/views/modules/base/huji/chusheng/index.vue
+++ b/src/views/modules/base/huji/chusheng/index.vue
@@ -1,30 +1,26 @@
-
-
+
+
-
+
-
-
+
+
@@ -32,76 +28,60 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -109,239 +89,205 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
- 查询
- 重置
+ 查询
+ 重置
- 出生登记
- 下载模板
-
- {{ importBtnTitle }}
+ 出生登记
+ 下载模板
+
+ {{ importBtnTitle }}
- 导出
+ 导出
-
-
-
-
+
+
+
+
-
+
{{ scope.row.name }}
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- 修改
-
-
- 删除
+ 修改
+
+
+ 删除
-
+
-
-
+
+
+
+
+
+
+
@@ -416,16 +360,18 @@ import { requestPost } from "@/js/dai/request";
import nextTick from "dai-js/tools/nextTick";
import { mapGetters } from "vuex";
import editForm from "./cpts/edit";
+import detailForm from "./cpts/detail";
import axios from "axios";
export default {
- components: { editForm },
- data() {
+ components: { editForm, detailForm },
+ data () {
return {
openSearch: false,
formShow: false,
formTitle: "出生登记",
+ detailShow: false,
pageNo: 1,
pageSize: window.localStorage.getItem("pageSize") || 20,
@@ -478,19 +424,19 @@ export default {
};
},
computed: {
- maxTableHeight() {
+ maxTableHeight () {
return this.$store.state.inIframe
? this.clientHeight - 360 + this.iframeHeigh
: this.clientHeight - 360;
},
...mapGetters(["clientHeight", "iframeHeight"]),
- changeVDisabled() {
+ changeVDisabled () {
return !this.fmData.villageId;
},
- changeBDisabled() {
+ changeBDisabled () {
return !this.fmData.buildId;
},
- changeDDisabled() {
+ changeDDisabled () {
return !this.fmData.unitId;
},
},
@@ -505,26 +451,26 @@ export default {
}
},
},
- mounted() {
+ mounted () {
this.getGridList();
this.getValiheList();
this.getTableData();
},
methods: {
- handleClearVillage() {
+ handleClearVillage () {
this.fmData.buildId = "";
this.fmData.homeId = "";
},
- handleClearBuild() {
+ handleClearBuild () {
this.fmData.buildId = "";
this.fmData.unitId = "";
this.fmData.homeId = "";
},
- handleClearDan() {
+ handleClearDan () {
this.fmData.unitId = "";
this.fmData.homeId = "";
},
- handleChangeGrid(val) {
+ handleChangeGrid (val) {
console.log("val", val);
this.fmData.villageId = "";
this.fmData.buildId = "";
@@ -532,26 +478,26 @@ export default {
this.fmData.homeId = "";
this.getValiheList();
},
- handleChangeV(val) {
+ handleChangeV (val) {
console.log("val", val);
this.fmData.buildId = "";
this.fmData.unitId = "";
this.fmData.homeId = "";
this.getBuildList();
},
- handleChangeB(val) {
+ handleChangeB (val) {
console.log("val", val);
this.fmData.unitId = "";
this.fmData.homeId = "";
this.getUniList();
},
- handleChangeD(val) {
+ handleChangeD (val) {
console.log("val", val);
this.fmData.homeId = "";
this.getHouseList();
},
- getGridList() {
+ getGridList () {
const { user } = this.$store.state;
this.$http
.post("/gov/org/customergrid/gridoption", {
@@ -570,7 +516,7 @@ export default {
return this.$message.error("网络错误");
});
},
- getValiheList() {
+ getValiheList () {
const { user } = this.$store.state;
this.$http
.post("/gov/org/icneighborhood/neighborhoodoption", {
@@ -590,7 +536,7 @@ export default {
return this.$message.error("网络错误");
});
},
- getBuildList() {
+ getBuildList () {
this.$http
.post("/gov/org/icbuilding/buildingoption", {
neighborHoodId: this.fmData.villageId,
@@ -607,7 +553,7 @@ export default {
return this.$message.error("网络错误");
});
},
- getUniList() {
+ getUniList () {
this.$http
.post("/gov/org/icbuildingunit/unitoption", {
buildingId: this.fmData.buildId,
@@ -624,7 +570,7 @@ export default {
return this.$message.error("网络错误");
});
},
- getHouseList() {
+ getHouseList () {
this.$http
.post("/gov/org/ichouse/houseoption", { unitId: this.fmData.unitId })
.then(({ data: res }) => {
@@ -640,7 +586,7 @@ export default {
});
},
- async handleExportModule() {
+ async handleExportModule () {
let url = "/heart/iccommunityselforganization/import-template-download";
let params = {};
@@ -677,18 +623,18 @@ export default {
});
},
// 上传大图标成功
- handleExcelSuccess(res, file) {
+ handleExcelSuccess (res, file) {
if (res.code === 0 && res.msg === "success") {
console.log("resss---ppp", res);
} else {
this.$message.error(res.msg);
}
},
- handleProgress(event, file, fileList) {
+ handleProgress (event, file, fileList) {
console.log("percentage", file.percentage);
},
- beforeExcelUpload(file) {
+ beforeExcelUpload (file) {
console.log("file", file);
const isType = file.type === "application/vnd.ms-excel";
const isTypeComputer =
@@ -705,7 +651,7 @@ export default {
}
return fileType && isLt1M;
},
- async uploadHttpRequest(file) {
+ async uploadHttpRequest (file) {
this.importLoading = true;
this.importBtnTitle = "正在上传中...";
this.$message({
@@ -760,38 +706,38 @@ export default {
this.$refs.upload.clearFiles();
},
- handleSizeChange(val) {
+ handleSizeChange (val) {
console.log(`每页 ${val} 条`);
this.pageSize = val;
window.localStorage.setItem("pageSize", val);
this.getTableData();
},
- handleCurrentChange(val) {
+ handleCurrentChange (val) {
console.log(`当前页: ${val}`);
this.pageNo = val;
this.getTableData();
},
- handleClose() {
+ handleClose () {
this.formShow = false;
},
- handleSearch(val) {
+ handleSearch (val) {
console.log(this.fmData);
this.pageNo = 1;
this.getTableData();
},
- resetForm(formName) {
+ resetForm (formName) {
this.$refs[formName].resetFields();
this.handleSearch();
},
- async handleAdd() {
+ async handleAdd () {
this.formShow = true;
await nextTick();
console.log(this.$refs);
this.$refs.eleEditForm.initForm("add");
},
- async handleChu() {
+ async handleChu () {
const url = "/epmetuser/icBirthRecord/export";
const { pageSize, pageNo, fmData } = this;
axios({
@@ -826,23 +772,33 @@ export default {
});
},
- async handleWatch(rowIndex) {
- this.formShow = true;
- await nextTick();
- this.$refs.eleEditForm.initForm("detail", this.tableData[rowIndex]);
+ async handleWatch (rowIndex) {
+ // this.formShow = true;
+ // await nextTick();
+ // this.$refs.eleEditForm.initForm("detail", this.tableData[rowIndex]);
+ this.detailShow = true
+
+ this.$nextTick(() => {
+ this.$refs.ref_form_detail.initForm(this.tableData[rowIndex])
+ })
+ },
+
+ detailFormCancle () {
+
+ this.detailShow = false
},
- async handleEdit(rowIndex) {
+ async handleEdit (rowIndex) {
this.formShow = true;
await nextTick();
this.$refs.eleEditForm.initForm("edit", this.tableData[rowIndex]);
},
- handleEditSuccess() {
+ handleEditSuccess () {
this.handleClose();
this.getTableData();
},
- async handleDel(rowData, rowIndex) {
+ async handleDel (rowData, rowIndex) {
console.log(rowData, rowIndex);
const url =
"/heart/iccommunityselforganization/delcommunityselforganization";
@@ -860,7 +816,7 @@ export default {
}
},
- async getTableData() {
+ async getTableData () {
const url = "/epmetuser/icBirthRecord/page";
const { pageSize, pageNo, fmData } = this;
const { data, code, msg } = await requestPost(url, {
@@ -873,8 +829,8 @@ export default {
this.total = data.total || 0;
this.tableData = data.list
? data.list.map((item) => {
- return item;
- })
+ return item;
+ })
: [];
} else {
}
diff --git a/src/views/modules/base/huji/immigration/detail.vue b/src/views/modules/base/huji/immigration/detail.vue
new file mode 100644
index 000000000..703f18a93
--- /dev/null
+++ b/src/views/modules/base/huji/immigration/detail.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+
+
+ 所属网格:
+ {{ fmData.gridName }}
+
+
+
+ 所属房屋:
+ {{ fmData.allName?fmData.allName:'--' }}
+
+
+
+ 姓名:
+ {{ fmData.name}}
+
+
+
+ 手机号:
+ {{ fmData.mobile?fmData.mobile:'--'}}
+
+
+
+ 证件号:
+ {{ fmData.idCard?fmData.idCard:'--'}}
+
+
+ 性别:
+ {{fmData.genderName?fmData.genderName:'--' }}
+
+
+
+ 年龄:
+ {{ fmData.age?fmData.age:'--' }}
+
+
+ 迁入日期:
+ {{ fmData.inTime?fmData.inTime:'--' }}
+
+
+ 迁入原因:
+ {{ fmData.inReason?fmData.inReason:'--' }}
+
+
+ 来源地:
+ {{ fmData.sourceAddress?fmData.sourceAddress:'--' }}
+
+
+ 详细地址:
+ {{ fmData.address? fmData.address:'--'}}
+
+
+ 迁移证号码:
+ {{ fmData.moveNumber?fmData.moveNumber:'--' }}
+
+
+ 户主姓名:
+ {{ fmData.householderName? fmData.householderName:'--' }}
+
+
+ 与户主关系:
+ {{ fmData.householderRelationName? fmData.householderRelationName:'--' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/base/huji/immigration/index.vue b/src/views/modules/base/huji/immigration/index.vue
index 8f4673564..95ee697f1 100644
--- a/src/views/modules/base/huji/immigration/index.vue
+++ b/src/views/modules/base/huji/immigration/index.vue
@@ -1,30 +1,26 @@
-
-
+
+
-
+
-
-
+
+
@@ -33,76 +29,60 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -112,312 +92,271 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
- 查询
- 重置
+ 查询
+ 重置
- 迁入登记
- 下载模板
-
- {{ importBtnTitle }}
+ 迁入登记
+ 下载模板
+
+ {{ importBtnTitle }}
- 导出
+ 导出
-
-
-
-
+
+
+
+
-
+
{{ scope.row.name }}
-
+
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- 查看
-
- 修改
-
-
- 删除
+ 查看
+
+ 修改
+
+
+ 删除
-
+
-
-
+
+
+
+
+
+
+
@@ -427,16 +366,19 @@ import { requestPost } from '@/js/dai/request'
import nextTick from 'dai-js/tools/nextTick'
import { mapGetters } from 'vuex'
import editForm from './edit'
+import detailForm from './detail'
import axios from 'axios'
export default {
- components: { editForm },
- data() {
+ components: { editForm, detailForm },
+ data () {
return {
openSearch: false,
formShow: false,
+ detailShow: false,
formTitle: '迁入登记',
+ detailShow: false,
pageNo: 1,
pageSize: window.localStorage.getItem('pageSize') || 20,
@@ -485,7 +427,7 @@ export default {
},
computed: {
...mapGetters(['clientHeight', 'iframeHeight']),
- maxTableHeight() {
+ maxTableHeight () {
console.log('computed-searchH---', this.searchH)
const h = this.clientHeight - this.searchH + this.iframeHeight
const _h = this.clientHeight - this.searchH
@@ -494,13 +436,13 @@ export default {
},
- changeVDisabled() {
+ changeVDisabled () {
return !this.fmData.villageId
},
- changeBDisabled() {
+ changeBDisabled () {
return !this.fmData.buildId
},
- changeDDisabled() {
+ changeDDisabled () {
return !this.fmData.unitId
}
},
@@ -515,7 +457,7 @@ export default {
this.fmData.endTime = ''
}
},
- searchH() {
+ searchH () {
const h = this.clientHeight - this.searchH + this.iframeHeight
const _h = this.clientHeight - this.searchH
console.log('computed-searchH---_h', _h)
@@ -525,7 +467,7 @@ export default {
})
}
},
- mounted() {
+ mounted () {
this.getGridList()
this.getValiheList()
this.getTableData()
@@ -533,20 +475,20 @@ export default {
console.log('searchH----', this.$refs.searchCard.$el.offsetHeight)
},
methods: {
- handleClearVillage() {
+ handleClearVillage () {
this.fmData.buildId = ''
this.fmData.homeId = ''
},
- handleClearBuild() {
+ handleClearBuild () {
this.fmData.buildId = ''
this.fmData.unitId = ''
this.fmData.homeId = ''
},
- handleClearDan() {
+ handleClearDan () {
this.fmData.unitId = ''
this.fmData.homeId = ''
},
- handleChangeGrid(val) {
+ handleChangeGrid (val) {
console.log('val', val)
this.fmData.villageId = ''
this.fmData.buildId = ''
@@ -554,26 +496,26 @@ export default {
this.fmData.homeId = ''
this.getValiheList()
},
- handleChangeV(val) {
+ handleChangeV (val) {
console.log('val', val)
this.fmData.buildId = ''
this.fmData.unitId = ''
this.fmData.homeId = ''
this.getBuildList()
},
- handleChangeB(val) {
+ handleChangeB (val) {
console.log('val', val)
this.fmData.unitId = ''
this.fmData.homeId = ''
this.getUniList()
},
- handleChangeD(val) {
+ handleChangeD (val) {
console.log('val', val)
this.fmData.homeId = ''
this.getHouseList()
},
- getGridList() {
+ getGridList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/customergrid/gridoption', {
@@ -592,7 +534,7 @@ export default {
return this.$message.error('网络错误')
})
},
- getValiheList() {
+ getValiheList () {
const { user } = this.$store.state
this.$http
.post('/gov/org/icneighborhood/neighborhoodoption', {
@@ -612,7 +554,7 @@ export default {
return this.$message.error('网络错误')
})
},
- getBuildList() {
+ getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.fmData.villageId
@@ -629,7 +571,7 @@ export default {
return this.$message.error('网络错误')
})
},
- getUniList() {
+ getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
buildingId: this.fmData.buildId
@@ -646,7 +588,7 @@ export default {
return this.$message.error('网络错误')
})
},
- getHouseList() {
+ getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.fmData.unitId })
.then(({ data: res }) => {
@@ -662,7 +604,7 @@ export default {
})
},
- async handleExportModule() {
+ async handleExportModule () {
let url = '/heart/iccommunityselforganization/import-template-download'
let params = {}
@@ -699,18 +641,18 @@ export default {
})
},
// 上传大图标成功
- handleExcelSuccess(res, file) {
+ handleExcelSuccess (res, file) {
if (res.code === 0 && res.msg === 'success') {
console.log('resss---ppp', res)
} else {
this.$message.error(res.msg)
}
},
- handleProgress(event, file, fileList) {
+ handleProgress (event, file, fileList) {
console.log('percentage', file.percentage)
},
- beforeExcelUpload(file) {
+ beforeExcelUpload (file) {
console.log('file', file)
const isType = file.type === 'application/vnd.ms-excel'
const isTypeComputer =
@@ -727,7 +669,7 @@ export default {
}
return fileType && isLt1M
},
- async uploadHttpRequest(file) {
+ async uploadHttpRequest (file) {
this.importLoading = true
this.importBtnTitle = '正在上传中...'
this.$message({
@@ -782,38 +724,38 @@ export default {
this.$refs.upload.clearFiles()
},
- handleSizeChange(val) {
+ handleSizeChange (val) {
console.log(`每页 ${val} 条`)
this.pageSize = val
window.localStorage.setItem('pageSize', val)
this.getTableData()
},
- handleCurrentChange(val) {
+ handleCurrentChange (val) {
console.log(`当前页: ${val}`)
this.pageNo = val
this.getTableData()
},
- handleClose() {
+ handleClose () {
this.formShow = false
},
- handleSearch(val) {
+ handleSearch (val) {
console.log(this.fmData)
this.pageNo = 1
this.getTableData()
},
- resetForm(formName) {
+ resetForm (formName) {
this.$refs[formName].resetFields()
this.handleSearch()
},
- async handleAdd() {
+ async handleAdd () {
this.formShow = true
await nextTick()
console.log(this.$refs)
this.$refs.eleEditForm.initForm('add')
},
- async handleChu() {
+ async handleChu () {
const url =
'/epmetuser/icMoveIn/export'
const { pageSize, pageNo, fmData } = this
@@ -875,7 +817,7 @@ export default {
// return this.$message.error('网络错误')
// })
},
- formatData(res) {
+ formatData (res) {
const fileReader = new FileReader()
fileReader.onloadend = () => {
try {
@@ -891,7 +833,7 @@ export default {
}
fileReader.readAsText(res.data)
},
- downloadFile(res) {
+ downloadFile (res) {
if (res.headers["content-disposition"]) {
let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1])
console.log('filename', fileName)
@@ -910,23 +852,35 @@ export default {
} else this.$message.error('下载失败')
},
- async handleWatch(rowIndex) {
- this.formShow = true
- await nextTick()
- this.$refs.eleEditForm.initForm('detail', this.tableData[rowIndex].moveInId)
+ async handleWatch (rowIndex) {
+ // this.formShow = true
+ // await nextTick()
+ // this.$refs.eleEditForm.initForm('detail', this.tableData[rowIndex].moveInId)
+
+ this.detailShow = true
+
+ this.$nextTick(() => {
+ this.$refs.ref_form_detail.initForm(this.tableData[rowIndex].moveInId)
+ })
+
},
- async handleEdit(rowIndex) {
+ detailFormCancle () {
+
+ this.detailShow = false
+ },
+
+ async handleEdit (rowIndex) {
this.formShow = true
await nextTick()
this.$refs.eleEditForm.initForm('edit', this.tableData[rowIndex].moveInId)
},
- handleEditSuccess() {
+ handleEditSuccess () {
this.handleClose()
this.getTableData()
},
- async handleDel(rowData, rowIndex) {
+ async handleDel (rowData, rowIndex) {
console.log(rowData, rowIndex)
const url =
'/heart/iccommunityselforganization/delcommunityselforganization'
@@ -944,7 +898,7 @@ export default {
}
},
- async getTableData() {
+ async getTableData () {
const url = '/epmetuser/icMoveIn/list'
const { pageSize, pageNo, fmData } = this
const { data, code, msg } = await requestPost(url, {
@@ -957,8 +911,8 @@ export default {
this.total = data.total || 0
this.tableData = data.list
? data.list.map((item) => {
- return item
- })
+ return item
+ })
: []
} else {
}
@@ -968,7 +922,7 @@ export default {