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 => { ...@@ -84,6 +84,7 @@ const AddModal = props => {
form.setFieldsValue({ form.setFieldsValue({
accountParamValue: '熊猫ticket', accountParamValue: '熊猫ticket',
target: 0, target: 0,
coordinate: '',
}); });
} }
} else { } else {
...@@ -166,7 +167,11 @@ const AddModal = props => { ...@@ -166,7 +167,11 @@ const AddModal = props => {
}); });
console.log(result.districtList[0].districtList); console.log(result.districtList[0].districtList);
setOptionsList(data); setOptionsList(data);
if (type == 'edit') {
form.setFieldsValue({ coordinate: pickItem.Coordinate }); form.setFieldsValue({ coordinate: pickItem.Coordinate });
} else {
form.setFieldsValue({ coordinate: '' });
}
}); });
}); });
} else { } else {
......
...@@ -96,20 +96,20 @@ const Integrate = () => { ...@@ -96,20 +96,20 @@ const Integrate = () => {
</span> </span>
), ),
}, },
{ // {
title: '副标题', // title: '副标题',
dataIndex: 'Subtitle', // dataIndex: 'Subtitle',
key: 'Subtitle', // key: 'Subtitle',
align: 'center', // align: 'center',
ellipsis: true, // ellipsis: true,
render: (text, record) => ( // render: (text, record) => (
<span> // <span>
<Tooltip placement="top" title={text}> // <Tooltip placement="top" title={text}>
{text} // {text}
</Tooltip> // </Tooltip>
</span> // </span>
), // ),
}, // },
{ {
title: '外网地址', title: '外网地址',
dataIndex: 'InternetAddress', 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 React, { useEffect, useState } from 'react';
import { Form, Modal, Row, Col, Input, Select, notification } from 'antd'; import { Form, Modal, Row, Col, Input, Select, notification } from 'antd';
...@@ -19,7 +26,7 @@ const VideoModal = props => { ...@@ -19,7 +26,7 @@ const VideoModal = props => {
style={{ border: 0, width: '100%', height: 630 }} style={{ border: 0, width: '100%', height: 630 }}
src={ src={
window.location.origin + 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 obj.Name
}&disk=${obj.RecorderName}&site=null` }&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