|
@@ -29,8 +29,7 @@ const LockModal = props => {
|
|
|
const [form] = Form.useForm()
|
|
const [form] = Form.useForm()
|
|
|
const { Option } = Select
|
|
const { Option } = Select
|
|
|
const scrollRef = useRef()
|
|
const scrollRef = useRef()
|
|
|
- const { visible, onCancel, onConfirm, loading, type, longleId, keyNum, status, clientId } = props
|
|
|
|
|
- // console.log(type)
|
|
|
|
|
|
|
+ const { visible, onCancel, onConfirm, loading, type, longleId, keyNum, status } = props
|
|
|
const layout = {
|
|
const layout = {
|
|
|
layout: 'vertical'
|
|
layout: 'vertical'
|
|
|
}
|
|
}
|
|
@@ -105,8 +104,8 @@ const LockModal = props => {
|
|
|
// 关联联系人
|
|
// 关联联系人
|
|
|
const connectClient = async id => {
|
|
const connectClient = async id => {
|
|
|
const { code = -1 } = await apiSoftwareAddLonglelog({
|
|
const { code = -1 } = await apiSoftwareAddLonglelog({
|
|
|
- id,
|
|
|
|
|
- clientId,
|
|
|
|
|
|
|
+ // id,
|
|
|
|
|
+ clientId: id,
|
|
|
status: type,
|
|
status: type,
|
|
|
longleId
|
|
longleId
|
|
|
})
|
|
})
|