diff --git a/.env.development b/.env.development
index 18b9ba277..c26b481d7 100644
--- a/.env.development
+++ b/.env.development
@@ -9,7 +9,7 @@ VUE_APP_API_SERVER = http://192.168.1.140/api
# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api
# VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api
-VUE_APP_NODE_ENV=dev_sdtdt
-# VUE_APP_NODE_ENV=dev
+# VUE_APP_NODE_ENV=dev_sdtdt
+VUE_APP_NODE_ENV=dev
#项目根路径
VUE_APP_PUBLIC_PATH=epmet-oper
\ No newline at end of file
diff --git a/src/views/modules/base/community/communityExportInfo.vue b/src/views/modules/base/community/communityExportInfo.vue
new file mode 100644
index 000000000..709dd6253
--- /dev/null
+++ b/src/views/modules/base/community/communityExportInfo.vue
@@ -0,0 +1,818 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+ 预览
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/base/community/communityForm.vue b/src/views/modules/base/community/communityForm.vue
index 3ca8a717f..e25708305 100644
--- a/src/views/modules/base/community/communityForm.vue
+++ b/src/views/modules/base/community/communityForm.vue
@@ -301,6 +301,7 @@ export default {
let { msg, data } = await map.getAddress(lat, lng);
if (msg == "success") {
+ debugger
this.dataForm.address = data.address
this.searchValue = data.address
this.searchOptions = []
@@ -376,7 +377,7 @@ export default {
},
//加载网格
async loadGrid () {
- const url = '/gov/org/grid/allgridsnopermission '
+ const url = '/gov/org/grid/allgridsnopermission'
// const url = "https://epmet-dev.elinkservice.cn:7082/api/apimock-v2/95518686fa128a53f64c678906848062/gov/org/grid/allgrids"
let params = {
agencyId: this.dataForm.agencyId
diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue
index 5415a0285..2e9973164 100644
--- a/src/views/modules/base/community/communityTable.vue
+++ b/src/views/modules/base/community/communityTable.vue
@@ -280,7 +280,7 @@
@dialogOk="addFormOk">
-
@@ -298,11 +298,25 @@
:loading="exportBtn"
@click="handleExportYihuyima()">导出一房一码
-
+
+ -->
+
+
+
@@ -313,6 +327,7 @@
import CommunityForm from './communityForm'
import CommunityDetail from './communityDetail'
+import communityExportInfo from "./communityExportInfo.vue";
import { requestPost } from "@/js/dai/request";
import { mapGetters } from 'vuex'
@@ -345,30 +360,33 @@ export default {
selection: [],
showDeletBtn: false,
-
//form相关
formShow: false,
formTitle: '新增小区',
detailShow: false,
-
files: "",
fileName: "",
uploadUlr: window.SITE_CONFIG['apiURL'] + '/gov/org/neighborhood/import',
yihuyidangDisabled: false,
yihuyimaDisabled: false,
exportBtn: false,
- dialogVisible: false, // 导出
displayedBaobiaoBtn: false,
customerId: '',//烟台的客户id : 1535072605621841922
+
+ //导出
+ exportList: [],
+ diyDialog: false,
+ conditions: [],
}
},
components: {
baobiao,
CommunityForm,
- CommunityDetail
+ CommunityDetail,
+ communityExportInfo
},
async mounted () {
this.customerId = localStorage.getItem('customerId')
@@ -478,7 +496,6 @@ export default {
return isChecked
},
-
diaClose () {
this.$refs.ref_form.resetData()
this.formShow = false
@@ -600,7 +617,6 @@ export default {
this.$emit('refreshTree')
},
-
deleteBatch () {
if (this.selection.length > 0) {
this.$confirm("确认删除选择的小区?", "提示", {
@@ -737,8 +753,78 @@ export default {
})
},
// 导出按钮点击事件
- handleExportOpen () {
- this.dialogVisible = true
+ async handleExportOpen () {
+ await this.getExportList();
+
+ },
+ async getExportList (type) {
+ const url = "/oper/customize//icformitemgroup/list";
+ let params = {
+ formCode: "resi_base_info",
+ };
+
+ const { data, code, msg } = await requestPost(url, params);
+
+ if (code === 0) {
+ //暂无接口
+ let dataTemp = [
+ {
+ childShowFlag: "0",
+ customerId: "45687aa479955f9d06204d415238f7cc",
+ display: false,
+ formCode: "resi_base_info",
+ formId: "20220422102809_1",
+ groupCode: "jcxx",
+ id: "45687aa479955f9d06204d415238f7cc_0",
+ label: "小区信息",
+ policyFlag: "1",
+ sort: 0,
+ supportAdd: false,
+ tableName: "ic_resi_user"
+ },
+ {
+ childShowFlag: "0",
+ customerId: "45687aa479955f9d06204d415238f7cc",
+ display: true,
+ formCode: "resi_base_info",
+ formId: "20220422102809_1",
+ groupCode: "jyxx",
+ id: "20220422102809_101",
+ label: "楼栋信息",
+ policyFlag: "1",
+ sort: 1,
+ supportAdd: false,
+ tableName: "ic_resi_user",
+ },
+ {
+ childShowFlag: "0",
+ customerId: "45687aa479955f9d06204d415238f7cc",
+ display: true,
+ formCode: "resi_base_info",
+ formId: "20220422102809_1",
+ groupCode: "xqah",
+ id: "20220422102809_102",
+ label: "房屋信息",
+ policyFlag: "1",
+ sort: 2,
+ supportAdd: false,
+ tableName: "ic_resi_user",
+ }
+ ]
+ dataTemp.forEach((item) => {
+ (async (id) => {
+ // item.queryItemList = await this.getExportChildList(id)
+ item.queryItemList = [];
+ })(item.id);
+ });
+ this.exportList = [...dataTemp];
+ this.$nextTick(() => {
+ this.diyDialog = true;
+ });
+ console.log("获取详情成功getExportList----", this.exportList);
+ } else {
+ this.$message.error(msg);
+ }
},
//导出表格 以前是导出 现在改成导出房屋数据
async handleExport () {
@@ -765,9 +851,11 @@ export default {
);
},
-
+ handleDiyClose () {
+ this.diyDialog = false;
+ },
handleClose (done) {
- this.dialogVisible = false
+ this.diyDialog = false
},
// 下载文件