padding 调整
多文本显示内容多的信息 默认加载信息时 设置缓存数据
This commit is contained in:
parent
31f0e0e5cb
commit
64df9f260e
@ -326,7 +326,7 @@
|
||||
.form-sub {
|
||||
/* margin: 20px 16px 10px 16px; */
|
||||
/* border: 1px solid #EBEEF5; */
|
||||
padding: 20px 30px 10px 30px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
/* box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 3px 1px; */
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
|
||||
@ -33,8 +33,12 @@
|
||||
v-for="(item, index) in model.ListShow">
|
||||
<uni-collapse-item :title="(index+1) + '. ' + item.CHECKCONTENT" name="1">
|
||||
<u-form-item label="检查内容" prop="CHECKCONTENT" borderBottom>
|
||||
<u--input disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right"></u--input>
|
||||
|
||||
<!-- <u--input disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right"></u--input> -->
|
||||
|
||||
<u--textarea disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right" autoHeight ></u--textarea>
|
||||
</u-form-item>
|
||||
<u-form-item v-if="model.ISDOWN=='是'" label="区域" prop="Nav_RiskArea.NAME"
|
||||
borderBottom>
|
||||
@ -289,7 +293,7 @@
|
||||
.form-sub {
|
||||
/* margin: 20px 16px 10px 16px; */
|
||||
/* border: 1px solid #EBEEF5; */
|
||||
padding: 20px 30px 10px 30px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
/* box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 3px 1px; */
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
|
||||
@ -29,14 +29,15 @@
|
||||
<u--form labelPosition="left" labelWidth="auto" labelAlign="center"
|
||||
errorType="border-bottom" style="margin-bottom: 50px;" ref="sForm">
|
||||
<uni-collapse :border="false" accordion>
|
||||
<uni-card style="margin-bottom: 5px;" margin="0"
|
||||
spacing="0" :is-shadow="false" v-for="(item, index) in model.ListShow">
|
||||
<uni-card style="margin-bottom: 5px;" margin="0" spacing="0" :is-shadow="false"
|
||||
v-for="(item, index) in model.ListShow">
|
||||
<uni-collapse-item :title="(index+1) + '. ' + item.CHECKCONTENT" name="1">
|
||||
<u-form-item label="检查内容" prop="CHECKCONTENT" borderBottom>
|
||||
<u--input disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right"></u--input>
|
||||
<u--textarea disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right" autoHeight></u--textarea>
|
||||
</u-form-item>
|
||||
<u-form-item v-if="model.ISDOWN=='是'" label="区域" prop="Nav_RiskArea.NAME" borderBottom>
|
||||
<u-form-item v-if="model.ISDOWN=='是'" label="区域" prop="Nav_RiskArea.NAME"
|
||||
borderBottom>
|
||||
<u--input disabled disabledColor="#fff" v-model="item.Nav_RiskArea.NAME"
|
||||
border="none" inputAlign="right"></u--input>
|
||||
</u-form-item>
|
||||
@ -44,10 +45,6 @@
|
||||
<u--input disabled disabledColor="#fff" v-model="item.DESCREPTION"
|
||||
border="none" inputAlign="right"></u--input>
|
||||
</u-form-item>
|
||||
<!-- <u-form-item label="上报时间" prop="CREATE_TIME" borderBottom>
|
||||
<u--input disabled disabledColor="#fff" v-model="item.CREATE_TIME"
|
||||
border="none" inputAlign="right"></u--input>
|
||||
</u-form-item> -->
|
||||
</uni-collapse-item>
|
||||
</uni-card>
|
||||
</uni-collapse>
|
||||
@ -284,7 +281,7 @@
|
||||
.form-sub {
|
||||
/* margin: 20px 16px 10px 16px; */
|
||||
/* border: 1px solid #EBEEF5; */
|
||||
padding: 20px 30px 10px 30px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
/* box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 3px 1px; */
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
|
||||
@ -33,8 +33,11 @@
|
||||
v-for="(item, index) in model.ListShow">
|
||||
<uni-collapse-item :title="(index+1) + '. ' + item.CHECKCONTENT" name="1">
|
||||
<u-form-item label="检查内容" prop="CHECKCONTENT" borderBottom>
|
||||
<u--input disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right"></u--input>
|
||||
<!-- <u--input disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right"></u--input> -->
|
||||
|
||||
<u--textarea disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||
border="none" inputAlign="right" autoHeight></u--textarea>
|
||||
</u-form-item>
|
||||
<u-form-item v-if="model.ISDOWN=='是'" label="区域" prop="Nav_RiskArea.NAME"
|
||||
borderBottom>
|
||||
@ -271,7 +274,7 @@
|
||||
.form-sub {
|
||||
/* margin: 20px 16px 10px 16px; */
|
||||
/* border: 1px solid #EBEEF5; */
|
||||
padding: 20px 30px 10px 30px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
/* box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 3px 1px; */
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
|
||||
@ -284,7 +284,7 @@
|
||||
.form-sub {
|
||||
/* margin: 20px 16px 10px 16px; */
|
||||
/* border: 1px solid #EBEEF5; */
|
||||
padding: 20px 30px 10px 30px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
/* box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 3px 1px; */
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
|
||||
@ -111,13 +111,19 @@
|
||||
this.POST_ID = e.split('=')[1]
|
||||
}
|
||||
})
|
||||
} else {
|
||||
//出现公司选择
|
||||
}
|
||||
}
|
||||
// createType '区域'10 '岗位'20
|
||||
if (this.OrgId && this.OrgId.length > 1)
|
||||
if (this.OrgId && this.OrgId.length > 1) {
|
||||
this.dataLists.forEach(e => {
|
||||
if (this.OrgId.toUpperCase() == e.id) {
|
||||
this.NAME = e.name
|
||||
//初始化加载 存值
|
||||
uni.setStorageSync('tenantId', e.tenantId)
|
||||
}
|
||||
})
|
||||
this.getCaidan()
|
||||
}
|
||||
},
|
||||
|
||||
//页面跳转到APP
|
||||
@ -232,6 +238,7 @@
|
||||
this.selectorInfo.showPopup = false
|
||||
this.OrgId = e.id
|
||||
this.NAME = e.name
|
||||
//公司选择 存值
|
||||
uni.setStorageSync('tenantId', e.tenantId)
|
||||
if (this.OrgId && this.OrgId.length > 1)
|
||||
this.getCaidan()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user