Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_vue
Commits
42b9f15b
Commit
42b9f15b
authored
Mar 09, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数组中输入框必填校验
parent
1bfe58b9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
44 deletions
+55
-44
index.vue
src/components/TextToolTip/index.vue
+3
-3
oneTbale.vue
src/views/check/oneTbale.vue
+12
-12
checkList.vue
src/views/checkList.vue
+40
-29
No files found.
src/components/TextToolTip/index.vue
View file @
42b9f15b
...
@@ -5,13 +5,13 @@
...
@@ -5,13 +5,13 @@
:disabled=
"disabledShow || text === undefined || text === null || (text.length
<
=
maxLength
)"
:disabled=
"disabledShow || text === undefined || text === null || (text.length
<
=
maxLength
)"
placement=
"top"
placement=
"top"
>
>
<span
v-if=
"text === undefined || text === null || text.length
<
=
maxLength
"
>
<span
style=
"cursor: pointer"
v-if=
"text === undefined || text === null || text.length
<
=
maxLength
"
>
{{
text
||
''
}}
{{
text
||
''
}}
</span>
</span>
<span
v-else
>
<span
style=
"cursor: pointer"
v-else
>
{{
text
.
substring
(
0
,
maxLength
)
+
'...'
}}
{{
text
.
substring
(
0
,
maxLength
)
+
'...'
}}
</span>
</span>
<div
style=
""
slot=
"content"
>
<div
style=
"
cursor: pointer
"
slot=
"content"
>
{{
text
||
''
}}
{{
text
||
''
}}
</div>
</div>
</el-tooltip>
</el-tooltip>
...
...
src/views/check/oneTbale.vue
View file @
42b9f15b
...
@@ -147,17 +147,17 @@
...
@@ -147,17 +147,17 @@
{{
scope
.
row
.
jcRank
||
'-'
}}
{{
scope
.
row
.
jcRank
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"抽样"
prop=
"jcFacadeCy"
:show-overflow-tooltip=
"true"
>
<!-- <el-table-column label="抽样" prop="jcFacadeCy" :show-overflow-tooltip="true">--
>
<
template
slot-scope=
"scope"
>
<!-- <template slot-scope="scope">--
>
{{
scope
.
row
.
jcFacadeCy
||
'-'
}}
<!-- {{ scope.row.jcFacadeCy || '-' }}-->
</
template
>
<!-- </template>--
>
</el-table-column
>
<!-- </el-table-column>--
>
<el-table-column
label=
"不合格"
prop=
"jcFacadeBl"
:show-overflow-tooltip=
"true"
width=
"70%"
>
<!-- <el-table-column label="不合格" prop="jcFacadeBl" :show-overflow-tooltip="true">--
>
<
template
slot-scope=
"scope"
>
<!-- <template slot-scope="scope">--
>
{{
scope
.
row
.
jcFacadeBl
||
'-'
}}
<!-- {{ scope.row.jcFacadeBl || '-' }}-->
</
template
>
<!-- </template>--
>
</el-table-column
>
<!-- </el-table-column>--
>
<el-table-column
label=
"检查结果"
prop=
"jcResult"
:show-overflow-tooltip=
"true"
width=
"70%"
>
<el-table-column
label=
"检查结果"
prop=
"jcResult"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.jcResult=='1'"
>
OK
</span>
<span
v-if=
"scope.row.jcResult=='1'"
>
OK
</span>
<span
v-else-if=
"scope.row.jcResult=='2'"
>
NO
</span>
<span
v-else-if=
"scope.row.jcResult=='2'"
>
NO
</span>
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"12
0px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"10
0px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
v-show=
"scope.row.approveStatus=='1'&&loginId!=scope.row.updateBy"
v-show=
"scope.row.approveStatus=='1'&&loginId!=scope.row.updateBy"
...
...
src/views/checkList.vue
View file @
42b9f15b
This diff is collapsed.
Click to expand it.
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