From 52ef0349f6c956bb8ddd08fd94b04df00958e042 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Tue, 4 Mar 2025 14:34:08 +0800 Subject: [PATCH] isQuestion --- public/sysConfig.json | 2 +- .../customerOrg/customerOrgRegister.vue | 18 +++ src/views/user-list/AuditLog.vue | 119 +++++++----------- 3 files changed, 63 insertions(+), 76 deletions(-) diff --git a/public/sysConfig.json b/public/sysConfig.json index 9a5ce7a..5be0d63 100644 --- a/public/sysConfig.json +++ b/public/sysConfig.json @@ -1,7 +1,7 @@ { "apiurl": "http://140.143.162.39:9529", "softName": "神豚体检管理系统", - "pacsApi": "http://192.168.2.74:9529", + "pacsApi": "http://140.143.162.39:9529", "dcmViewers": "https://app.mzaktj.com:4436", "pacsApiHttps": "https://app.mzaktj.com:8042" } \ No newline at end of file diff --git a/src/components/customerOrg/customerOrgRegister.vue b/src/components/customerOrg/customerOrgRegister.vue index ffdc3c2..878e988 100644 --- a/src/components/customerOrg/customerOrgRegister.vue +++ b/src/components/customerOrg/customerOrgRegister.vue @@ -5,6 +5,14 @@ :height="window.pageHeight < 600 ? 200 : window.pageHeight - 400" size="small" highlight-current-row @row-click="rowClick" ref="customerOrg.customerOrgRegisterList"> + + + 问卷调查 + + + + + @@ -110,6 +118,16 @@ export default { } }, + // 某些体检单位,需控制【必须填写问卷调查方查进行健康评估】 + clickQuestion(row){ + //console.log('row',row) + postapi('/api/app/CustomerOrgRegister/UpdateIsQuestion',{ + customerOrgRegisterId: row.id, + isQuestion: row.isQuestion + }).then(res => { + if(res.code > -1) this.$message.success({ showClose: true, message: "操作成功!"}) + }) + }, //设置体检次数状态 setOrgRegisterState(IsComplete) { diff --git a/src/views/user-list/AuditLog.vue b/src/views/user-list/AuditLog.vue index be09192..ac5ba7b 100644 --- a/src/views/user-list/AuditLog.vue +++ b/src/views/user-list/AuditLog.vue @@ -9,63 +9,37 @@ - - - - - - - - - - - - - {{ scope.row.executionTime | dateFormat }} - - - - - - - 查看 - - - + + + + + + + + + + + + + {{ scope.row.executionTime | dateFormat }} + + + + + + + 查看 + + + - + - + @@ -75,16 +49,8 @@ - - + + {{ scope.row.executionTime | dateFormat }} @@ -95,12 +61,7 @@ 取 消 - 确 定 + 确 定 @@ -128,7 +89,7 @@ export default { watch: { }, - computed: { + computed: { ...mapState(["window"]), }, mounted() { @@ -136,8 +97,9 @@ export default { }, methods: { cratlist() { + // /api/app/audit-log dailyrecord(this.pages).then((res) => { - if(res.code!=-1){ + if (res.code != -1) { this.tableData = res.data; } }); @@ -158,10 +120,10 @@ export default { this.dialogVisible = true; this.detailedinformationdata = []; querylog(row.id).then((res) => { - if(res.code!=-1){ + if (res.code != -1) { if (row.id == res.data.id) { - this.detailedinformationdata.push(res.data); - } + this.detailedinformationdata.push(res.data); + } } }); }, @@ -179,30 +141,37 @@ export default { @import "../../assets/css/global_form.css"; @import "../../assets/css/global_input.css"; @import "../../assets/css/global.css"; + .box { display: flex; flex-direction: column; } + :deep .el-form-item { margin-bottom: 14px; } + /* el-dialog的头部样式 */ :deep .el-dialog__header { padding: 11px 20px 11px; } + /* el-dialog的主体样式 */ :deep .el-dialog__body { padding: 0px 20px 0px; } + /* el-divider样式 */ :deep .el-divider--horizontal { margin: 0px 0 12px; } + /* el-dialog的底部样式 */ :deep .el-dialog__footer { padding: 0px 20px 14px; } -:deep .el-pagination{ + +:deep .el-pagination { margin-top: 10px; color: #505258; font-size: 12px;