1、检查记录列表 添加状态的显示 需要配合后台添加 api
2、检查记录 检查人员显示修改 之前多人显示不完全
This commit is contained in:
parent
e8823f3acb
commit
489efae9ea
@ -99,8 +99,10 @@
|
||||
border="none" inputAlign="right"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="检查人员" prop="checkerNames" borderBottom>
|
||||
<u--input disabled disabledColor="#fff" v-model="item.checkerNames"
|
||||
border="none" inputAlign="right"></u--input>
|
||||
<!-- <u--input disabled disabledColor="#fff" v-model="item.checkerNames"
|
||||
border="none" inputAlign="right"></u--input> -->
|
||||
<u--textarea disabled autoHeight v-model="item.checkerNames" placeholder="检查人员"
|
||||
border="none"></u--textarea>
|
||||
</u-form-item>
|
||||
|
||||
<u-form-item label="隐患地点" prop="ADDRESS" borderBottom>
|
||||
|
||||
@ -46,6 +46,10 @@
|
||||
<text class="left">检查类型:</text>
|
||||
<text class="value">{{item.Nav_CheckType.NAME}}</text>
|
||||
</view>
|
||||
<view class="field">
|
||||
<text class="left">状态:</text>
|
||||
<text class="value">{{item.FORM_CODE}}</text>
|
||||
</view>
|
||||
<view class="field">
|
||||
<text class="left">检查时间:</text>
|
||||
<text class="value">{{item.CHECKTIME}}</text>
|
||||
@ -67,7 +71,7 @@
|
||||
} from '../../../../utils/common'
|
||||
|
||||
import {
|
||||
orderPage
|
||||
orderPageApp
|
||||
} from '../../../../services/apply/subPages/BS/safeCheck'
|
||||
|
||||
import UniSearchBar from '../../../../uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue'
|
||||
@ -112,8 +116,12 @@
|
||||
extendRule(json, 'STATECHECK', 2, 0);
|
||||
|
||||
extendInclude(json, 'Nav_CheckType')
|
||||
extendInclude(json, 'Nav_User')
|
||||
if (this.keyword) {
|
||||
extendRule(json, 'NAME', 9, this.keyword);
|
||||
// extendRule(json, 'CheckUsers', 9, this.keyword);
|
||||
// extendRule(json, 'Nav_User.NAME', 9, this.keyword);
|
||||
// extendRule(json, 'NAME', 9, this.keyword);
|
||||
json.Parameter1= this.keyword
|
||||
}
|
||||
|
||||
if (this.searchStartTime && this.searchStartTime.length > 0) {
|
||||
@ -131,7 +139,7 @@
|
||||
Order: "1"
|
||||
})
|
||||
// json.IgnoreDataRule = true
|
||||
orderPage(json).then(res => {
|
||||
orderPageApp(json).then(res => {
|
||||
this.total = res.TotalCount
|
||||
const newRes = (res.Data || []).map(i => {
|
||||
return {
|
||||
|
||||
@ -120,8 +120,11 @@
|
||||
<!-- 问题描述 问题等级 整改建议与措施 -->
|
||||
|
||||
<u-form-item label="检查人员" prop="userNameHtml" borderBottom>
|
||||
<rich-text disabled disabledColor="#fff" v-html="item.userNameHtml"
|
||||
<!-- <rich-text disabled disabledColor="#fff" v-html="item.userNameHtml"
|
||||
border="none" slot="right"></rich-text>
|
||||
-->
|
||||
<u--textarea disabled autoHeight v-html="item.userNameHtml" placeholder="检查人员"
|
||||
border="surround"></u--textarea>
|
||||
</u-form-item>
|
||||
|
||||
</u-collapse-item>
|
||||
|
||||
@ -12,6 +12,17 @@ export function orderPage(params) {
|
||||
})
|
||||
})
|
||||
}
|
||||
export function orderPageApp(params) {
|
||||
return new Promise((resolve, reject) => {
|
||||
request.post("/BS/BSSafeCheck/OrderPagedAPP", params).then((result) => {
|
||||
if (result.IsSuccessful) {
|
||||
resolve(result);
|
||||
}
|
||||
}).catch((error) => {
|
||||
reject(error)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
//BS034
|
||||
export function GetCheckInfo034ShowPrint(params) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user