diff --git a/src/views/modules/taskmanage/alltasklist.vue b/src/views/modules/taskmanage/alltasklist.vue
index 00c874e..aac320b 100644
--- a/src/views/modules/taskmanage/alltasklist.vue
+++ b/src/views/modules/taskmanage/alltasklist.vue
@@ -99,14 +99,14 @@
fixed="right"
header-align="center"
align="center"
- width="160"
+ width="130"
label="操作">
沟通附件 |
- 任务附件 |
- 删除
-
+ 任务附件
+
+
+
diff --git a/src/views/modules/taskmanage/chat-history.vue b/src/views/modules/taskmanage/chat-history.vue
index f20cdd2..b6a5ac2 100644
--- a/src/views/modules/taskmanage/chat-history.vue
+++ b/src/views/modules/taskmanage/chat-history.vue
@@ -24,6 +24,7 @@
:header-align="'center'"
:show-overflow-tooltip="item.showOverflowTooltip"
:align="item.align"
+ show-overflow-tooltip
:fixed="item.fixed==''?false:item.fixed"
:width="item.columnWidth"
:label="item.columnLabel">
@@ -37,7 +38,7 @@
fixed="right"
header-align="center"
align="center"
- width="170"
+ width="100"
label="操作">
附件
@@ -76,7 +77,7 @@
columnHidden: false,
columnImage: false,
columnSortable: false,
- columnWidth: null,
+ columnWidth: 120,
format: null,
sortLv: 0,
status: true,
@@ -91,7 +92,7 @@
columnHidden: false,
columnImage: false,
columnSortable: false,
- columnWidth: null,
+ columnWidth: 80,
format: null,
sortLv: 0,
status: true,
diff --git a/src/views/modules/taskmanage/chatting.vue b/src/views/modules/taskmanage/chatting.vue
index 29b55dd..95b7ce5 100644
--- a/src/views/modules/taskmanage/chatting.vue
+++ b/src/views/modules/taskmanage/chatting.vue
@@ -156,6 +156,7 @@
// 下载附件
downFtpFile(row){
//'/proxyApi/ftp/file/downFtpFile/'
+ // '/api/ftp/file/downFtpFile/'
axios.get( '/api/ftp/file/downFtpFile/' + row.id, {
responseType: 'blob',
headers: {
diff --git a/src/views/modules/taskmanage/mysendtasklist.vue b/src/views/modules/taskmanage/mysendtasklist.vue
index 9f31768..635608f 100644
--- a/src/views/modules/taskmanage/mysendtasklist.vue
+++ b/src/views/modules/taskmanage/mysendtasklist.vue
@@ -12,6 +12,8 @@
class="el-button el-button--primary el-button--medium">
{{ '导出' }}
+ 发起任务
+
@@ -93,13 +95,17 @@
fixed="right"
header-align="center"
align="center"
- width="220"
+ width="300"
label="操作">
- 更改状态 |
+ 修改 |
+ 更改最终状态 |
沟通 |
任务附件 |
沟通附件
+ 删除
+
@@ -115,10 +121,9 @@
-
-
-
-
+
+
+
@@ -129,7 +134,10 @@
+
+
+
@@ -137,7 +145,8 @@
import ChatHistory from './chat-history.vue'
import {getTaskDetailList,updateTask} from '@/api/taskmanage/tasklist.js'
- import TaskFileList from './task-file-list.vue'
+ import TaskFileList from './task-file-upload-list.vue'
+ import AddOrUpdate from "./tasklist-add-or-update";
export default {
data() {
@@ -435,19 +444,21 @@
dataList: [],
selectRow: {
id: 0,
- status: '',
+ finalStatus: '',
},
dataListLoading: false,
dataListSelections: [],
chatHistoryVisible: false,
statusVisible: false,
taskFileVisible: false,
+ addOrUpdateVisible: false,
exportName: this.$route.meta.title + this.dayjs().format('YYYYMMDDHHmmss')
}
},
components: {
ChatHistory,
- TaskFileList
+ TaskFileList,
+ AddOrUpdate,
},
activated() {
// this.getDataList()
@@ -476,8 +487,8 @@
},
// 更改状态模态框
updateStatusDialog(row) {
- this.selectRow.status = row.status
- this.selectRow.id = row.id
+ this.selectRow.finalStatus = row.finalStatus
+ this.selectRow.id = row.taskId
this.statusVisible = true;
},
// 更改状态提交
@@ -515,13 +526,13 @@
var ids = id ? [id] : this.dataListSelections.map(item => {
return item.id
})
- this.$confirm(`确定进行[${id ? '删除' : '批量删除'}]操作?`, '提示', {
+ this.$confirm(`确定进行删除操作?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$http({
- url: this.$http.adornUrl('/taskmanage/tasklist/delete'),
+ url: this.$http.adornUrl('/taskmanage/taskDetail/delete'),
method: 'post',
data: this.$http.adornData(ids, false)
}).then(({data}) => {
@@ -534,6 +545,13 @@
})
})
},
+ // 新增 / 修改
+ addOrUpdateHandle(id) {
+ this.addOrUpdateVisible = true
+ this.$nextTick(() => {
+ this.$refs.addOrUpdate.init(id)
+ })
+ },
// 导出
fields() {
let json = "{"
diff --git a/src/views/modules/taskmanage/mytasklist.vue b/src/views/modules/taskmanage/mytasklist.vue
index 75f7e07..6eea9c6 100644
--- a/src/views/modules/taskmanage/mytasklist.vue
+++ b/src/views/modules/taskmanage/mytasklist.vue
@@ -93,7 +93,6 @@
width="220"
label="操作">
- 更改状态 |
沟通 |
任务附件 |
沟通附件
diff --git a/src/views/modules/taskmanage/task-file-list.vue b/src/views/modules/taskmanage/task-file-list.vue
index e95894f..df3f9ee 100644
--- a/src/views/modules/taskmanage/task-file-list.vue
+++ b/src/views/modules/taskmanage/task-file-list.vue
@@ -88,7 +88,22 @@
columnHidden: false,
columnImage: false,
columnSortable: false,
- columnWidth: null,
+ columnWidth: 80,
+ format: null,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ serialNumber: null,
+ columnType: null,
+ align: null
+ },
+ {
+ columnProp: "createdBy",
+ columnLabel: "上传人",
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ columnWidth: 100,
format: null,
sortLv: 0,
status: true,
@@ -103,7 +118,7 @@
columnHidden: false,
columnImage: false,
columnSortable: false,
- columnWidth: null,
+ columnWidth: 130,
format: null,
sortLv: 0,
status: true,
@@ -112,6 +127,7 @@
columnType: null,
align: null
}
+
],
dataListSelections: [],
dataForm: {},
diff --git a/src/views/modules/taskmanage/task-file-upload-list.vue b/src/views/modules/taskmanage/task-file-upload-list.vue
index e2686be..e6952a8 100644
--- a/src/views/modules/taskmanage/task-file-upload-list.vue
+++ b/src/views/modules/taskmanage/task-file-upload-list.vue
@@ -9,9 +9,9 @@
label-width="80px">
-
-
-
+
+
+
@@ -49,8 +49,8 @@
width="80"
label="操作">
- 下载
- 删除
+ 下载
+ | 删除
@@ -101,7 +101,22 @@
columnHidden: false,
columnImage: false,
columnSortable: false,
- columnWidth: null,
+ columnWidth: 80,
+ format: null,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ serialNumber: null,
+ columnType: null,
+ align: null
+ },
+ {
+ columnProp: "createdBy",
+ columnLabel: "上传人",
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ columnWidth: 100,
format: null,
sortLv: 0,
status: true,
@@ -116,7 +131,7 @@
columnHidden: false,
columnImage: false,
columnSortable: false,
- columnWidth: null,
+ columnWidth: 130,
format: null,
sortLv: 0,
status: true,
@@ -125,6 +140,7 @@
columnType: null,
align: null
}
+
],
dataListSelections: [],
dataForm: {},
@@ -146,10 +162,10 @@
this.fileList.push(childValue)
// 回写关键字段
let dto = {
- id:childValue.id,
- orderRef1:this.dataForm.orderRef2,
- orderRef2:this.dataForm.orderRef2,
- fileTypeCode:this.dataForm.fileTypeCode,
+ id: childValue.id,
+ orderRef1: this.dataForm.orderRef2,
+ orderRef2: this.dataForm.orderRef2,
+ fileTypeCode: this.dataForm.fileTypeCode,
}
this.updateOrderRef(dto)
},
@@ -164,7 +180,7 @@
})
},
// 回写关键字段
- updateOrderRef(val){
+ updateOrderRef(val) {
this.$http({
url: this.$http.adornUrl('/sys/oss/uploadSysOss'),
method: 'post',
diff --git a/src/views/modules/taskmanage/taskReport.vue b/src/views/modules/taskmanage/taskReport.vue
index ed81972..3311352 100644
--- a/src/views/modules/taskmanage/taskReport.vue
+++ b/src/views/modules/taskmanage/taskReport.vue
@@ -1,37 +1,52 @@
+
+
+
+
+

+
赫艾内部MES沟通系统
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
-
-
-
- {{ scope.row[item.columnProp] }}
-
-
-
-