更新问卷列表导出问卷bug
This commit is contained in:
@@ -83,11 +83,12 @@ export default defineComponent({
|
||||
},
|
||||
props: {
|
||||
groupId: { type: Number, value: 0 },
|
||||
questionSn: { type: String, default: '' }
|
||||
},
|
||||
setup(props) {
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
const sn = route.query.sn;
|
||||
const sn = route.query.sn || props.questionSn;
|
||||
const tableData = ref([]);
|
||||
const page = ref(1);
|
||||
const pageSize = ref(10);
|
||||
@@ -220,7 +221,7 @@ export default defineComponent({
|
||||
onMounted(() => {
|
||||
// console.log('skipPath',skipPath);
|
||||
// 下载中心列表
|
||||
if(store.state?.downloadCenter?.centerUrl?.includes('planet')||store.state?.downloadCenter?.centerUrl?.includes('preview')) module = 1
|
||||
if(store.state?.downloadCenter?.centerUrl?.includes('planet')||store.state?.downloadCenter?.centerUrl?.includes('preview')||store.state?.downloadCenter?.centerUrl==='/home/project') module = 1
|
||||
if(store.state?.downloadCenter?.centerUrl?.includes('analyse')) module = 3
|
||||
getList();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user