修改空格转码
This commit is contained in:
parent
6764990fda
commit
cd630cc77b
|
|
@ -53,9 +53,9 @@ export function tansParams(params) {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
result += part + encodeURIComponent(value) + "&";
|
||||
result += part + encodeURIComponent(value).replaceAll("%20"," ") + "&";
|
||||
}
|
||||
}
|
||||
}
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@
|
|||
:on-remove="handleRemoveFile"
|
||||
action="#"
|
||||
:auto-upload="false"
|
||||
:file-list="fileList"
|
||||
>
|
||||
:file-list="fileList">
|
||||
|
||||
<el-button size="small" type="primary">点击上传</el-button>
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
class="filter-item ml-20"
|
||||
value-format="yyyy-MM-dd"
|
||||
type="daterange"
|
||||
range-separator="至"
|
||||
range-separator=" - "
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
/>
|
||||
|
|
@ -136,7 +136,9 @@ export default {
|
|||
getList() {
|
||||
this.listLoading = true
|
||||
const reqData = _.cloneDeep(this.listQuery)
|
||||
reqData.wordDay = (this.listQuery.wordDay?.length) ? this.listQuery.wordDay?.join(' - ') : ''
|
||||
console.log(this.listQuery.wordDay);
|
||||
reqData.workDay = (this.listQuery.wordDay?.length) ? this.listQuery.wordDay?.join(' - ') : '';
|
||||
console.log(reqData.workDay);
|
||||
getDailyTaskList(reqData).then((response) => {
|
||||
this.list = response.rows.map(item => {
|
||||
return item
|
||||
|
|
|
|||
Loading…
Reference in New Issue