Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
vue-composition-api
Commits
94f898d9
Commit
94f898d9
authored
Feb 23, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
诊断描述添加校验 必填
parent
e742d60e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
12 deletions
+43
-12
src/views/outClinicalpathway.vue
+43
-12
No files found.
src/views/outClinicalpathway.vue
View file @
94f898d9
...
...
@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-02-23 17:
15:33
* @LastEditTime: 2023-02-23 17:
41:56
* @Description:
-->
<
template
>
...
...
@@ -404,18 +404,49 @@
</el-table-column>
<el-table-column
prop=
"description"
label=
"诊断描述"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-input
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
v-if="
scope.row.advice_name == null
&&
scope.row.ischeck == 1
&&
scope.row.isShow == true
<div
style=
"
display: flex;
height: 100%;
flex-direction: column;
justify-content: center;
align-items: center;
"
v-model="scope.row.description"
>
</el-input>
>
<div
style=
"display: flex"
>
<span
v-if=
"
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true
"
style=
"color: red"
>
*
</span
>
<el-input
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
v-if="
scope.row.advice_name == null
&&
scope.row.ischeck == 1
&&
scope.row.isShow == true
"
v-model="scope.row.description"
>
</el-input>
</div>
<span
style=
"font-size: 12px; color: red"
v-if=
"
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true &&
scope.row.description == ''
"
>
请输入内容
</span
>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"inspectRemarks"
label=
"备注"
width=
"150"
>
...
...
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