diff --git a/ruoyi-ui/src/views/trouble/pshProblemmodify/index.vue b/ruoyi-ui/src/views/trouble/pshProblemmodify/index.vue index a1e727aa..c13d8bfb 100644 --- a/ruoyi-ui/src/views/trouble/pshProblemmodify/index.vue +++ b/ruoyi-ui/src/views/trouble/pshProblemmodify/index.vue @@ -1,112 +1,47 @@ - - - + + + - + - + - + - + @@ -305,47 +158,22 @@ {{ scope.row.createUserDeptName }}
- {{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}") }} + {{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}") }}
- + - + @@ -359,7 +187,7 @@ import { export default { name: "SmzPshProblemmodifyDraft", - dicts: ["ssp_aqyhlx","smz_problem_type"], + dicts: ["ssp_aqyhlx", "smz_problem_type"], data() { return { // 遮罩层 @@ -611,7 +439,7 @@ export default { rows.push(row); } this.loading = true; - for (let i = 0; i < rows.length; i++){ + for (let i = 0; i < rows.length; i++) { rows[i].copySendUser = rows[i].copySendUser.toString(); } batchUpdateSmzSspProblemmodifyDraft(rows).then((response) => { @@ -634,7 +462,7 @@ export default { this.getList(); this.$modal.msgSuccess("删除成功"); }) - .catch(() => {}); + .catch(() => { }); } else { let that = this; //新增行 @@ -646,7 +474,7 @@ export default { .then(() => { that.$modal.msgSuccess("删除成功"); }) - .catch(() => {}); + .catch(() => { }); } }, /** 行内序号 */ @@ -714,27 +542,27 @@ export default { let data = this.smzSspProblemmodifyDraftList; let row = data[indexs - 1]; for (let i = 0; i < data.length; i++) { - if (data[i].index != row.index){ - if(!data[i].projectId){ + if (data[i].index != row.index) { + if (!data[i].projectId) { data[i].projectId = row.projectId; data[i].problemArea = row.problemArea; data[i].problemType = row.problemType; data[i].lordSent = row.lordSent; - data[i].lordSentUser = row.lordSentUser; - data[i].copySend = row.copySend; - data[i].copySendUser = row.copySendUser; - data[i].recheckSend = row.recheckSend; - data[i].recheckSendUser = row.recheckSendUser; - data[i].nickedTime = row.nickedTime; - }else if(data[i].projectId == row.projectId){ + data[i].lordSentUser = row.lordSentUser; + data[i].copySend = row.copySend; + data[i].copySendUser = row.copySendUser; + data[i].recheckSend = row.recheckSend; + data[i].recheckSendUser = row.recheckSendUser; + data[i].nickedTime = row.nickedTime; + } else if (data[i].projectId == row.projectId) { data[i].problemType = row.problemType; data[i].lordSent = row.lordSent; - data[i].lordSentUser = row.lordSentUser; - data[i].copySend = row.copySend; - data[i].copySendUser = row.copySendUser; - data[i].recheckSend = row.recheckSend; - data[i].recheckSendUser = row.recheckSendUser; - data[i].nickedTime = row.nickedTime; + data[i].lordSentUser = row.lordSentUser; + data[i].copySend = row.copySend; + data[i].copySendUser = row.copySendUser; + data[i].recheckSend = row.recheckSend; + data[i].recheckSendUser = row.recheckSendUser; + data[i].nickedTime = row.nickedTime; } } } @@ -766,7 +594,7 @@ export default { createUserDeptName: this.$store.getters.dept.deptName, createTime: this.$dt(new Date()).format("YYYY-MM-DD HH:mm:ss"), isDel: 0, - problemType:'1', + problemType: '1', }; this.smzSspProblemmodifyDraftList.push(row); this.changeProject(row.projectId, row); @@ -819,14 +647,17 @@ export default { height: 100px !important; line-height: 100px !important; } + .el-upload-list--picture-card .el-upload-list__item { width: 100px !important; height: 100px !important; } + .bt2 { padding-left: 0px !important; margin-left: 0px !important; } + .tips { padding: 8px 16px; background-color: #ecf8ff !important; diff --git a/ruoyi-ui/src/views/trouble/sspProblemmodify/index.vue b/ruoyi-ui/src/views/trouble/sspProblemmodify/index.vue index 48ac1b67..9c8c8958 100644 --- a/ruoyi-ui/src/views/trouble/sspProblemmodify/index.vue +++ b/ruoyi-ui/src/views/trouble/sspProblemmodify/index.vue @@ -1,112 +1,49 @@ - - - + + + - + - + - +