视频库查看 修改 打开就能看视频
视频查看 播放 100% 隐患查看 绑定修改
This commit is contained in:
parent
ce3749966e
commit
096730ba7a
@ -31,21 +31,23 @@
|
|||||||
<uni-collapse :border="false" accordion>
|
<uni-collapse :border="false" accordion>
|
||||||
<uni-card style="margin-bottom: 5px;" margin="0" spacing="0" :is-shadow="false"
|
<uni-card style="margin-bottom: 5px;" margin="0" spacing="0" :is-shadow="false"
|
||||||
v-for="(item, index) in model.ListShow">
|
v-for="(item, index) in model.ListShow">
|
||||||
<uni-collapse-item :title="(index+1) + '. ' + item.CHECKCONTENT" name="1">
|
<uni-collapse-item :title="(index+1) + '. ' + item.CHECKCONTENT"
|
||||||
<u-form-item label="检查内容" prop="CHECKCONTENT" borderBottom>
|
name="1">
|
||||||
|
<u-form-item label="检查内容" prop="Nav_Contents.CHECKCONTENT" borderBottom>
|
||||||
<!-- <u--input disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
<!-- <u--input disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
||||||
border="none" inputAlign="right"></u--input> -->
|
border="none" inputAlign="right"></u--input> -->
|
||||||
|
|
||||||
<u--textarea disabled disabledColor="#fff" v-model="item.CHECKCONTENT"
|
<u--textarea disabled disabledColor="#fff"
|
||||||
border="none" inputAlign="right" autoHeight></u--textarea>
|
v-model="item.Nav_Contents.CHECKCONTENT" border="none"
|
||||||
|
inputAlign="right" autoHeight></u--textarea>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item v-if="model.ISDOWN=='是'" label="区域" prop="Nav_RiskArea.NAME"
|
<u-form-item v-if="model.ISDOWN=='是'" label="区域" prop="Nav_RiskArea.NAME"
|
||||||
borderBottom>
|
borderBottom>
|
||||||
<u--input disabled disabledColor="#fff" v-model="item.Nav_RiskArea.NAME"
|
<u--input disabled disabledColor="#fff" v-model="item.Nav_RiskArea.NAME"
|
||||||
border="none" inputAlign="right"></u--input>
|
border="none" inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="地址" prop="ADDRESS" borderBottom>
|
<u-form-item label="地址" prop="HIDDEN_PLACE" borderBottom>
|
||||||
<u--input disabled disabledColor="#fff" v-model="item.ADDRESS"
|
<u--input disabled disabledColor="#fff" v-model="item.HIDDEN_PLACE"
|
||||||
border="none" inputAlign="right"></u--input>
|
border="none" inputAlign="right"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="上报时间" prop="CREATE_TIME" borderBottom>
|
<u-form-item label="上报时间" prop="CREATE_TIME" borderBottom>
|
||||||
@ -152,11 +154,22 @@
|
|||||||
this.model.ISDOWN == '否' || this.model.ISDOWN == '') ? false : true))
|
this.model.ISDOWN == '否' || this.model.ISDOWN == '') ? false : true))
|
||||||
json.IgnoreDataRule = true
|
json.IgnoreDataRule = true
|
||||||
json.Limit = 20
|
json.Limit = 20
|
||||||
json.SelectField = ["CHECKCONTENT", "ADDRESS", "CREATE_TIME", "Nav_RiskArea.NAME"]
|
json.SelectField = ["Nav_Contents.CHECKCONTENT", "HIDDEN_PLACE", "CREATE_TIME", "Nav_RiskArea.NAME"]
|
||||||
PagedRisk(json).then(res => {
|
PagedRisk(json).then(res => {
|
||||||
if (res.IsSuccessful) {
|
if (res.IsSuccessful) {
|
||||||
// this.model.ListShow = res.Data
|
// this.model.ListShow = res.Data
|
||||||
this.total = res.TotalCount
|
this.total = res.TotalCount
|
||||||
|
res.Data.forEach(e => {
|
||||||
|
if (e.Nav_Contents && e.Nav_Contents.CHECKCONTENT) {
|
||||||
|
if (e.Nav_Contents.CHECKCONTENT.length > 15) {
|
||||||
|
e.CHECKCONTENT = e.Nav_Contents.CHECKCONTENT.substring(0, 15)+'...'
|
||||||
|
} else {
|
||||||
|
e.CHECKCONTENT = e.Nav_Contents.CHECKCONTENT
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
e.CHECKCONTENT = ''
|
||||||
|
}
|
||||||
|
})
|
||||||
if (paginate) {
|
if (paginate) {
|
||||||
this.model.ListShow = this.model.ListShow.concat(res.Data)
|
this.model.ListShow = this.model.ListShow.concat(res.Data)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -134,6 +134,7 @@
|
|||||||
this.model.RISK_AREA_ID = option.RISK_AREA_ID // 'FA89F8DA-0B46-4665-A8DD-3675829F6D6F'
|
this.model.RISK_AREA_ID = option.RISK_AREA_ID // 'FA89F8DA-0B46-4665-A8DD-3675829F6D6F'
|
||||||
this.OrgId = option.OrgId // 'B043B28B-BBC3-C452-6052-4FBA1457ABFA'
|
this.OrgId = option.OrgId // 'B043B28B-BBC3-C452-6052-4FBA1457ABFA'
|
||||||
if (this.model.RISK_AREA_ID != undefined && this.model.RISK_AREA_ID != '') {
|
if (this.model.RISK_AREA_ID != undefined && this.model.RISK_AREA_ID != '') {
|
||||||
|
|
||||||
// this.PagedCheckMain()//扫二维码 默认赋值
|
// this.PagedCheckMain()//扫二维码 默认赋值
|
||||||
const json = initFilter(this.OrgId, null, "NAME", 0, 1);
|
const json = initFilter(this.OrgId, null, "NAME", 0, 1);
|
||||||
json.IgnoreDataRule = true
|
json.IgnoreDataRule = true
|
||||||
@ -144,13 +145,10 @@
|
|||||||
this.model.RISK_AREA_NAME = res.Data[0].NAME
|
this.model.RISK_AREA_NAME = res.Data[0].NAME
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.pageIndex = 0
|
||||||
|
this.PagedVideo();
|
||||||
}
|
}
|
||||||
// var player = polyvPlayer({
|
|
||||||
// wrap: "#player",
|
|
||||||
// width: 400,
|
|
||||||
// height: 300,
|
|
||||||
// vid: vid, //云点播平台的视频唯一id。
|
|
||||||
// });
|
|
||||||
},
|
},
|
||||||
// mounted() {
|
// mounted() {
|
||||||
// this.loadPlayerScript(this.loadPlayer);
|
// this.loadPlayerScript(this.loadPlayer);
|
||||||
|
|||||||
@ -41,7 +41,8 @@
|
|||||||
const polyvPlayer = window.polyvPlayer;
|
const polyvPlayer = window.polyvPlayer;
|
||||||
this.player = polyvPlayer({
|
this.player = polyvPlayer({
|
||||||
wrap: '#player',
|
wrap: '#player',
|
||||||
width: 300,
|
// width: 300,
|
||||||
|
with: '100%' ,
|
||||||
height: 300,
|
height: 300,
|
||||||
vid: this.vid,
|
vid: this.vid,
|
||||||
});
|
});
|
||||||
@ -121,5 +122,4 @@
|
|||||||
.demo-ruleForm-thr>>>.u-cell__title-text {
|
.demo-ruleForm-thr>>>.u-cell__title-text {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user