forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-10 f6939b0ec6680da8416a3161b524e7b73a7a3db8
gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx
@@ -16,7 +16,7 @@
}
function delFile(id) {
  return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'delete', service: 'sys', data: { id } });
  return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } });
}
export default function BackModel(props) {
@@ -60,7 +60,7 @@
  //交办请求
  const handleAssign = async (data) => {
    const res = await assign(data)
    const res = await assign({ ...data, caseTaskId: props.caseTaskId })
    if (res.type) {
      $$.infoSuccess({ content: '交办成功!' });
      props.onCancel()
@@ -154,7 +154,7 @@
            <Col span={24} className="doubleFile">
              <ArcoUpload
                params={{
                  action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${routeData.caseTaskId}&ownerType=22_00018-501`,
                  action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${props.caseId}&ownerType=22_00018-501`,
                }}
                field='file'
                label='附件材料'