From 47f7d7dacee2895854dfb6e7dd20cd879f602df1 Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Fri, 06 Sep 2024 09:39:48 +0800 Subject: [PATCH] 督办 --- gz-customerSystem/src/views/register/handleFeedback/component/handle.jsx | 14 +++++++------- gz-customerSystem/src/views/filesCheck/newFileCheck.jsx | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gz-customerSystem/src/views/filesCheck/newFileCheck.jsx b/gz-customerSystem/src/views/filesCheck/newFileCheck.jsx index ccda429..5d85122 100644 --- a/gz-customerSystem/src/views/filesCheck/newFileCheck.jsx +++ b/gz-customerSystem/src/views/filesCheck/newFileCheck.jsx @@ -2,7 +2,7 @@ * @Company: hugeInfo * @Author: ldh * @Date: 2022-03-11 11:03:44 - * @LastEditTime: 2024-08-22 10:36:23 + * @LastEditTime: 2024-09-05 20:46:47 * @LastEditors: dminyi 1301963064@qq.com * @Version: 1.0.0 * @Description: 大厅来访材料附件查看 @@ -44,10 +44,10 @@ const FormItem = Form.Item; const Option = Select.Option; - +// http://localhost:9002/dyh-sys/api/web/fileInfo/listFileByCat?mainId=10001&ownerCat=&createStart=&createEnd=&uploaderType= // 获取附件 function getFileListDataApi(submitData) { - return $$.ax.request({ url: `caseInfo/listCaseFile?caseId=${submitData}`, type: 'get', service: 'mediate' }); + return $$.ax.request({ url: `fileInfo/listFileByCat?mainId=${submitData}`, type: 'get', service: 'mediate' }); } const NewFileCheck = ({ caseId }) => { diff --git a/gz-customerSystem/src/views/register/handleFeedback/component/handle.jsx b/gz-customerSystem/src/views/register/handleFeedback/component/handle.jsx index 7cb1acb..59e385d 100644 --- a/gz-customerSystem/src/views/register/handleFeedback/component/handle.jsx +++ b/gz-customerSystem/src/views/register/handleFeedback/component/handle.jsx @@ -131,8 +131,8 @@ { index: '2', label: '个人模板:推动事件尽快办结督办模板' } ] - const options = [ - {value:'1',label:'一'},{value:'2',label:'二'},{value:'3',label:'三'} + const options = [ + { value: '1', label: '一' }, { value: '2', label: '二' }, { value: '3', label: '三' } ]; const tabs2 = [ @@ -329,7 +329,7 @@ const saveFeedback = async (submitData) => { console.log(submitData, 'submitData1111') - const res = await saveFeedbackApi(submitData) + const res = await saveFeedbackApi({ ...submitData, id: id, caseId: '24083010062110001', caseTaskId: '12345' }) if (res.type) { $$.infoSuccess({ content: '保存成功' }); } @@ -754,24 +754,24 @@ <Row> <Col span={24}> <FormItem - label={<div style={{display:'flex'}}><div>督办部门</div><div style={{ color: '#86909C' }}>(可多选)</div></div>} + label={<div style={{ display: 'flex' }}><div>督办部门</div><div style={{ color: '#86909C' }}>(可多选)</div></div>} field='caseDes' > <Select mode='multiple' placeholder='请选择督办部门' - style={{ }} + style={{}} allowClear > {options.map((option) => ( - <Option key={option.value} value={option.value} onChange={(v)=>console.log(v,'vvvvvv')}> + <Option key={option.value} value={option.value} onChange={(v) => console.log(v, 'vvvvvv')}> {option.label} </Option> ))} </Select> </FormItem> </Col> - <div style={{ marginBottom:'8px' }}>督办意见</div> + <div style={{ marginBottom: '8px' }}>督办意见</div> <Col span={24}> <FormItem field='suggestion' -- Gitblit v1.8.0