Merge branch 'dev' of http://192.168.18.88:8077/sznyb/daimp-front into dev
This commit is contained in:
commit
0d7dee0909
@ -3,8 +3,9 @@ VITE_PORT = 9000
|
|||||||
VITE_APP_NAME = 'daimp-front-main'
|
VITE_APP_NAME = 'daimp-front-main'
|
||||||
VITE_APP_TITLE = '数字农业产业管理平台'
|
VITE_APP_TITLE = '数字农业产业管理平台'
|
||||||
VITE_APP_SUB_OS = '//localhost:9526/sub-operation-service/'
|
VITE_APP_SUB_OS = '//localhost:9526/sub-operation-service/'
|
||||||
VITE_APP_SUB_ADMIN = '//localhost:9527/sub-admin/'
|
VITE_APP_SUB_OA = '//localhost:9527/sub-operation-admin/'
|
||||||
VITE_APP_SUB_GAS = '//localhost:9528/sub-government-affairs-service/'
|
VITE_APP_SUB_GAS = '//localhost:9528/sub-government-affairs-service/'
|
||||||
|
VITE_APP_SUB_GAA = '//localhost:9525/sub-government-affairs-admin/'
|
||||||
VITE_APP_SUB_GSS = '//localhost:9529/sub-government-screen-service/'
|
VITE_APP_SUB_GSS = '//localhost:9529/sub-government-screen-service/'
|
||||||
# 接口
|
# 接口
|
||||||
VITE_APP_BASE_API = '/apis'
|
VITE_APP_BASE_API = '/apis'
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
VITE_APP_NAME = 'daimp-front-main'
|
VITE_APP_NAME = 'daimp-front-main'
|
||||||
VITE_APP_TITLE = '数字农业产业管理平台'
|
VITE_APP_TITLE = '数字农业产业管理平台'
|
||||||
VITE_APP_SUB_OS = '//192.168.18.99:88/sub-operation-service/'
|
VITE_APP_SUB_OS = '//192.168.18.99:88/sub-operation-service/'
|
||||||
VITE_APP_SUB_ADMIN = '//192.168.18.99:88/sub-admin/'
|
VITE_APP_SUB_OA = '//192.168.18.99:88/sub-operation-admin/'
|
||||||
VITE_APP_SUB_GAS = '//192.168.18.99:88/sub-government-affairs-service/'
|
VITE_APP_SUB_GAS = '//192.168.18.99:88/sub-government-affairs-service/'
|
||||||
|
VITE_APP_SUB_GAA = '//192.168.18.99:88/sub-government-affairs-admin/'
|
||||||
VITE_APP_SUB_GSS = '//192.168.18.99:88/sub-government-screen-service/'
|
VITE_APP_SUB_GSS = '//192.168.18.99:88/sub-government-screen-service/'
|
||||||
# 接口
|
# 接口
|
||||||
VITE_APP_BASE_API = '/apis'
|
VITE_APP_BASE_API = '/apis'
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
# 开发环境
|
# 测试环境
|
||||||
VITE_APP_NAME = 'daimp-front-main'
|
VITE_APP_NAME = 'daimp-front-main'
|
||||||
VITE_APP_TITLE = '数字农业产业管理平台'
|
VITE_APP_TITLE = '数字农业产业管理平台'
|
||||||
VITE_APP_SUB_OS = '//localhost:8090/sub-operation-service/'
|
VITE_APP_SUB_OS = '//192.168.18.99:88/sub-operation-service/'
|
||||||
VITE_APP_SUB_ADMIN = '//localhost:8090/sub-admin/'
|
VITE_APP_SUB_OA = '//192.168.18.99:88/sub-operation-admin/'
|
||||||
VITE_APP_SUB_GAS = '//localhost:8090/sub-government-affairs-service/'
|
VITE_APP_SUB_GAS = '//192.168.18.99:88/sub-government-affairs-service/'
|
||||||
VITE_APP_SUB_GSS = '//localhost:8090/sub-government-screen-service/'
|
VITE_APP_SUB_GAA = '//192.168.18.99:88/sub-government-affairs-admin/'
|
||||||
|
VITE_APP_SUB_GSS = '//192.168.18.99:88/sub-government-screen-service/'
|
||||||
# 接口
|
# 接口
|
||||||
VITE_APP_BASE_API = '/apis'
|
VITE_APP_BASE_API = '/apis'
|
||||||
VITE_APP_BASE_URL = ''
|
VITE_APP_BASE_URL = ''
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
"dev": "vite --mode development",
|
"dev": "vite --mode development",
|
||||||
"build": "vite build --mode production",
|
"build": "vite build --mode production",
|
||||||
"test": "vite build --mode test",
|
"test": "vite build --mode test",
|
||||||
|
"local": "vite build --mode local",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
||||||
"eslint": "npx eslint --init",
|
"eslint": "npx eslint --init",
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
"dev": "vite --mode development",
|
"dev": "vite --mode development",
|
||||||
"build": "vite build --mode production",
|
"build": "vite build --mode production",
|
||||||
"test": "vite build --mode test",
|
"test": "vite build --mode test",
|
||||||
|
"local": "vite build --mode local",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
||||||
"eslint": "npx eslint --init",
|
"eslint": "npx eslint --init",
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
import request from '@/utils/axios';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 列表
|
|
||||||
*/
|
|
||||||
export function GetEntityList(params = {}) {
|
|
||||||
return request('/land-resource/annualManage/page', {
|
|
||||||
method: 'GET',
|
|
||||||
params,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 新增
|
|
||||||
*/
|
|
||||||
export function AddEntity(data = {}) {
|
|
||||||
return request('/land-resource/annualManage/save', {
|
|
||||||
method: 'POST',
|
|
||||||
data,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 修改
|
|
||||||
*/
|
|
||||||
export function UpdateEntity(data = {}) {
|
|
||||||
return request('/land-resource/annualManage/edit', {
|
|
||||||
method: 'PUT',
|
|
||||||
data,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 审核
|
|
||||||
*/
|
|
||||||
export function AuditEntity(data = {}) {
|
|
||||||
return request('/land-resource/annualManage/exam', {
|
|
||||||
method: 'PUT',
|
|
||||||
data,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 删除
|
|
||||||
*/
|
|
||||||
export function DeleteEntity(params = {}) {
|
|
||||||
return request(`/land-resource/annualManage/delete/${params.id}`, {
|
|
||||||
method: 'DELETE',
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 导出
|
|
||||||
*/
|
|
||||||
export function ExportEntity(params = {}) {
|
|
||||||
return request('/land-resource/annualManage/export', {
|
|
||||||
method: 'GET',
|
|
||||||
params,
|
|
||||||
responseType: 'blob',
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
import request from '@/utils/axios';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 列表
|
|
||||||
*/
|
|
||||||
export function GetEntityList(data, params) {
|
|
||||||
return request('/store/user/query-user', {
|
|
||||||
method: 'POST',
|
|
||||||
data: data,
|
|
||||||
params: params,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 新增
|
|
||||||
*/
|
|
||||||
export function AddEntity(data, params = {}) {
|
|
||||||
return request('/store/user/add-user', {
|
|
||||||
method: 'POST',
|
|
||||||
data: data,
|
|
||||||
params: params,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 修改
|
|
||||||
*/
|
|
||||||
export function UpdateEntity(data, params = {}) {
|
|
||||||
return request('/store/user/update-user', {
|
|
||||||
method: 'PUT',
|
|
||||||
data: data,
|
|
||||||
params: params,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Title: 删除
|
|
||||||
*/
|
|
||||||
export function DeleteEntity(data, params) {
|
|
||||||
return request('/store/user/del-user', {
|
|
||||||
method: 'DELETE',
|
|
||||||
data: data,
|
|
||||||
params: params,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
export function UploadAvatar(data, params) {
|
|
||||||
return request('/store/self/generate-avatar-pic-upload-url', {
|
|
||||||
method: 'POST',
|
|
||||||
data: data,
|
|
||||||
params: params,
|
|
||||||
});
|
|
||||||
}
|
|
@ -35,7 +35,7 @@ import { CRUD_OPTIONS } from '@/config';
|
|||||||
import { isEmpty, downloadFile } from '@/utils';
|
import { isEmpty, downloadFile } from '@/utils';
|
||||||
import { useUserStore } from '@/store/modules/user';
|
import { useUserStore } from '@/store/modules/user';
|
||||||
import { compact } from 'lodash';
|
import { compact } from 'lodash';
|
||||||
import { GetEntityList, AddEntity, UpdateEntity, DeleteEntity, ExportEntity } from '@/apis/grid';
|
import { GetEntityList, AddEntity, UpdateEntity, DeleteEntity, ExportEntity } from '@/apis/resource/grid';
|
||||||
|
|
||||||
const { VITE_APP_BASE_API } = import.meta.env;
|
const { VITE_APP_BASE_API } = import.meta.env;
|
||||||
const app = useApp();
|
const app = useApp();
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { reactive } from 'vue';
|
import { reactive } from 'vue';
|
||||||
import { useApp } from '@/hooks';
|
import { useApp } from '@/hooks';
|
||||||
import { GetCropData, GetLandData } from '@/apis/statisticAnalysis';
|
import { GetCropData, GetLandData } from '@/apis/resource/statisticAnalysis';
|
||||||
|
|
||||||
const app = useApp();
|
const app = useApp();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
|
@ -63,7 +63,7 @@ import { isEmpty, imageToBase64, getAssetsFile, downloadFile } from '@/utils';
|
|||||||
import { useUserStore } from '@/store/modules/user';
|
import { useUserStore } from '@/store/modules/user';
|
||||||
import { CommonUpload } from '@/apis';
|
import { CommonUpload } from '@/apis';
|
||||||
import { compact } from 'lodash';
|
import { compact } from 'lodash';
|
||||||
import { GetEntityList, AddEntity, UpdateEntity, DeleteEntity, ImportEntity, ExportEntity } from '@/apis/coding';
|
import { GetEntityList, AddEntity, UpdateEntity, DeleteEntity, ImportEntity, ExportEntity } from '@/apis/trace/coding';
|
||||||
import CustomInfo from './info.vue';
|
import CustomInfo from './info.vue';
|
||||||
import CustomQualityAdd from '../quality/form.vue';
|
import CustomQualityAdd from '../quality/form.vue';
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ import { reactive, ref, watch } from 'vue';
|
|||||||
import { useApp } from '@/hooks';
|
import { useApp } from '@/hooks';
|
||||||
import { CRUD_VIEW_OPTIONS } from '@/config';
|
import { CRUD_VIEW_OPTIONS } from '@/config';
|
||||||
import { downloadFile } from '@/utils';
|
import { downloadFile } from '@/utils';
|
||||||
import { GetEntity } from '@/apis/coding';
|
import { GetEntity } from '@/apis/trace/coding';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
row: {
|
row: {
|
||||||
|
@ -26,7 +26,7 @@ import { reactive, ref, watch } from 'vue';
|
|||||||
import { isEmpty, imageToBase64, setUploadField } from '@/utils';
|
import { isEmpty, imageToBase64, setUploadField } from '@/utils';
|
||||||
import { useApp } from '@/hooks';
|
import { useApp } from '@/hooks';
|
||||||
import { CommonUpload } from '@/apis';
|
import { CommonUpload } from '@/apis';
|
||||||
import { AddEntity } from '@/apis/quality';
|
import { AddEntity } from '@/apis/trace/quality';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
row: {
|
row: {
|
||||||
|
@ -59,7 +59,7 @@ import { useApp } from '@/hooks';
|
|||||||
import { CRUD_OPTIONS } from '@/config';
|
import { CRUD_OPTIONS } from '@/config';
|
||||||
import { isEmpty, imageToBase64, setUploadField, downloadFile } from '@/utils';
|
import { isEmpty, imageToBase64, setUploadField, downloadFile } from '@/utils';
|
||||||
import { CommonUpload } from '@/apis';
|
import { CommonUpload } from '@/apis';
|
||||||
import { GetEntityList, AddEntity, UpdateEntity, DeleteEntity } from '@/apis/quality';
|
import { GetEntityList, AddEntity, UpdateEntity, DeleteEntity } from '@/apis/trace/quality';
|
||||||
|
|
||||||
const app = useApp();
|
const app = useApp();
|
||||||
const crudRef = ref(null);
|
const crudRef = ref(null);
|
||||||
|
@ -103,7 +103,7 @@ import { useRouter, useRoute } from 'vue-router';
|
|||||||
import { useApp } from '@/hooks';
|
import { useApp } from '@/hooks';
|
||||||
import { CRUD_VIEW_OPTIONS } from '@/config';
|
import { CRUD_VIEW_OPTIONS } from '@/config';
|
||||||
import { isEmpty } from '@/utils';
|
import { isEmpty } from '@/utils';
|
||||||
import { GetTraceDetail } from '@/apis/coding';
|
import { GetTraceDetail } from '@/apis/trace/coding';
|
||||||
|
|
||||||
const { VITE_APP_NAME } = import.meta.env;
|
const { VITE_APP_NAME } = import.meta.env;
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# 生产环境
|
# 生产环境
|
||||||
VITE_MODE = 'PRO'
|
|
||||||
VITE_APP_MIAN = 'daimp-front-main'
|
VITE_APP_MIAN = 'daimp-front-main'
|
||||||
VITE_APP_MIAN_URL = 'http://192.168.18.99:88'
|
VITE_APP_MIAN_URL = 'http://192.168.18.99:88'
|
||||||
VITE_APP_NAME = 'sub-government-screen-service'
|
VITE_APP_NAME = 'sub-government-screen-service'
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
"dev": "vite --mode development",
|
"dev": "vite --mode development",
|
||||||
"build": "vite build --mode production",
|
"build": "vite build --mode production",
|
||||||
"test": "vite build --mode test",
|
"test": "vite build --mode test",
|
||||||
|
"local": "vite build --mode local",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
||||||
"eslint": "npx eslint --init",
|
"eslint": "npx eslint --init",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# 生产环境
|
# 生产环境
|
||||||
VITE_MODE = 'PRO'
|
|
||||||
VITE_APP_MIAN = 'daimp-front-main'
|
VITE_APP_MIAN = 'daimp-front-main'
|
||||||
VITE_APP_MIAN_URL = 'http://192.168.18.99:88'
|
VITE_APP_MIAN_URL = 'http://192.168.18.99:88'
|
||||||
VITE_APP_NAME = 'sub-operation-service'
|
VITE_APP_NAME = 'sub-operation-service'
|
||||||
@ -8,4 +7,3 @@ VITE_APP_BASE_API = '/apis'
|
|||||||
VITE_APP_BASE_URL = ''
|
VITE_APP_BASE_URL = ''
|
||||||
VITE_APP_UPLOAD_API = '/uploadApis'
|
VITE_APP_UPLOAD_API = '/uploadApis'
|
||||||
VITE_APP_UPLOAD_URL = ''
|
VITE_APP_UPLOAD_URL = ''
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-admin",
|
"name": "sub-operation-service",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --mode development",
|
"dev": "vite --mode development",
|
||||||
"build": "vite build --mode production",
|
"build": "vite build --mode production",
|
||||||
"build:dev": "vite build --mode dev",
|
"test": "vite build --mode test",
|
||||||
"build:qa": "vite build --mode qa",
|
"local": "vite build --mode local",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
"format": "prettier --write 'src/**/*.{vue,ts,tsx,js,jsx,css,less,scss,json,md}'",
|
||||||
"eslint": "npx eslint --init",
|
"eslint": "npx eslint --init",
|
||||||
|
@ -3,17 +3,12 @@
|
|||||||
* @Author: zenghua.wang
|
* @Author: zenghua.wang
|
||||||
* @Date: 2023-06-20 11:48:41
|
* @Date: 2023-06-20 11:48:41
|
||||||
* @LastEditors: zenghua.wang
|
* @LastEditors: zenghua.wang
|
||||||
* @LastEditTime: 2025-01-25 10:20:40
|
* @LastEditTime: 2025-04-07 17:24:45
|
||||||
*/
|
*/
|
||||||
import { createRouter, createWebHistory } from 'vue-router';
|
import { createRouter, createWebHistory } from 'vue-router';
|
||||||
import { qiankunWindow } from 'vite-plugin-qiankun/dist/helper';
|
|
||||||
import Layout from '@/layouts/index.vue';
|
import Layout from '@/layouts/index.vue';
|
||||||
import Views from '@/layouts/Views.vue';
|
import Views from '@/layouts/Views.vue';
|
||||||
|
|
||||||
import demo from './modules/demo';
|
|
||||||
|
|
||||||
const { VITE_APP_NAME } = import.meta.env;
|
|
||||||
|
|
||||||
export const constantRoutes = [
|
export const constantRoutes = [
|
||||||
{
|
{
|
||||||
path: '/sub-operation-service/404',
|
path: '/sub-operation-service/404',
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
import Layout from '@/layouts/index.vue';
|
|
||||||
|
|
||||||
export default [
|
|
||||||
// {
|
|
||||||
// path: '/demo',
|
|
||||||
// name: 'demo',
|
|
||||||
// component: Layout,
|
|
||||||
// redirect: '/demo-table',
|
|
||||||
// meta: { title: '案例管理', icon: 'icon-test' },
|
|
||||||
// children: [
|
|
||||||
// {
|
|
||||||
// path: '/demo-table',
|
|
||||||
// component: () => import('@/views/demo/table.vue'),
|
|
||||||
// name: 'table',
|
|
||||||
// meta: { title: '列表', icon: 'Document' },
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
];
|
|
Loading…
x
Reference in New Issue
Block a user