设置名字、logo、存储路径等

main
significative 3 months ago
parent bcbd1fc34a
commit 08f6737a49
  1. 4
      jeecgboot-vue3-master/src/api/sys/user.ts
  2. 2
      jeecgboot-vue3-master/src/views/setPath/Modal.vue
  3. 2
      jeecgboot-vue3-master/src/views/setPath/index.vue

@ -60,8 +60,8 @@ export function getPathTreeApi(parentPath: string) {
export function getDataListApi() { export function getDataListApi() {
return defHttp.get({ url: Api.dataList }); return defHttp.get({ url: Api.dataList });
} }
type updPathPar = { name: string; logo: string; newsPage: string; recordNumber: string; copyright: string; certificate: string; composition: string }
export function updPathApi(params: updPathPar) { export function updPathApi(params) {
return defHttp.post({ url: Api.updPath, params }); return defHttp.post({ url: Api.updPath, params });
} }

@ -14,7 +14,7 @@ const [register, { closeModal, setModalProps }] = useModalInner((data: any) => {
}) })
const ifTree = ref(true) const ifTree = ref(true)
// tree // tree
import { ref } from 'vue'; import { ref } from 'vue';
import type { TreeProps } from 'ant-design-vue'; import type { TreeProps } from 'ant-design-vue';
const expandedKeys = ref<string[]>([]); const expandedKeys = ref<string[]>([]);

@ -162,7 +162,7 @@ const handleValidate = (...args) => {
// //
const [register, { openModal }] = useModal(); const [register, { openModal }] = useModal();
function hanConPat(currentlySelecte, target) { function hanConPat(currentlySelecte, target) {
formState[target] = currentlySelecte; formState[target] = currentlySelecte;

Loading…
Cancel
Save