Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liang
agcs2.0-web
Commits
e17b52c3
Commit
e17b52c3
authored
May 30, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
7b43b04d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
10 deletions
+49
-10
FormItemSelf.vue
src/components/FormComponents/CustomForm/FormItemSelf.vue
+4
-6
index.vue
src/views/qualitycontrol-report/index.vue
+7
-1
ScreeningAdd.vue
src/views/screening/ScreeningAdd.vue
+1
-0
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+2
-1
index.vue
src/views/screening/index.vue
+35
-2
No files found.
src/components/FormComponents/CustomForm/FormItemSelf.vue
View file @
e17b52c3
...
...
@@ -182,7 +182,7 @@
<!-- 单选框 -->
<el-radio-group
v-if=
"item.type === 'radio'
&& !item.disabled
"
v-if=
"item.type === 'radio'"
v-model=
"form[item.prop]"
:disabled=
"item.disabled"
@
change=
"handleChange"
...
...
@@ -195,7 +195,7 @@
>
</el-radio-group>
<!-- 单选框只读 -->
<div
<
!-- <
div
v-for="(opt, optIndex) in item.dicData"
v-else-if="item.type === 'radio' && item.disabled"
:key="optIndex"
...
...
@@ -203,14 +203,12 @@
<el-radio
v-show="opt.value == form[item.prop]"
v-model="form[item.prop]"
:class=
"
item.class ? item.class : item.disabled ? 'read-radio' : ''
"
:class="item.class ? item.class : item.disabled ? '' : ''"
:label="opt.value"
@change="item.func ? item.func($event) : {}"
>{{ opt.label }}</el-radio
>
</div>
</div>
-->
<!-- 多选框 -->
<
template
v-if=
"item.type === 'checkbox'"
>
...
...
src/views/qualitycontrol-report/index.vue
View file @
e17b52c3
...
...
@@ -40,6 +40,7 @@
:data=
"tableData"
border
:show-summary=
"showSummary"
v-loading=
"listLoading"
class=
"mt-20"
>
<el-table-column
...
...
@@ -106,6 +107,7 @@ export default {
],
year
:
[],
showSummary
:
false
,
listLoading
:
false
,
}
},
computed
:
{
...
...
@@ -136,16 +138,18 @@ export default {
getNow
()
{
const
nowDate
=
new
Date
()
this
.
yearBtn
=
nowDate
.
getFullYear
()
for
(
let
i
=
20
23
;
i
<=
this
.
yearBtn
;
i
++
)
{
for
(
let
i
=
20
18
;
i
<=
this
.
yearBtn
;
i
++
)
{
this
.
yearList
.
push
(
i
)
}
},
async
getQuality
()
{
this
.
listLoading
=
true
let
res
// console.log(this.curRole)
switch
(
this
.
curRole
)
{
case
"
admin
"
:
res
=
await
adminQuality
({
year
:
this
.
yearBtn
})
this
.
listLoading
=
false
let
{
overall
}
=
res
.
data
this
.
allData
=
res
.
data
this
.
totalData
=
overall
...
...
@@ -155,12 +159,14 @@ export default {
case
"
auditer
"
:
res
=
await
checkerQuality
({
year
:
this
.
yearBtn
})
this
.
listLoading
=
false
this
.
allData
=
res
.
data
this
.
totalData
=
res
.
data
.
overall
this
.
showSummary
=
false
this
.
handleClick
()
break
default
:
this
.
listLoading
=
false
break
}
},
...
...
src/views/screening/ScreeningAdd.vue
View file @
e17b52c3
...
...
@@ -26,6 +26,7 @@ export default {
if
(
v
.
activeName
==
"
index0
"
)
{
let
data
=
{
birthday
:
v
.
form
.
birthday
,
sex
:
v
.
form
.
sex
,
}
sessionStorage
.
setItem
(
"
index1Data
"
,
JSON
.
stringify
(
data
))
}
...
...
src/views/screening/components/ConfigForms.vue
View file @
e17b52c3
...
...
@@ -242,7 +242,7 @@ export default {
this
.
$nextTick
(()
=>
{
let
index1Data
=
sessionStorage
.
getItem
(
"
index1Data
"
)
if
(
index1Data
)
{
let
{
birthday
}
=
JSON
.
parse
(
index1Data
)
let
{
birthday
,
sex
}
=
JSON
.
parse
(
index1Data
)
let
date
=
new
Date
(
String
(
birthday
).
replace
(
/-/g
,
"
/
"
))
let
d
=
new
Date
()
let
age
=
...
...
@@ -256,6 +256,7 @@ export default {
this
.
formInitial
=
{
birthday
,
age
,
sex
,
}
}
})
...
...
src/views/screening/index.vue
View file @
e17b52c3
...
...
@@ -43,7 +43,7 @@
<
script
>
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
{
getPatientPage
}
from
"
@/api/patient.js
"
import
{
getPatientPage
,
deletePatient
}
from
"
@/api/patient.js
"
import
ConfigForms
from
"
./components/ConfigForms.vue
"
import
{
mapGetters
}
from
"
vuex
"
export
default
{
...
...
@@ -270,6 +270,18 @@ export default {
}
},
},
{
func
:
this
.
deletePatient
,
formatter
(
row
)
{
return
{
label
:
"
删除
"
,
type
:
"
text
"
,
}
},
style
:
{
color
:
"
#FA6400
"
,
},
},
],
},
],
...
...
@@ -302,7 +314,28 @@ export default {
checkStatus
===
2
?
"
驳回修改
"
:
checkStatus
===
4
?
"
不合格
"
:
""
this
.
note
=
status
?
status
+
"
:
"
+
checkNote
:
""
},
deletePatient
(
row
)
{
this
.
$confirm
(
`是否删除【
${
row
.
name
}
】?`
,
"
提示
"
,
{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
})
.
then
(()
=>
{
deletePatient
(
row
.
patientId
).
then
((
res
)
=>
{
if
(
res
.
code
===
1
)
{
this
.
$message
({
type
:
"
success
"
,
message
:
"
删除成功!
"
,
})
if
(
this
.
tableData
.
length
==
1
&&
this
.
pageIndex
!=
1
)
{
this
.
pageIndex
--
}
this
.
handleSearch
()
}
})
})
.
catch
(()
=>
{})
},
sortChange
({
prop
,
order
})
{
const
sort
=
order
?
(
order
===
"
ascending
"
?
"
asc
"
:
"
desc
"
)
:
""
const
sortField
=
order
?
prop
:
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment