diff --git a/components.d.ts b/components.d.ts index 41863ac0..f6361587 100644 --- a/components.d.ts +++ b/components.d.ts @@ -9,11 +9,15 @@ export {} declare module 'vue' { export interface GlobalComponents { ABadge: typeof import('ant-design-vue/es')['Badge'] + ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb'] ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider'] + ADatePicker: typeof import('ant-design-vue/es')['DatePicker'] ADrawer: typeof import('ant-design-vue/es')['Drawer'] AImage: typeof import('ant-design-vue/es')['Image'] AInputNumber: typeof import('ant-design-vue/es')['InputNumber'] + AMenu: typeof import('ant-design-vue/es')['Menu'] + AMenuItem: typeof import('ant-design-vue/es')['MenuItem'] AModal: typeof import('ant-design-vue/es')['Modal'] APagination: typeof import('ant-design-vue/es')['Pagination'] APopover: typeof import('ant-design-vue/es')['Popover'] @@ -21,11 +25,14 @@ declare module 'vue' { ASelect: typeof import('ant-design-vue/es')['Select'] ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] ASlider: typeof import('ant-design-vue/es')['Slider'] + ASpace: typeof import('ant-design-vue/es')['Space'] ASpin: typeof import('ant-design-vue/es')['Spin'] + ASubMenu: typeof import('ant-design-vue/es')['SubMenu'] ASwitch: typeof import('ant-design-vue/es')['Switch'] ATable: typeof import('ant-design-vue/es')['Table'] ATabPane: typeof import('ant-design-vue/es')['TabPane'] ATabs: typeof import('ant-design-vue/es')['Tabs'] + ATimeRangePicker: typeof import('ant-design-vue/es')['TimeRangePicker'] AUpload: typeof import('ant-design-vue/es')['Upload'] ElCascader: typeof import('element-plus/es')['ElCascader'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/assets/style/style.css b/src/assets/style/style.css index feaf5ae3..c14b9aab 100644 --- a/src/assets/style/style.css +++ b/src/assets/style/style.css @@ -2314,6 +2314,8 @@ textarea:focus { top: 0rem; flex: 1; border: 1px solid #dcdfe6; + width: calc(var(--width) + 6rem); + padding: 1rem; } .generage_btn_box { position: relative; diff --git a/src/assets/style/style.less b/src/assets/style/style.less index d87b4d12..c658c5e0 100644 --- a/src/assets/style/style.less +++ b/src/assets/style/style.less @@ -2200,6 +2200,8 @@ textarea:focus{ top: 0rem; flex: 1; border: 1px solid #dcdfe6; + width: calc(var(--width) + 6rem); + padding: 1rem; } // span{ diff --git a/src/component/LibraryPage/brandDetail.vue b/src/component/LibraryPage/brandDetail.vue index 54486269..79059fcb 100644 --- a/src/component/LibraryPage/brandDetail.vue +++ b/src/component/LibraryPage/brandDetail.vue @@ -175,6 +175,7 @@ export default defineComponent({ isNoData:false,//如果数据为空就不加载 isNull:true, finishTime:'', + upLoadList:0, }) const dataDom = reactive({ Cropper:null as any, @@ -412,9 +413,7 @@ export default defineComponent({ } const confirmDeletePic = (value:any,index:any,nData:any)=>{ data.currentPage = 0 - data.isNoData = false - data.isNull = false - data.isShowMark = false + let libraryIds = value ? [value.id] : data.selectImgList let newData = { libraryIds:libraryIds, @@ -426,6 +425,9 @@ export default defineComponent({ (rv: any) => { dataDom.fall.clearData() data.selectImgList = [] + data.isNoData = false + data.isShowMark = false + // data.upLoadList++ // getLibraryList() } ).catch((res)=>{ diff --git a/src/component/LoginPage/login/school.vue b/src/component/LoginPage/login/school.vue index 5f531e44..19c86954 100644 --- a/src/component/LoginPage/login/school.vue +++ b/src/component/LoginPage/login/school.vue @@ -251,27 +251,31 @@ export default defineComponent({ schoolList: [] as any, }); const schoolListChange = (e: any) => {}; - const filterOption = (e: any) => { - let params = { - name: e, - type: "School", - }; - Https.axiosPost( - Https.httpUrls.organizationNameSearch, - {}, - { params: params } - ).then((rv: any) => { - data.schoolList = rv.map((item: any) => { - return { - label: item, - value: item, - }; - }); - }); + const filterOption = (e: any,option: any) => { + return option.value.toLowerCase().indexOf(e.toLowerCase()) >= 0; + }; + const getSchoolList = ()=>{ + let params = { + name: '', + type: "School", + }; + Https.axiosPost( + Https.httpUrls.organizationNameSearch, + {}, + { params: params } + ).then((rv: any) => { + data.schoolList = rv.map((item: any) => { + return { + label: item, + value: item, + }; + }); + }); + } const handleFocus = () => { if (data.schoolList.length == 0) { - filterOption(""); + getSchoolList(); } }; return { diff --git a/src/component/LoginPage/verificationCodeInput.vue b/src/component/LoginPage/verificationCodeInput.vue index aeed8473..1582ec65 100644 --- a/src/component/LoginPage/verificationCodeInput.vue +++ b/src/component/LoginPage/verificationCodeInput.vue @@ -2,8 +2,9 @@
1) { diff --git a/src/component/home/tools/poseTransfer/index.vue b/src/component/home/tools/poseTransfer/index.vue index 90718e65..6dca7b45 100644 --- a/src/component/home/tools/poseTransfer/index.vue +++ b/src/component/home/tools/poseTransfer/index.vue @@ -422,6 +422,11 @@ export default defineComponent({ // } data.selectImg = res.data data.fileList.filter((v: any) => v.status === "done"); + let storeData = { + str:'add', + list:[file] + } + store.commit('setUploadElement',storeData) }else{ bor = false } diff --git a/src/tool/https.js b/src/tool/https.js index b20e8b98..e9844967 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -40,6 +40,7 @@ const source = CancelToken.source(); let isLoginTime = false const filterHttpsUrl = [ // '/api/portfolio/page', + '/api/third/party/parseGoogleCredential', '/api/account/resetPwd', '/api/portfolio/detail', '/api/account/preLogin', diff --git a/src/views/Administrator.vue b/src/views/Administrator.vue index c9086cfe..f884ad15 100644 --- a/src/views/Administrator.vue +++ b/src/views/Administrator.vue @@ -4,10 +4,10 @@
- + - +