退出配置调整
This commit is contained in:
		
							parent
							
								
									ab7d436744
								
							
						
					
					
						commit
						06b2d49621
					
				| @ -16,6 +16,6 @@ VITE_APP_UPLOAD_API = '/uploadApis' | ||||
| # VITE_APP_BASE_URL = 'http://47.109.205.240:8080' | ||||
| # VITE_APP_UPLOAD_URL = 'http://47.109.205.240:9300' | ||||
| # 内网接口地址 | ||||
| VITE_APP_BASE_URL = 'http://192.168.18.88:8080' | ||||
| VITE_APP_UPLOAD_URL = 'http://192.168.18.88:8080' | ||||
| VITE_APP_BASE_URL = 'http://192.168.18.99:8080' | ||||
| VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080' | ||||
| VITE_APP_VIST_URL = 'http://192.168.18.99' | ||||
|  | ||||
| @ -13,8 +13,8 @@ VITE_APP_UPLOAD_API = '/uploadApis' | ||||
| # VITE_APP_UPLOAD_URL = 'http://47.109.205.240:9204' | ||||
| 
 | ||||
| # 内网测试库接口地址 | ||||
| VITE_APP_BASE_URL = 'http://192.168.18.88:8080' | ||||
| VITE_APP_UPLOAD_URL = 'http://192.168.18.88:8080' | ||||
| VITE_APP_BASE_URL = 'http://192.168.18.99:8080' | ||||
| VITE_APP_UPLOAD_URL = 'http://192.168.18.99:8080' | ||||
| 
 | ||||
| # 本地开发接口地址 | ||||
| # VITE_APP_BASE_URL = 'http://192.168.18.99:8080' | ||||
|  | ||||
| @ -34,10 +34,7 @@ import Breadcrumb from '../Breadcrumb'; | ||||
| import ScreenFull from '../ScreenFull'; | ||||
| import Avatar from '../Avatar'; | ||||
| import TagsView from '../TagsView'; | ||||
| 
 | ||||
| const { VITE_APP_PLATFORM } = import.meta.env; | ||||
| const goHome = () => { | ||||
|   // window.location.href = VITE_APP_PLATFORM; | ||||
|   window.location.href = '/'; | ||||
| }; | ||||
| 
 | ||||
|  | ||||
| @ -149,7 +149,7 @@ const columns = ref([ | ||||
|   { prop: 'provenanceName', label: '种子种苗名称' }, | ||||
|   { prop: 'useNumber', label: '使用量', formatter: (row) => `${row.useNumber} ${row.useUnit}` }, | ||||
|   { prop: 'useTime', label: '使用时间' }, | ||||
|   { prop: 'action', label: '操作', slotName: 'action', width: 100, fixed: 'right' }, | ||||
|   // { prop: 'action', label: '操作', slotName: 'action', width: 100, fixed: 'right' }, | ||||
| ]); | ||||
| const handlePaginationChange = ({ page, pageSize }) => { | ||||
|   formInline.current = page; | ||||
| @ -224,11 +224,11 @@ const dialogFormRules = ref({ | ||||
|   detectionTime: [{ required: true, message: '请选择使用时间', trigger: 'blur' }], | ||||
| }); | ||||
| const addItem = async () => { | ||||
|   // ElMessage.success('点击新增!'); | ||||
|   restDialogForm(); | ||||
|   dialogTitle.value = '新增'; | ||||
|   formDisabled.value = false; | ||||
|   dialogFormVisible.value = true; | ||||
|   ElMessage.success('点击新增!'); | ||||
|   // restDialogForm(); | ||||
|   // dialogTitle.value = '新增'; | ||||
|   // formDisabled.value = false; | ||||
|   // dialogFormVisible.value = true; | ||||
| }; | ||||
| const seeDetails = async (row) => { | ||||
|   // ElMessage.success('查看详情!'); | ||||
|  | ||||
| @ -78,8 +78,6 @@ import { getAssetsFile } from '@/utils'; | ||||
| import { getGoodNum } from '@/apis/agricultural.js'; | ||||
| import { useMethodsStore } from '@/store/modules/methods'; | ||||
| 
 | ||||
| const { VITE_APP_PLATFORM } = import.meta.env; | ||||
| 
 | ||||
| const router = useRouter(); | ||||
| 
 | ||||
| const keyword = ref(''); | ||||
| @ -145,7 +143,6 @@ function Search() { | ||||
| 
 | ||||
| const toHome = () => { | ||||
|   console.info('toHome', router); | ||||
|   // window.location.href = VITE_APP_PLATFORM; | ||||
|   window.location.href = '/'; | ||||
| }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user