提交 9fc3d14c authored 作者: 何宗全's avatar 何宗全

去掉查看样表

上级 568145fe
......@@ -93,12 +93,12 @@ export default {
url: "/pages/listingManagement/index?backValue=home",
},
{
image: "../../static/img/yd.png",
image: "../../static/img/jf.png",
text: "机房月度巡检",
url: "/pages/inspectionContent/inspectionContentList?backValue=home&inspectionType=3",
},
{
image: "../../static/img/nd.png",
image: "../../static/img/jf.png",
text: "机房年度巡检",
url: "/pages/inspectionContent/inspectionContentList?backValue=home&inspectionType=4",
},
......
......@@ -270,7 +270,10 @@ export default {
let hasOne = false;
for (const item of details) {
if (item.inspectionResult === "") {
if(!item.value){
hasEmpty = true;
break;
} else if (item.inspectionResult === "") {
hasEmpty = true;
break;
} else if (item.inspectionResult === 1) {
......
......@@ -282,7 +282,10 @@ export default {
let hasOne = false;
for (const item of details) {
if (item.inspectionResult === "") {
if (item.setting && !item.value) {
hasEmpty = true;
break;
} else if (item.inspectionResult === "") {
hasEmpty = true;
break;
} else if (item.inspectionResult === 1) {
......
......@@ -12,9 +12,9 @@
</view>
</block>
<block slot="right" class="nav-right">
<view class="header-buttons">
<!-- <view class="header-buttons">
<view class="button" @click="lookTable">查看样表</view>
</view>
</view> -->
</block>
</uni-nav-bar>
<view class="profile-section">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论