提交 42800b79 authored 作者: 邓文彬's avatar 邓文彬

fix(pad): bug修改

上级 c6f979a4
...@@ -68,8 +68,8 @@ export default { ...@@ -68,8 +68,8 @@ export default {
inspectArr: [ inspectArr: [
{ value: "", text: "全部" }, { value: "", text: "全部" },
{ value: 1, text: "机房巡检" }, { value: "1", text: "机房巡检" },
{ value: 2, text: "井道巡检" }, { value: "2", text: "井道巡检" },
], ],
synchronization: [ synchronization: [
{ value: "", text: "全部" }, { value: "", text: "全部" },
...@@ -78,8 +78,8 @@ export default { ...@@ -78,8 +78,8 @@ export default {
], ],
exceptionArr: [ exceptionArr: [
{ value: "", text: "全部" }, { value: "", text: "全部" },
{ value: 1, text: "有异常" }, { value: "1", text: "有异常" },
{ value: 0, text: "无异常" }, { value: "0", text: "无异常" },
], ],
}; };
}, },
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
init() { init() {
this.formData = { this.formData = {
inspectionType: "1", inspectionType: "1",
inspectionCode: `JFXJ${moment().format("yyyyMMDDhhmmss")}${(Math.floor(Math.random() * 900) + 100)}`, inspectionCode: `JFXJ${moment().format("yyyyMMDDHHmmss")}${(Math.floor(Math.random() * 900) + 100)}`,
recordName: `${moment().format("yyyyMMDD")}-机房巡检记录`, recordName: `${moment().format("yyyyMMDD")}-机房巡检记录`,
inspectionTime: moment().format("yyyy-MM-DD HH:mm"), inspectionTime: moment().format("yyyy-MM-DD HH:mm"),
inspectionBy: this.$store.state.now_user.user, inspectionBy: this.$store.state.now_user.user,
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
const inspectionCode = `${ const inspectionCode = `${
val.detail.value == 1 ? "JFXJ" : "JDXJ" val.detail.value == 1 ? "JFXJ" : "JDXJ"
}${moment().format("yyyyMMDDhhmmss")}`; }${moment().format("yyyyMMDDHHmmss")}`;
this.formData.inspectionCode = inspectionCode + (Math.floor(Math.random() * 900) + 100); this.formData.inspectionCode = inspectionCode + (Math.floor(Math.random() * 900) + 100);
}, },
......
...@@ -43,6 +43,10 @@ ...@@ -43,6 +43,10 @@
><text class="name">巡检时间</text ><text class="name">巡检时间</text
><text class="text">{{ baseInfo.inspectionTime }}</text> ><text class="text">{{ baseInfo.inspectionTime }}</text>
</view> </view>
<view class="base-row-item"
><text class="name">巡检人</text
><text class="text">{{ baseInfo.inspectionBy }}</text>
</view>
</view> </view>
<image <image
......
...@@ -312,7 +312,7 @@ export default { ...@@ -312,7 +312,7 @@ export default {
.note-item { .note-item {
textarea{ textarea{
width: 100%; width: 100%;
height: 96px; min-height: 96px;
background: #f7f7f7; background: #f7f7f7;
border-radius: 1px; border-radius: 1px;
font-size: 14px; font-size: 14px;
......
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
} }
.textarea { .textarea {
width: 100%; width: 100%;
height: 96px; min-height: 96px;
background: #f7f7f7; background: #f7f7f7;
border-radius: 12px; border-radius: 12px;
font-size: 14px; font-size: 14px;
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
} }
.textarea { .textarea {
width: 100%; width: 100%;
height: 96px; min-height: 96px;
background: #f7f7f7; background: #f7f7f7;
border-radius: 12px; border-radius: 12px;
font-size: 14px; font-size: 14px;
......
...@@ -315,7 +315,7 @@ export default { ...@@ -315,7 +315,7 @@ export default {
.note-item { .note-item {
textarea{ textarea{
width: 100%; width: 100%;
height: 96px; min-height: 96px;
background: #f7f7f7; background: #f7f7f7;
border-radius: 1px; border-radius: 1px;
font-size: 14px; font-size: 14px;
......
...@@ -312,7 +312,7 @@ export default { ...@@ -312,7 +312,7 @@ export default {
.note-item { .note-item {
textarea{ textarea{
width: 100%; width: 100%;
height: 96px; min-height: 96px;
background: #f7f7f7; background: #f7f7f7;
border-radius: 1px; border-radius: 1px;
font-size: 14px; font-size: 14px;
......
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
:key="index" :key="index"
> >
<view v-if="(item.list || []).length" class="seconed-title"> <view v-if="(item.list || []).length" class="seconed-title">
{{ item.submitTime || item.time {{ item.submitTime || item.time}}
}}
</view> </view>
<view class="inspect-list"> <view class="inspect-list">
......
...@@ -373,7 +373,7 @@ export default { ...@@ -373,7 +373,7 @@ export default {
.textarea { .textarea {
width: 100%; width: 100%;
height: 96px; min-height: 96px;
background: #f7f7f7; background: #f7f7f7;
border-radius: 12px; border-radius: 12px;
font-size: 14px; font-size: 14px;
......
...@@ -43,6 +43,10 @@ ...@@ -43,6 +43,10 @@
><text class="name">巡检时间</text ><text class="name">巡检时间</text
><text class="text">{{ baseInfo.inspectionTime }}</text> ><text class="text">{{ baseInfo.inspectionTime }}</text>
</view> </view>
<view class="base-row-item"
><text class="name">巡检人</text
><text class="text">{{ baseInfo.inspectionBy }}</text>
</view>
</view> </view>
<image <image
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论