Commit ab2b44cc authored by 皮倩雯's avatar 皮倩雯

fix: '视频平台bug'

parent 7484aee6
Pipeline #57197 waiting for manual action with stages
......@@ -84,6 +84,7 @@ const AddModal = props => {
form.setFieldsValue({
accountParamValue: '熊猫ticket',
target: 0,
coordinate: '',
});
}
} else {
......@@ -166,7 +167,11 @@ const AddModal = props => {
});
console.log(result.districtList[0].districtList);
setOptionsList(data);
if (type == 'edit') {
form.setFieldsValue({ coordinate: pickItem.Coordinate });
} else {
form.setFieldsValue({ coordinate: '' });
}
});
});
} else {
......
......@@ -96,20 +96,20 @@ const Integrate = () => {
</span>
),
},
{
title: '副标题',
dataIndex: 'Subtitle',
key: 'Subtitle',
align: 'center',
ellipsis: true,
render: (text, record) => (
<span>
<Tooltip placement="top" title={text}>
{text}
</Tooltip>
</span>
),
},
// {
// title: '副标题',
// dataIndex: 'Subtitle',
// key: 'Subtitle',
// align: 'center',
// ellipsis: true,
// render: (text, record) => (
// <span>
// <Tooltip placement="top" title={text}>
// {text}
// </Tooltip>
// </span>
// ),
// },
{
title: '外网地址',
dataIndex: 'InternetAddress',
......
/*
* @Description:
* @Author: leizhe
* @Date: 2021-12-23 17:51:09
* @LastEditTime: 2022-08-09 10:05:19
* @LastEditors: leizhe
*/
import React, { useEffect, useState } from 'react';
import { Form, Modal, Row, Col, Input, Select, notification } from 'antd';
......@@ -19,7 +26,7 @@ const VideoModal = props => {
style={{ border: 0, width: '100%', height: 630 }}
src={
window.location.origin +
`/web4/video/indexAll.html?ID=${obj.EquipmentCode}&skipCheck=true&name=${
`/civbase/civweb4/video/indexAll.html?ID=${obj.EquipmentCode}&skipCheck=true&name=${
obj.Name
}&disk=${obj.RecorderName}&site=null`
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment