Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-web-h5app-drs
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhuxiaomei
patzn-cloud-web-h5app-drs
Commits
038b2328
Commit
038b2328
authored
Mar 12, 2021
by
zhuxiaomei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面高度及颜色修改
parent
f94d5ca0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
SamplingPlan.vue
src/page/sampling-plan/SamplingPlan.vue
+2
-2
SamplingPlanAdd.vue
src/page/sampling-plan/add/SamplingPlanAdd.vue
+5
-2
TaskRequirements.vue
src/page/sampling-plan/add/TaskRequirements.vue
+1
-1
No files found.
src/page/sampling-plan/SamplingPlan.vue
View file @
038b2328
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<div>
产品:{{ item.product }}
</div>
<div>
产品:{{ item.product }}
</div>
</div>
</div>
<
template
#
right
v-if=
"item.progress==='草稿'||item.progress==='审批驳回'"
>
<
template
#
right
v-if=
"item.progress==='草稿'||item.progress==='审批驳回'"
>
<van-button
square
color=
"#75b7bd
"
text=
"提交 "
class=
"swipe-cell-btn"
<van-button
square
type=
"primary
"
text=
"提交 "
class=
"swipe-cell-btn"
@
click=
"_submit([item.id])"
></van-button>
@
click=
"_submit([item.id])"
></van-button>
<!--
<van-button
square
type=
"info"
text=
"编辑"
class=
"swipe-cell-btn"
--
>
<!--
<van-button
square
type=
"info"
text=
"编辑"
class=
"swipe-cell-btn"
--
>
<!-- @click="_edit(item)">
</van-button>
-->
<!-- @click="_edit(item)">
</van-button>
-->
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<!-- @click="_peopleManage(item)">
</van-button>
-->
<!-- @click="_peopleManage(item)">
</van-button>
-->
<!--
<van-button
square
type=
"warning"
text=
"管理地点"
class=
"swipe-cell-btn"
--
>
<!--
<van-button
square
type=
"warning"
text=
"管理地点"
class=
"swipe-cell-btn"
--
>
<!-- @click="_locManage(item)">
</van-button>
-->
<!-- @click="_locManage(item)">
</van-button>
-->
<van-button
square
type=
"
warning
"
text=
"维护人员地点"
class=
"swipe-cell-btn"
<van-button
square
type=
"
info
"
text=
"维护人员地点"
class=
"swipe-cell-btn"
@
click=
"_maintain(item)"
></van-button>
@
click=
"_maintain(item)"
></van-button>
<van-button
square
type=
"danger"
text=
"删除"
class=
"swipe-cell-btn"
<van-button
square
type=
"danger"
text=
"删除"
class=
"swipe-cell-btn"
@
click=
"_del([item.id])"
></van-button>
@
click=
"_del([item.id])"
></van-button>
...
...
src/page/sampling-plan/add/SamplingPlanAdd.vue
View file @
038b2328
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<van-step>
维护人员地点
</van-step>
<van-step>
维护人员地点
</van-step>
<van-step>
任务要求
</van-step>
<van-step>
任务要求
</van-step>
</van-steps>
</van-steps>
<div
v-if=
"active===0"
style=
"
height: calc(100% - 63px);overflow-y: auto
"
>
<div
v-if=
"active===0"
style=
"
overflow-y: auto"
:style=
"contHeight
"
>
<van-form
@
submit=
"onSubmit"
>
<van-form
@
submit=
"onSubmit"
>
<van-field
<van-field
v-model=
"formObj.name"
v-model=
"formObj.name"
...
@@ -149,7 +149,8 @@ export default {
...
@@ -149,7 +149,8 @@ export default {
announcementDate
:
''
,
announcementDate
:
''
,
remark
:
''
remark
:
''
},
},
planId
:
''
planId
:
''
,
contHeight
:
''
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -159,9 +160,11 @@ export default {
...
@@ -159,9 +160,11 @@ export default {
_open
()
{
_open
()
{
if
(
this
.
$route
.
query
.
id
)
{
//编辑
if
(
this
.
$route
.
query
.
id
)
{
//编辑
this
.
id
=
this
.
$route
.
query
.
id
this
.
id
=
this
.
$route
.
query
.
id
this
.
contHeight
=
{
height
:
'100%'
}
this
.
_getData
()
this
.
_getData
()
}
else
{
}
else
{
this
.
id
=
''
this
.
id
=
''
this
.
contHeight
=
{
height
:
' calc(100% - 63px)'
}
}
}
},
},
_getData
:
async
function
()
{
_getData
:
async
function
()
{
...
...
src/page/sampling-plan/add/TaskRequirements.vue
View file @
038b2328
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<div
class=
"bottom-btn"
style=
"position: fixed;bottom: 0"
>
<div
class=
"bottom-btn"
style=
"position: fixed;bottom: 0"
>
<!-- <van-button type="info" block @click="_back">上一步</van-button>-->
<!-- <van-button type="info" block @click="_back">上一步</van-button>-->
<van-button
type=
"
info
"
block
@
click=
"_save"
>
保存
</van-button>
<van-button
type=
"
primary
"
block
@
click=
"_save"
>
保存
</van-button>
<van-button
type=
"info"
block
@
click=
"_submit"
>
提交
</van-button>
<van-button
type=
"info"
block
@
click=
"_submit"
>
提交
</van-button>
</div>
</div>
</div>
</div>
...
...
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