diff --git a/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue b/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue
index 28e4ffcfc..5784231f5 100644
--- a/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue
+++ b/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue
@@ -26,9 +26,17 @@
+ v-if="projectInfo.departmentList.length > 0">
当前处理部门:
-
{{ projectInfo.departmentNameList.join("、") }}
+
+
+ {{item.departmentName+'('+ item.staffList.join("、")+')' }}
+
+
+
+
+
+
diff --git a/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue b/src/views/modules/shequzhili/xiangmu/xiangmu-ling.vue
index 608d5e6dd..b208eda98 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 }}
-
+
-
-
-
-
-
-
+
- 处理
-
- 查看
-
-
- 删除
+ 处理
+
+ 查看
+
+
+ 删除
-
+
-
@@ -394,12 +369,13 @@ const _form = {
status: '',
firstIdList: [],
secondIdList: [],
- staffId: ''
+ staffId: '',
+ closedStatus: ''
}
export default {
components: { projectInfo },
- data() {
+ data () {
let endDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
let nowData = Date.now()
if (this.fmData.startTime) {
@@ -423,6 +399,16 @@ export default {
tableData: [],
+ resolvedStatus: [
+ {
+ value: "resolved",
+ label: "已解决",
+ },
+ {
+ value: "unresolved",
+ label: "无需解决",
+ },
+ ],
optionsStatus: [
{
value: "pending",
@@ -474,7 +460,7 @@ export default {
};
},
computed: {
- maxTableHeight() {
+ maxTableHeight () {
return this.$store.state.inIframe
? this.clientHeight - 410 + this.iframeHeigh
: this.clientHeight - 410;
@@ -492,13 +478,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 +521,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 +549,7 @@ export default {
}
return fileType && isLt1M;
},
- async uploadHttpRequest(file) {
+ async uploadHttpRequest (file) {
this.importLoading = true;
this.importBtnTitle = "正在上传中...";
this.$message({
@@ -617,19 +603,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 +645,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 +673,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 +712,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 +721,7 @@ export default {
this.pageType = "info";
},
- async handleEdit(rowIndex) {
+ async handleEdit (rowIndex) {
let item = this.tableData[rowIndex];
this.currentProject = {
projectId: item.projectId,
@@ -743,19 +729,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 +759,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 +774,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 +800,7 @@ export default {
this.$message.error(msg);
}
},
- getGridList() {
+ getGridList () {
const { user } = this.$store.state
this.dataListLoading = true
const params = {
@@ -842,7 +828,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