+
-
-
-
-
-
-
+
+
+
-
-
-
-
+
+
-
-
-
-
+
+
-
+
已完成
-
-
-
-
-
+
+
+
-
-
-
-
-
+
+
-
-
-
+
+
-
-
- 点击上传
- 支持图片、word、pdf
+
+
+ 点击上传
+ 支持图片、word、pdf
@@ -343,64 +405,112 @@
- 取 消
- 确 定
+ 取 消
+ 确 定
-
-
+
+
-
-
diff --git a/src/views/modules/visual/command/cpts/serviceInfo.vue b/src/views/modules/visual/command/cpts/serviceInfo.vue
index 4fe108cad..b3c55bcb1 100644
--- a/src/views/modules/visual/command/cpts/serviceInfo.vue
+++ b/src/views/modules/visual/command/cpts/serviceInfo.vue
@@ -15,6 +15,7 @@
ref="demandEditForm"
:source="'visiual'"
:formType="'add'"
+ :defaultData="defaultData"
@close="handleClose"
@handleClose="handleClose"
@handleOk="handleOk"
@@ -27,14 +28,17 @@
@@ -934,13 +662,6 @@ export default {
.resi-cell-select:last-child {
margin-right: 0;
}
- .item_width_2 {
- width: 200px;
- }
-}
-
-.data-tag {
- margin: 0 5px;
}
.mt10 {
diff --git a/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue b/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue
new file mode 100644
index 000000000..608d5e6dd
--- /dev/null
+++ b/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue
@@ -0,0 +1,949 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+ 新增
+ 下载模板
+
+ {{ importBtnTitle }}
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+ {{ scope.row.firstName + '-' + scope.row.secondName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.publicReply }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 处理
+
+ 查看
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
From 38c75bc6ea0e938d0ea0d1ae7d204b35cd04ac5a Mon Sep 17 00:00:00 2001
From: dai <851733175@qq.com>
Date: Fri, 5 Aug 2022 18:07:55 +0800
Subject: [PATCH 15/17] =?UTF-8?q?=E9=80=9A=E8=AE=AF=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/base/organization/organization.vue | 13 +++++++++++--
src/views/modules/visual/command/index.vue | 5 ++++-
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue
index 88be90743..3782d13af 100644
--- a/src/views/modules/base/organization/organization.vue
+++ b/src/views/modules/base/organization/organization.vue
@@ -1376,7 +1376,7 @@ export default {
// 添加人员
async submitPeo () {
const url = "/gov/org/staff/addstaffv2"
-
+ const {peoForm:{orgType}} = this;
let params = {
orgType: this.peoForm.orgType,
name: this.peoForm.name,
@@ -1385,7 +1385,7 @@ export default {
workType: this.peoForm.post,
roles: this.peoForm.duty,
newRoles: this.peoForm.newRoles,
- orgId: this.currentAgencyId,
+ orgId: orgType=='agency' ? this.currentAgencyId : (orgType=='dept' ? this.currentDepartmentId : this.currentGridOrgId),
}
@@ -1401,6 +1401,13 @@ export default {
this.getGridList()
this.getAgencyStaffListData()
this.insertFormRest()
+ if(orgType=='dept'){
+ this.getDepartmentStaffListData()
+ } else if(orgType=='grid'){
+ this.getGridStaffListData()
+ } else {
+ this.getAgencyStaffListData()
+ }
} else {
this.$message.error(msg)
}
@@ -1648,6 +1655,7 @@ export default {
},
// 进入网格,查询网格所属人员
entryGrid (gridId) {
+ console.log(gridId)
this.gridStaffTableListData = []
this.departmentStaffTableListData = []
this.agencyStaffTableListData = []
@@ -1663,6 +1671,7 @@ export default {
},
// 进入部门,查询部门所属人员
entryDepartment (row) {
+ console.log(row)
this.gridStaffTableListData = []
this.departmentStaffTableListData = []
this.agencyStaffTableListData = []
diff --git a/src/views/modules/visual/command/index.vue b/src/views/modules/visual/command/index.vue
index 1b2fa81c7..577754cff 100644
--- a/src/views/modules/visual/command/index.vue
+++ b/src/views/modules/visual/command/index.vue
@@ -442,9 +442,12 @@ export default {
categoryKeys2() {
this.requestMapDot2();
},
- searchName() {
+ searchName(val) {
this.showedSearchResult = false;
this.searchResult = iniSearchResult();
+ if (val == "") {
+ this.$refs.map.removeDotMarker();
+ }
},
},
From e928704f98a0ac6837ccc42c4f9571c46b01d502 Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Tue, 9 Aug 2022 14:56:46 +0800
Subject: [PATCH 16/17] 11
---
.../modules/shequzhili/statics/cEvent.vue | 451 +++++++++++-------
.../modules/shequzhili/statics/gridMember.vue | 321 +++++++++++++
.../shequzhili/statics/gridMemberEvent.vue | 442 +++++++++++++++++
3 files changed, 1036 insertions(+), 178 deletions(-)
create mode 100644 src/views/modules/shequzhili/statics/gridMember.vue
create mode 100644 src/views/modules/shequzhili/statics/gridMemberEvent.vue
diff --git a/src/views/modules/shequzhili/statics/cEvent.vue b/src/views/modules/shequzhili/statics/cEvent.vue
index 80b02473b..2df9cd292 100644
--- a/src/views/modules/shequzhili/statics/cEvent.vue
+++ b/src/views/modules/shequzhili/statics/cEvent.vue
@@ -1,104 +1,188 @@
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
- 查询
- 重置
-
-
-
-
-
- 总计
- 导出
-
-
-
-
-
-
- {{scope.row.orgName}}
- {{scope.row.orgName}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+ 总计
+ 导出
+
+
-
-
-
-
-
-
-
+
+
+
+ {{scope.row.orgName}}
+ {{scope.row.orgName}}
+
+
+
+
+ {{scope.row.memberCount}}
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/shequzhili/statics/gridMember.vue b/src/views/modules/shequzhili/statics/gridMember.vue
new file mode 100644
index 000000000..d52d3a6b7
--- /dev/null
+++ b/src/views/modules/shequzhili/statics/gridMember.vue
@@ -0,0 +1,321 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/shequzhili/statics/gridMemberEvent.vue b/src/views/modules/shequzhili/statics/gridMemberEvent.vue
new file mode 100644
index 000000000..2419528e0
--- /dev/null
+++ b/src/views/modules/shequzhili/statics/gridMemberEvent.vue
@@ -0,0 +1,442 @@
+
+
+
+
+
+
+ 返回
+ 导出
+
+
+
+
+
+
+
+
+ {{ scope.row.firstName + '-' + scope.row.secondName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.publicReply }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
From 58c688589cd009c1655be3f451587a63fb791e9f Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Thu, 11 Aug 2022 10:53:08 +0800
Subject: [PATCH 17/17] 11
---
.../shequzhili/xiangmu/xiangmu-ling.vue | 459 +++++++++---------
1 file changed, 222 insertions(+), 237 deletions(-)
diff --git a/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue b/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue
index 608d5e6dd..a9b6fe717 100644
--- a/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue
+++ b/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue
@@ -1,24 +1,26 @@
-
-
-
+
+
+
-
-
+
+
@@ -63,24 +65,30 @@
-
-
+
-
+
-
+
- 新增
- 下载模板
-
- {{ importBtnTitle }}
+ 新增
+ 下载模板
+
+ {{ importBtnTitle }}
- 导出
+ 导出
-
-
-
+
+
+
-
+
{{ scope.row.firstName + '-' + scope.row.secondName }}
-
+
-
+
-
+
-
+
-
+
{{ scope.row.publicReply }}
-
+
-
-
-
-
-
+
-
+
- 处理
-
- 查看
-
-
- 删除
+ 处理
+
+ 查看
+
+
+ 删除
-
+
-
@@ -399,7 +374,7 @@ const _form = {
export default {
components: { projectInfo },
- data() {
+ data () {
let endDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
let nowData = Date.now()
if (this.fmData.startTime) {
@@ -423,6 +398,16 @@ export default {
tableData: [],
+ resolvedStatus: [
+ {
+ value: "resolved",
+ label: "已解决",
+ },
+ {
+ value: "unresolved",
+ label: "无需解决",
+ },
+ ],
optionsStatus: [
{
value: "pending",
@@ -474,7 +459,7 @@ export default {
};
},
computed: {
- maxTableHeight() {
+ maxTableHeight () {
return this.$store.state.inIframe
? this.clientHeight - 410 + this.iframeHeigh
: this.clientHeight - 410;
@@ -492,13 +477,13 @@ export default {
}
},
},
- mounted() {
+ mounted () {
this.getTableData();
this.getGridList()
this.getCateOptions()
},
methods: {
- async handleExportModule() {
+ async handleExportModule () {
let url = "/heart/iccommunityselforganization/import-template-download";
let params = {};
@@ -535,18 +520,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 =
@@ -563,7 +548,7 @@ export default {
}
return fileType && isLt1M;
},
- async uploadHttpRequest(file) {
+ async uploadHttpRequest (file) {
this.importLoading = true;
this.importBtnTitle = "正在上传中...";
this.$message({
@@ -617,19 +602,19 @@ export default {
this.importBtnTitle = "导入";
this.$refs.upload.clearFiles();
},
- handleCalscChange(val) {
+ handleCalscChange (val) {
console.log('val-----', val)
const arr = val.split('-')
this.fmData.orgId = arr[0]
this.fmData.orgType = arr[1] === 'grid' ? 'grid' : 'agency'
},
- handleCheckbox(val) {
+ handleCheckbox (val) {
const { user } = this.$store.state
console.log('val---', val)
if (val) this.fmData.staffId = user.id
else this.fmData.staffId = ''
},
- handleEventType(val) {
+ handleEventType (val) {
// console.log('val-----eee', val)
console.log('nodes---', this.$refs.cascaderEvent.getCheckedNodes())
const nodes = this.$refs.cascaderEvent.getCheckedNodes()
@@ -659,24 +644,24 @@ export default {
// this.$refs.cascaderUnit.toggleDropDownVisible(false);
},
- 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();
},
- handleSearch(val) {
+ handleSearch (val) {
console.log(JSON.stringify(this.fmData));
this.pageNo = 1;
this.getTableData();
},
- resetForm(formName) {
+ resetForm (formName) {
this.$refs[formName].resetFields();
this.fmData = {
..._form
@@ -687,7 +672,7 @@ export default {
this.handleSearch();
},
- async handleChu() {
+ async handleChu () {
// const url = "/gov/project/project/project-list-export";
const url = '/gov/project/project/orgprojectexport'
const { pageSize, pageNo, fmData } = this;
@@ -726,8 +711,8 @@ export default {
});
},
- async handleAdd() {},
- async handleWatch(rowIndex) {
+ async handleAdd () { },
+ async handleWatch (rowIndex) {
let item = this.tableData[rowIndex];
this.currentProject = {
projectId: item.projectId,
@@ -735,7 +720,7 @@ export default {
this.pageType = "info";
},
- async handleEdit(rowIndex) {
+ async handleEdit (rowIndex) {
let item = this.tableData[rowIndex];
this.currentProject = {
projectId: item.projectId,
@@ -743,19 +728,19 @@ export default {
this.pageType = "edit";
},
- handleClose() {
+ handleClose () {
this.pageType = "list";
this.currentProject = {
projectId: "",
};
},
- handleEditSuccess() {
+ handleEditSuccess () {
this.handleClose();
this.getTableData();
},
- async handleDel(rowData, rowIndex) {
+ async handleDel (rowData, rowIndex) {
console.log(rowData, rowIndex);
const url =
"/heart/iccommunityselforganization/delcommunityselforganization";
@@ -773,10 +758,10 @@ export default {
}
},
- async getTableData() {
+ async getTableData () {
// const url = "http://yapi.elinkservice.cn/mock/245/gov/project/project/project-list";
// const url = "/gov/project/project/project-list";
- const url ='/gov/project/project/orgprojectlist'
+ const url = '/gov/project/project/orgprojectlist'
const { pageSize, pageNo, fmData } = this;
const { data, code, msg } = await requestPost(url, {
pageSize,
@@ -788,16 +773,16 @@ export default {
this.total = data.total || 0;
this.tableData = data.list
? data.list.map((item) => {
- return {
- ...item,
- urlList: item.urlList && item.urlList.map(n => n.url)
- };
- })
+ return {
+ ...item,
+ urlList: item.urlList && item.urlList.map(n => n.url)
+ };
+ })
: [];
} else {
}
},
- async getCateOptions() {
+ async getCateOptions () {
const url = "/gov/issue/issueprojectcategorydict/list";
const { data, code, msg } = await requestPost(url, {});
@@ -814,7 +799,7 @@ export default {
this.$message.error(msg);
}
},
- getGridList() {
+ getGridList () {
const { user } = this.$store.state
this.dataListLoading = true
const params = {
@@ -842,7 +827,7 @@ export default {
return this.$message.error('网络错误')
})
},
- deepTree(arr, child) {
+ deepTree (arr, child) {
if (Array.isArray(arr) && arr.length > 0) {
return arr.map(item => {
// if (child === 'subAgencyList') item.value = item.orgType + '-' + item.orgId