forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-11 48338f6e5bd42fc3617d44c49aa825046e1f1730
gz-customerSystem/src/views/register/handleFeedback/component/handle.jsx
@@ -138,9 +138,12 @@
  }
  const getByIdRole = async () => {
    console.log(feedbackInfoData?.handleUserId, 'feedbackInfoData?.handleUserId')
    const res = await getByIdRoleApi(feedbackInfoData?.handleUserId)
    if(res.type){
      setPersonView(!personView)
    setPersonData(res.data)
    }
  }
@@ -185,9 +188,9 @@
  const getFeedbackInfo = async () => {
    const res = await getFeedbackInfoApi(caseId)
    if (res.type) {
      setFeedbackInfoData(res.data)
      setFeedbackInfoData(() => res.data)
      console.log(res.data, 'res.data')
      getByIdRole();
      // getByIdRole();
    }
  }
@@ -269,7 +272,7 @@
  }
  const handlePersonView = () => {
    setPersonView(!personView)
    getByIdRole();
  }
@@ -366,7 +369,7 @@
                    caseId && managerName ?
                      <WantUserTag name={managerName} onClose={() => setWantUser({ wantUserId: null, wantUserName: null })} />
                      :
                      <Button onClick={() => setIsModalVisible(true)} style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} type='outline'>选择</Button>
                      <Button onClick={() => { setIsModalVisible(true); }} style={{ color: '#1A6FB8', border: '1px solid #1A6FB8' }} type='outline'>选择</Button>
                  }
                </FormItem>
              </Col>
@@ -407,7 +410,6 @@
                              wrapperStyle={{ width: '100%' }}
                            />
                          </FormItem>
                        </Col>
                        <Col span={24}>
                          <FormItem
@@ -420,7 +422,7 @@
                          >
                            <ArcoUpload
                              params={{
                                action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${caseId}&ownerId=${caseId}&ownerType=${'22_00018-501'}`,
                                action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${caseId}&ownerId=${id}&ownerType=${'22_00018-501'}`,
                              }}
                              field='file1'
                              // handleChangeFile={handleChangeFile}
@@ -543,7 +545,7 @@
            </tr>
            <tr>
              <th bgcolor="#F7F8FA" className="table-title">所属部门</th>
              <td>{personData?.deptName}</td>
              <td>{personData?.unitName}</td>
              <th bgcolor="#F7F8FA" className="table-title">职务</th>
              <td>{personData?.userRoles}</td>
            </tr>