Bladeren bron

新需求

傅行帆 5 jaren geleden
bovenliggende
commit
dc1834b010
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1
    1
      src/pages/house/add/HouseBatchAdd.jsx
  2. 1
    1
      src/pages/house/edit/components/HouseBatch.jsx

+ 1
- 1
src/pages/house/add/HouseBatchAdd.jsx Bestand weergeven

@@ -131,7 +131,7 @@ const columns = [
131 131
 
132 132
   return (
133 133
     <>
134
-      <span>1.导入房源先下载模板--></span><Button type="primary" htmlType="submit">下载模板</Button><br/>
134
+      <span>1.导入房源先下载模板--></span><a href="https://njcj.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1581597350487-房源模板.xlsx" download="房源模板.xlsx"><Button type="primary" htmlType="submit">下载模板</Button></a><br/>
135 135
       <span>2.使用excel打开模板文件,编辑房源数据并保存</span><br/>
136 136
       <span>3.将编辑好的文件上传--></span><Upload {...uploaderProps}><Button type="primary" htmlType="submit">上传</Button></Upload><br/>
137 137
       <span>4.检查导入的数据是否正常 ↓,不正常则重新编辑保存再次上传,请仔细阅读模板中的编辑规则</span>

+ 1
- 1
src/pages/house/edit/components/HouseBatch.jsx Bestand weergeven

@@ -119,7 +119,7 @@ const columns = [
119 119
 
120 120
   return (
121 121
     <>
122
-      <span>1.导入房源先下载模板--></span><Button type="primary" htmlType="submit">下载模板</Button><br/>
122
+      <span>1.导入房源先下载模板--></span><a href="https://njcj.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1581597350487-房源模板.xlsx" download="房源模板.xlsx"><Button type="primary" htmlType="submit">下载模板</Button></a><br/>
123 123
       <span>2.使用excel打开模板文件,编辑房源数据并保存</span><br/>
124 124
       <span>3.将编辑好的文件上传--></span><Upload {...uploaderProps}><Button type="primary" htmlType="submit">上传</Button></Upload><br/>
125 125
       <span>4.检查导入的数据是否正常 ↓,不正常则重新编辑保存再次上传,请仔细阅读模板中的编辑规则</span>