合并上线1030
This commit is contained in:
@@ -84,7 +84,7 @@ export default defineComponent({
|
||||
const permission = inject("permission");
|
||||
const searchParams = inject("searchParams");
|
||||
|
||||
|
||||
console.log('searchParams',searchParams);
|
||||
|
||||
const tableSource = ref([]);
|
||||
const columns = ref([
|
||||
@@ -138,7 +138,12 @@ export default defineComponent({
|
||||
async function handleClick() {
|
||||
const sn = props.sn;
|
||||
const question_index = props.data.question_index;
|
||||
let data ={ download_type: '3', question_index }
|
||||
const tableSearchInfo = searchParams.value;
|
||||
delete tableSearchInfo.type;//文件下载没有type类型,去掉
|
||||
console.log(tableSearchInfo);
|
||||
|
||||
let data ={ download_type: '3', question_index,...tableSearchInfo }
|
||||
|
||||
addDownloadCenter(sn,data).then(res=>{
|
||||
store.dispatch('downloadCenter/changeCenterUrl',route.path)
|
||||
store.dispatch('downloadCenter/changeCenterShow',true)
|
||||
|
||||
Reference in New Issue
Block a user