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

fix:注释

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