diff --git a/src/api/config.js b/src/api/config.js index a20b0f8b..fbd6f886 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -33,8 +33,8 @@ http.interceptors.request.use( console.log("当前请求页面无token,请执行操作!!!"); // 此处测试默认配置token - config.headers.token = "123456"; - // config.headers.token = "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91LmJvZS5jb20iLCJpYXQiOjE2NjkzODQ5MTgsImV4cCI6MTY2OTM5MjExOCwiR2l2ZW5OYW1lIjoiYm9ldSIsInVzZXJJZCI6IjZCMDQ5RkFGLUMzMTQtN0NDRi0wRDI4LTBEMjNGNEM0MjUzMSIsInVJZCI6Ijk2NTM0MjAyNzQ5NzYwNzE2OCIsInBlcm1pc3Npb24iOiIifQ==.7c3af587cbacf68180e86681442e06ffd33c65a78fc835aaac34d0c773752d99"; + // config.headers.token = "123456"; + config.headers.token = "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91LmJvZS5jb20iLCJpYXQiOjE2NjkzODQ5MTgsImV4cCI6MTY2OTM5MjExOCwiR2l2ZW5OYW1lIjoiYm9ldSIsInVzZXJJZCI6IjZCMDQ5RkFGLUMzMTQtN0NDRi0wRDI4LTBEMjNGNEM0MjUzMSIsInVJZCI6Ijk2NTM0MjAyNzQ5NzYwNzE2OCIsInBlcm1pc3Npb24iOiIifQ==.7c3af587cbacf68180e86681442e06ffd33c65a78fc835aaac34d0c773752d99"; } return config; }, diff --git a/src/components/drawers/AddEval.vue b/src/components/drawers/AddEval.vue index b8c15ac0..0891faf3 100644 --- a/src/components/drawers/AddEval.vue +++ b/src/components/drawers/AddEval.vue @@ -173,10 +173,8 @@ export default { // addLoading:false, }); const checkFinish = (value)=> { - console.log('父亲'); state.evaluationTypeId = value.quiz_kid ? value.quiz_kid : null state.evaluationTypeName = value.title ? value.title : "" - console.log(value,state.evaluationTypeName ,'state.evaluationTypeName state.evaluationTypeName '); } const closeDrawer = () => { ctx.emit("update:addevalVisible", false); diff --git a/src/components/drawers/EvList.vue b/src/components/drawers/EvList.vue index 9d71243c..8685cc1d 100644 --- a/src/components/drawers/EvList.vue +++ b/src/components/drawers/EvList.vue @@ -124,6 +124,10 @@ import { reactive, toRefs } from "vue"; dataIndex: "theme_desc", key: "content", align: "center", + maxWidth: "13%", + overflow: 'hidden', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', }, { title: "状态", @@ -160,6 +164,7 @@ import { reactive, toRefs } from "vue"; state.selectedRowKeys = [] state.evListData = {} state.inputV1 = "" + state.searching = false }; const afterVisibleChange = (bol) => { if ( bol == true ) { @@ -168,7 +173,6 @@ import { reactive, toRefs } from "vue"; }; const checkFinish =() =>{ ctx.emit("getEvListData", state.evListData); - console.log('儿子',state.evListData); closeDrawer(); } const changePagination = (page) => { @@ -251,8 +255,13 @@ import { reactive, toRefs } from "vue"; } //搜索测评列表 const searchList = ()=> { - state.searching = true - getAllEvalText() + if(state.inputV1 !== ''){ + state.searching = true + getAllEvalText() + }else { + state.searching = false + resetData() + } } //重置测评列表 const resetData = ()=> {