wew
This commit is contained in:
parent
1279df678a
commit
9df41326a4
@ -28,7 +28,6 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<input type="file" @change="handleUpload" />
|
||||
|
||||
|
||||
<el-dialog v-model="dialogPreview" title="文章预览" width="1000px">
|
||||
@ -151,7 +150,8 @@ const uploadFile = (file) => {
|
||||
|
||||
return new Promise(async (resolve, reject) => {
|
||||
const code = await getCode()
|
||||
const res = JSON.parse(code).token
|
||||
const res = JSON.parse(code.token)
|
||||
console.log(res)
|
||||
const formData = new FormData()
|
||||
formData.append('policy', res.policy);
|
||||
formData.append('OSSAccessKeyId', res.ossAccessKeyId);
|
||||
@ -167,9 +167,6 @@ const uploadFile = (file) => {
|
||||
})
|
||||
|
||||
}
|
||||
const handleUpload = (e) => {
|
||||
console.log(e.target.files[0])
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
v-model="query.operative_date"
|
||||
type="date"
|
||||
placeholder="选择胆道闭锁时间"
|
||||
style="width: 180px;"
|
||||
/>
|
||||
<!-- 请选择当前风险 -->
|
||||
<el-select v-model="query.risk_type" placeholder="请选择当前风险" style="width: 150px;margin-right: 10px;margin-left: 10px;">
|
||||
@ -19,7 +20,7 @@
|
||||
v-model="query.next_follow_date"
|
||||
type="date"
|
||||
placeholder="选择下次随访时间"
|
||||
style="margin-right: 10px;"
|
||||
style="margin-right: 10px;width: 180px;"
|
||||
/>
|
||||
<el-button type="primary" icon="Search" @click="handleSearch">搜索</el-button>
|
||||
<el-button icon="Refresh" @click="handleReset">重置</el-button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user