提交 290d8a23 authored 作者: caodi\cd's avatar caodi\cd

fix:注释

上级 aa48b4e3
<template> <template>
<!-- 巡检管理搜索页 -->
<view class="search-com"> <view class="search-com">
<view class="search-com-left"> <view class="search-com-left">
<uni-data-select <uni-data-select
...@@ -34,19 +35,9 @@ ...@@ -34,19 +35,9 @@
:clear="true" :clear="true"
:key="new Date().getTime()" :key="new Date().getTime()"
></uni-data-select> ></uni-data-select>
<uni-data-select
v-if="!hiddenSearch.includes('inspectionTime')"
class="uni-search-item"
v-model="searchFrom.inspectionTime"
:localdata="dateArr"
placeholder="选择时间"
@change="(e) => change(e, 'inspectionTime')"
:clear="true"
:key="new Date().getTime()"
></uni-data-select>
</view> </view>
<!-- <view <view
class="search-com-right" class="search-com-right"
v-if="!hiddenSearch.includes('inspectionTime')" v-if="!hiddenSearch.includes('inspectionTime')"
> >
...@@ -57,7 +48,7 @@ ...@@ -57,7 +48,7 @@
:border="false" :border="false"
@change="(e) => change(e, 'inspectionTime')" @change="(e) => change(e, 'inspectionTime')"
/> />
</view> --> </view>
</view> </view>
</template> </template>
<script> <script>
...@@ -96,12 +87,6 @@ export default { ...@@ -96,12 +87,6 @@ export default {
{ value: "1", text: "有" }, { value: "1", text: "有" },
{ value: "0", text: "无" }, { value: "0", text: "无" },
], ],
dateArr: [
{ value: "0", text: "本月" },
{ value: "1", text: "本季" },
{ value: "2", text: "本年" },
{ value: "3", text: "自定义" },
],
}; };
}, },
methods: { methods: {
...@@ -118,22 +103,28 @@ export default { ...@@ -118,22 +103,28 @@ export default {
.search-com { .search-com {
display: flex; display: flex;
align-items: center; align-items: center;
width: 50%; margin-top: 8px;
// width: 50%;
.search-com-left { .search-com-left {
display: flex; display: flex;
flex:1;
align-items: center; align-items: center;
flex: 1;
.uni-search-item { .uni-search-item {
margin-right: 12px; width: 132px;
height: 36px;
margin-right: 16px;
background: #fff; background: #fff;
border-radius: 4px; border-radius: 10px;
border: none !important; border: none !important;
} }
} }
.search-com-right { .search-com-right {
width: 300px; width: 300px;
.uni-datetime-picker { .uni-datetime-picker {
height: 36px;
background: #fff; background: #fff;
border-radius: 10px;
border: none !important;
} }
} }
} }
......
<template> <template>
<!-- 首页 -->
<view class="container"> <view class="container">
<!-- 第一个模块 --> <!-- 第一个模块 -->
<view class="header"> <view class="header">
......
<template> <template>
<!-- 巡检管理 -->
<view class="inspection-management"> <view class="inspection-management">
<uni-nav-bar :fixed="true" background-color="rgba(214, 240, 255, 0.0)" status-bar rightWidth="300"> <uni-nav-bar :fixed="true" background-color="rgba(214, 240, 255, 0.0)" status-bar rightWidth="300">
<block slot="left"> <block slot="left">
......
<template> <template>
<!-- 登录页 -->
<view class="content"> <view class="content">
<view class="login_wrap"> <view class="login_wrap">
......
<template> <template>
<!-- 井道巡检操作 -->
<view class="container"> <view class="container">
<uni-nav-bar :fixed="true" background-color="rgba(214, 240, 255, 0.0)" status-bar rightWidth="300"> <uni-nav-bar :fixed="true" background-color="rgba(214, 240, 255, 0.0)" status-bar rightWidth="300">
<block slot="left"> <block slot="left">
...@@ -217,6 +218,7 @@ ...@@ -217,6 +218,7 @@
position: this.location, // 位置 position: this.location, // 位置
floor: this.floor, // 楼层 floor: this.floor, // 楼层
isSubmit: "", // 0 是草稿态; 1 是正式提交 isSubmit: "", // 0 是草稿态; 1 是正式提交
isSign: "", // 是否签字
conclusion: "", //摘要 conclusion: "", //摘要
creatTime: `${new Date().getTime()}`, creatTime: `${new Date().getTime()}`,
items: [], items: [],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论