diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..ad4e90d --- /dev/null +++ b/.env.development @@ -0,0 +1,2 @@ +# VUE_APP_PATH_PRE='http://192.168.0.188:8118' +VUE_APP_PATH_PRE='http://121.41.91.94:12002' diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..e69de29 diff --git a/package-lock.json b/package-lock.json index bf46a64..9d2bf0d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8940,6 +8940,16 @@ "postcss-value-parser": "^3.0.0" } }, + "postcss-px-to-viewport": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/postcss-px-to-viewport/-/postcss-px-to-viewport-1.1.1.tgz", + "integrity": "sha512-2x9oGnBms+e0cYtBJOZdlwrFg/mLR4P1g2IFu7jYKvnqnH/HLhoKyareW2Q/x4sg0BgklHlP1qeWo2oCyPm8FQ==", + "dev": true, + "requires": { + "object-assign": ">=4.0.1", + "postcss": ">=5.0.2" + } + }, "postcss-px2rem": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/postcss-px2rem/-/postcss-px2rem-0.3.0.tgz", diff --git a/package.json b/package.json index b3adb18..49edd57 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-vue": "^6.2.2", + "postcss-px-to-viewport": "^1.1.1", "vue-template-compiler": "^2.6.11" }, "eslintConfig": { diff --git a/public/images/blue.png b/public/images/blue.png new file mode 100644 index 0000000..d557d01 Binary files /dev/null and b/public/images/blue.png differ diff --git a/public/images/bztx.jpg b/public/images/bztx.jpg new file mode 100644 index 0000000..8721dfb Binary files /dev/null and b/public/images/bztx.jpg differ diff --git a/public/images/close.png b/public/images/close.png new file mode 100644 index 0000000..1a273ed Binary files /dev/null and b/public/images/close.png differ diff --git a/public/images/header.png b/public/images/header.png new file mode 100644 index 0000000..8561b23 Binary files /dev/null and b/public/images/header.png differ diff --git a/public/images/login-bg-b272110d.png b/public/images/login-bg-b272110d.png new file mode 100644 index 0000000..861fc25 Binary files /dev/null and b/public/images/login-bg-b272110d.png differ diff --git a/public/images/login-button.png b/public/images/login-button.png new file mode 100644 index 0000000..74b09aa Binary files /dev/null and b/public/images/login-button.png differ diff --git a/public/images/map.png b/public/images/map.png new file mode 100644 index 0000000..2bffebe Binary files /dev/null and b/public/images/map.png differ diff --git a/public/images/top1.png b/public/images/top1.png new file mode 100644 index 0000000..8efc5af Binary files /dev/null and b/public/images/top1.png differ diff --git a/public/images/top2.png b/public/images/top2.png new file mode 100644 index 0000000..3d6133a Binary files /dev/null and b/public/images/top2.png differ diff --git a/public/images/top3.png b/public/images/top3.png new file mode 100644 index 0000000..b45304d Binary files /dev/null and b/public/images/top3.png differ diff --git a/public/images/top4.png b/public/images/top4.png new file mode 100644 index 0000000..b45304d Binary files /dev/null and b/public/images/top4.png differ diff --git a/public/images/tu-border.jpg b/public/images/tu-border.jpg new file mode 100644 index 0000000..b1c29e2 Binary files /dev/null and b/public/images/tu-border.jpg differ diff --git a/public/images/yellow.png b/public/images/yellow.png new file mode 100644 index 0000000..ce9e0d8 Binary files /dev/null and b/public/images/yellow.png differ diff --git a/src/App.vue b/src/App.vue index 3f88ce7..6c9a592 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,7 +7,12 @@ +} diff --git a/src/api/applySupermarket/counterfraud/index.js b/src/api/applySupermarket/counterfraud/index.js deleted file mode 100644 index b0c7a82..0000000 --- a/src/api/applySupermarket/counterfraud/index.js +++ /dev/null @@ -1,18 +0,0 @@ -// 应用超市 ---> 警情通报 -import request from '@/utils/request' -// 警情通报主页查询 -export function get_counterfraud_data(params) { - return request({ - url: '/safety/store/instantalarm/safeCompanyNewsInfo', - method: 'get', - params - }) -} - -export function get_counter_item(id) { - return request({ - url: '/safety/store/instantalarm/safeCompanyNewsInfo/' + id, - method: 'get', - id - }) -} \ No newline at end of file diff --git a/src/api/applySupermarket/personBack/index.js b/src/api/applySupermarket/personBack/index.js deleted file mode 100644 index a34b469..0000000 --- a/src/api/applySupermarket/personBack/index.js +++ /dev/null @@ -1,26 +0,0 @@ -// 应用超市 ---> 人员背景审查 -import request from '@/utils/request' -// 人员背景审查主页查询 -export function get_personback_data(params) { - return request({ - url: '/safety/store/personnelReview/tbCompanyUserExamination/list', - method: 'post', - params - }) -} -// 人员背景审查子页查询 -export function get_personback_item_data(params) { - return request({ - url: '/safety/store/personnelReview/tbCompanyUserList/list', - method: 'post', - params - }) -} -// 人员背景审查子页个人详情查询 -export function get_personback_item_data_person(params) { - return request({ - url: '/safety/store/personnelReview/tbCompanyUserCase/list', - method: 'post', - params - }) -} \ No newline at end of file diff --git a/src/api/applySupermarket/policeReport/index.js b/src/api/applySupermarket/policeReport/index.js deleted file mode 100644 index 7a1a855..0000000 --- a/src/api/applySupermarket/policeReport/index.js +++ /dev/null @@ -1,18 +0,0 @@ -// 应用超市 ---> 警情通报 -import request from '@/utils/request' -// 警情通报主页查询 -export function get_report_data(params) { - return request({ - url: '/safety/store/instantalarm/safeCompanyNewsInfo', - method: 'get', - params - }) -} - -export function get_report_item(id) { - return request({ - url: '/safety/store/instantalarm/safeCompanyNewsInfo/' + id, - method: 'get', - id - }) -} \ No newline at end of file diff --git a/src/api/archives/index.js b/src/api/archives/index.js deleted file mode 100644 index 41299a5..0000000 --- a/src/api/archives/index.js +++ /dev/null @@ -1,133 +0,0 @@ -import request from '@/utils/request' -//基本信息 -export function baseInfo(params) { - return request({ - url: '/safety/enterpriseArchives/baseInfo', - method: 'get', - params - }) -} - -//企业平安指数 -export function safeIndex(params) { - return request({ - url: '/safety/enterpriseArchives/safeIndex', - method: 'get', - params - }) -} -//企业平安指数 -export function realTimeMonitoring(params) { - return request({ - url: '/safety/enterpriseArchives/realTimeMonitoring', - method: 'get', - params - }) -} -//实时人脸卡口流量 -export function realTimePassageFlowFace(params) { - return request({ - url: '/safety/enterpriseArchives/realTimePassageFlow/face', - method: 'get', - params - }) -} -//实时车辆卡口流量 -export function realTimePassageFlowVehicle(params) { - return request({ - url: '/safety/enterpriseArchives/realTimePassageFlow/vehicle', - method: 'get', - params - }) -} -//预警处置 -export function warningDisposal(params) { - return request({ - url: '/safety/enterpriseArchives/warningDisposal', - method: 'get', - params - }) -} -//各类企业员工数量 -export function tbSafeCompanyStaffCount(params) { - return request({ - url: '/safety/enterpriseArchives/tbSafeCompanyStaff/count', - method: 'get', - params - }) -} -//企业员工 -export function tbSafeCompanyStaff(params) { - return request({ - url: '/safety/enterpriseArchives/tbSafeCompanyStaff', - method: 'get', - params - }) -} -//各类流动人员数量 -export function tbSafeCompanyFlowCount(params) { - return request({ - url: '/safety/enterpriseArchives/tbSafeCompanyFlow/count', - method: 'get', - params - }) -} -//访客 -export function tbSafeCompanyVisit(params) { - return request({ - url: '/safety/enterpriseArchives/tbSafeCompanyVisit', - method: 'get', - params - }) -} - -//流动人员 -export function tbSafeCompanyFlow(params) { - return request({ - url: '/safety/enterpriseArchives/tbSafeCompanyFlow', - method: 'get', - params - }) -} -//车辆 -export function tbSafeCompanyVehicle(params) { - return request({ - url: '/safety/enterpriseArchives/tbSafeCompanyVehicle', - method: 'get', - params - }) -} -//各个物品总数 -export function TbSafeCompanyGoodsCount(params) { - return request({ - url: '/safety/enterpriseArchives/TbSafeCompanyGoods/count', - method: 'get', - params - }) -} -//物品 -export function TbSafeCompanyGoods(params) { - return request({ - url: '/safety/enterpriseArchives/TbSafeCompanyGoods', - method: 'get', - params - }) -} -//物品详情 -export function TbSafeCompanyGoodsDetail(params) { - return request({ - url: '/safety/enterpriseArchives/TbSafeCompanyGoods/detail', - method: 'get', - params - }) -} -//案件列表 -export function TbSafeCompanyCase(params) { - return request({ - url: '/safety/enterpriseArchives/TbSafeCompanyCase', - method: 'get', - params - }) -} - - diff --git a/src/api/closeLoopDispose/index.js b/src/api/closeLoopDispose/index.js deleted file mode 100644 index 976f3de..0000000 --- a/src/api/closeLoopDispose/index.js +++ /dev/null @@ -1,58 +0,0 @@ -// 闭环处置 -import request from '@/utils/request' -// 我的流程查询 -export function get_my_course(data) { - return request({ - url: '/workflow/external/ownList', - method: 'post', - data - }) -} -// 我的流程流转记录查询 -export function get_my_course_record(data) { - return request({ - url: '/workflow/external/workDetail', - method: 'post', - data - }) -} -// 待办任务查询 -export function get_backlog(data) { - return request({ - url: '/workflow/external/todoList', - method: 'post', - data - }) -} -// 待办任务公司树查询 -export function get_backlog_company_tree(params) { - return request({ - url: '/closedloopdisposal/workflow/dept/list', - method: 'get', - params - }) -} -// 审批流程 -export function get_backlog_approve(data) { - return request({ - url: '/closedloopdisposal/workflow/updateFlowableStatus', - method: 'post', - data - }) -} -// 已办任务查询 -export function get_complete(data) { - return request({ - url: '/workflow/external/finishedList', - method: 'post', - data - }) -} -// 抄送我的查询 -export function get_copy(data) { - return request({ - url: '/workflow/external/copyList', - method: 'post', - data - }) -} \ No newline at end of file diff --git a/src/api/companyCanban/index.js b/src/api/companyCanban/index.js deleted file mode 100644 index f318564..0000000 --- a/src/api/companyCanban/index.js +++ /dev/null @@ -1,185 +0,0 @@ -import request from '@/utils/request' -//企业基本信息 -export function companyBaseInfo(params) { - return request({ - url: '/safety/enterpriseArchives/baseInfo', - method: 'get', - params - }) -} -//企业指数 -export function signboardIndexSort(params) { - return request({ - url: '/safety/signboard/indexSort', - method: 'post', - params - }) -} -//企业一级级二级分数 -export function signboardIndexScore(params) { - return request({ - url: '/safety/signboard/indexScore', - method: 'post', - params - }) -} -//内部治安 -export function internalSafety(params) { - return request({ - url: '/safety/signboard/internal/safety', - method: 'post', - params - }) -} -//内部治安详情 -export function internalSafetyDetail(params) { - return request({ - url: '/safety/signboard/internal/safety/detail', - method: 'post', - params - }) -} -//中高风险返企数 -export function epidemicTrend(params) { - return request({ - url: '/safety/signboard/epidemic/trend', - method: 'post', - params - }) -} -//疫苗接种数 -export function epidemicInoculations(params) { - return request({ - url: '/safety/signboard/epidemic/inoculations', - method: 'post', - params - }) -} -//核酸检测率 -export function epidemicNucleicAcid(params) { - return request({ - url: '/safety/signboard/epidemic/nucleicAcid', - method: 'post', - params - }) -} -//场所码异常数 -export function epidemicSiteCode(params) { - return request({ - url: '/safety/signboard/epidemic/siteCode', - method: 'post', - params - }) -} -//二级指标分类统计上报数据量之和 -export function personSafety(params) { - return request({ - url: '/safety/signboard/person/safety', - method: 'post', - params - }) -} -//人员安全详情 -export function personSafetyDetail(params) { - return request({ - url: '/safety/signboard/person/safety/detail', - method: 'post', - params - }) -} -//危化品运输 -export function chemicals(params) { - return request({ - url: '/safety/signboard/hazardous/chemicals', - method: 'post', - params - }) -} -//危化品运输 -export function chemicalsDetail(params) { - return request({ - url: '/safety/signboard/hazardous/chemicals/detail', - method: 'post', - params - }) -} -//安全物品上报 -export function fireSafety(params) { - return request({ - url: '/safety/signboard/fire/safety', - method: 'post', - params - }) -} -//安全物品上报详情 -export function fireSafetyDetail(params) { - return request({ - url: '/safety/signboard/fire/safety/detail', - method: 'post', - params - }) -} -//列管物品安全 -export function tubeSafety(params) { - return request({ - url: '/safety/signboard/tube/safety', - method: 'post', - params - }) -} -//列管物品安全上报数据详情 -export function tubeSafetyDetail(params) { - return request({ - url: '/safety/signboard/tube/safety/detail', - method: 'post', - params - }) -} -//道路安全 -export function roadSafety(params) { - return request({ - url: '/safety/signboard/road/safety', - method: 'post', - params - }) -} -//道路安全详情 -export function roadSafetyDetail(params) { - return request({ - url: '/safety/signboard/road/safety/detail', - method: 'post', - params - }) -} -//防攻击安全 -export function preventSafety(params) { - return request({ - url: '/safety/signboard/prevent/safety', - method: 'post', - params - }) -} -//防攻击安全详情 -export function preventSafetyDetail(params) { - return request({ - url: '/safety/signboard/prevent/safety/detail', - method: 'post', - params - }) -} -//网络安全 -export function networkSafety(params) { - return request({ - url: '/safety/signboard/network/safety', - method: 'post', - params - }) -} -//网络安全详情 -export function networkSafetyDetail(params) { - return request({ - url: '/safety/signboard/network/safety/detail', - method: 'post', - params - }) -} \ No newline at end of file diff --git a/src/api/correlationEquipment/index.js b/src/api/correlationEquipment/index.js deleted file mode 100644 index 479881d..0000000 --- a/src/api/correlationEquipment/index.js +++ /dev/null @@ -1,123 +0,0 @@ -// 系统管理模块接口 -import request from '@/utils/request' -import { getToken } from '@/utils/auth' -// 字典表查询 -export function commonDict(params) { - return request({ - url: '/common/dict/list', - method: 'get', - params - }) -} -// 企业名称树形数据 -export function getAllData(params) { - return request({ - url: 'safety/tbAreacodeInfo/listAndVideo', - method: 'post', - params - }) -} -// 右侧视频监控设备查询List -export function getVideoList(params) { - return request({ - url: '/safety/tbDeviceVideoInfo/list', - method: 'post', - params - }) -} -// 右侧智能感知设备查询List -export function getPerceptionList(params) { - return request({ - url: '/safety/tbDevicePerceptionInfo/list', - method: 'post', - params - }) -} -// 厂家查询 -export function getCompanyList(params) { - return request({ - url: 'safety/system/enterpriseList', - method: 'get', - params - }) -} -// 新增视频监控 -export function addVideoList(params) { - return request({ - url: '/safety/tbDeviceVideoInfo/insert', - method: 'get', - params - }) -} -// 修改视频监控 -export function changeVideoList(params) { - return request({ - url: '/safety/tbDeviceVideoInfo/update', - method: 'post', - params - }) -} -// 删除视频监控 -export function deleteVideo(params) { - return request({ - url: '/safety/tbDeviceVideoInfo?' + params, - method: 'delete', - }) -} -// 导入视频监控 -export function importVideoList(params) { - return request({ - url: '/safety/tbDeviceVideoInfo/importData', - method: 'post', - params - }) -} -// 下载视频监控模板 -export function importTemplateVideo(params) { - return request({ - url: '/safety/tbDeviceVideoInfo/importTemplate', - method: 'post', - params, - responseType: 'blob', - headers: { 'Access-Control-Allow-origin': '*', 'Content-Type': 'application/json; charset=UTF-8', 'Authorization': 'Bearer ' + getToken() } - }) -} -// 新增智能感应 -export function addPerceptionList(params) { - return request({ - url: '/safety/tbDevicePerceptionInfo/insert', - method: 'post', - params - }) -} -// 修改智能感应 -export function changePerceptionList(params) { - return request({ - url: '/safety/tbDevicePerceptionInfo/update', - method: 'post', - params - }) -} -// 删除智能感应 -export function deletePerception(params) { - return request({ - url: '/safety/tbDevicePerceptionInfo?' + params, - method: 'delete', - }) -} -// 导出视频监控 -export function exportVideo(params) { - return request({ - url: '/safety/tbDeviceVideoInfo/export', - method: 'post', - params - }) -} -// 导出智能感应 -export function exportPerception(params) { - return request({ - url: '/safety/tbDevicePerceptionInfo/export', - method: 'post', - params - }) -} \ No newline at end of file diff --git a/src/api/cptj/index.js b/src/api/cptj/index.js new file mode 100644 index 0000000..d36df8c --- /dev/null +++ b/src/api/cptj/index.js @@ -0,0 +1,66 @@ +import request from "@/utils/request"; +//电商平台销售数据 +export function salesData(params) { + return request({ + url: "/product/introduction/salesData", + method: "post", + params, + }); +} +//电商平台销售数据按月份统计 +export function salesDataByMonth(params) { + return request({ + url: "/product/introduction/salesDataByMonth", + method: "post", + params, + }); +} + +//新闻报道 +export function newsReporting(params) { + return request({ + url: "/product/introduction/newsReporting", + method: "post", + params, + }); +} +// 企业销售数据 +export function enterpriseSalesData(params) { + return request({ + url: "/product/introduction/enterpriseSalesData", + method: "post", + params, + }); +} +// 企业类型统计 +export function enterpriseTypeStatistics(params) { + return request({ + url: "/product/introduction/enterpriseTypeStatistics", + method: "post", + params, + }); +} +// 龙头企业 +export function regionalBrand(params) { + return request({ + url: "/product/introduction/regionalBrand", + method: "post", + params, + }); +} +// 产品专家 +export function industryExperts(params) { + return request({ + url: "/product/introduction/industryExperts", + method: "post", + params, + }); +} +// 地图数据 +export function administrativeUnit(params) { + return request({ + url: "/product/introduction/administrativeUnit", + method: "post", + params, + }); +} diff --git a/src/api/cygh/index.js b/src/api/cygh/index.js new file mode 100644 index 0000000..e0fb1a3 --- /dev/null +++ b/src/api/cygh/index.js @@ -0,0 +1,59 @@ +import request from "@/utils/request"; +//产业规划基本资源 +export function industrialPlanBasicResources(params) { + return request({ + url: "/base/homePage/industrialPlanBasicResources", + method: "post", + params, + }); + +} +// 产业规划富硒产业 +export function industrialPlanSeleniumRichIndustry(params) { + return request({ + url: "/base/homePage/industrialPlanSeleniumRichIndustry", + method: "post", + params, + }); +} +// 查询产业规划示范项目信息库 +export function industrialPlanDemonstrationProject(params) { + return request({ + url: "base/homePage/industrialPlanDemonstrationProject", + method: "post", + params, + }); +} + +// 产业规划市场主体 +export function industrialPlanMarketSubject(params) { + return request({ + url: "base/homePage/industrialPlanMarketSubject", + method: "post", + params, + }); +} +// 产业规划富硒产业产值 +export function industrialPlanIndustrialOutputValue(params) { + return request({ + url: "base/homePage/industrialPlanIndustrialOutputValue", + method: "post", + params, + }); +} +// 产业规划年综合产值变化曲线 +export function industrialPlanComprehensiveCurve(params) { + return request({ + url: "base/homePage/industrialPlanComprehensiveCurve", + method: "post", + params, + }); +} +// 产业规划年综合产值变化曲线 +export function industrialPlanPolicy(params) { + return request({ + url: "base/homePage/industrialPlanPolicy", + method: "post", + params, + }); +} diff --git a/src/api/download/index.js b/src/api/download/index.js deleted file mode 100644 index 2710be3..0000000 --- a/src/api/download/index.js +++ /dev/null @@ -1,14 +0,0 @@ -import axios from 'axios' -import { getToken } from '@/utils/auth' -//通用下载接口 -export function download(params) { - return axios({ - url: `http://${window.location.host}/hjapi/common/download`, - //url: 'http://218.92.196.102:8888/zhapi/common/download', - //url: 'http://192.168.0.188:8118/hjapi/common/download', - method: 'get', - params, - responseType: 'blob', - headers: { 'Access-Control-Allow-origin': '*', 'Content-Type': 'application/json; charset=UTF-8', 'Authorization': 'Bearer ' + getToken() } - }) -} \ No newline at end of file diff --git a/src/api/enterpriseArchives/index.js b/src/api/enterpriseArchives/index.js deleted file mode 100644 index 8aa9aa2..0000000 --- a/src/api/enterpriseArchives/index.js +++ /dev/null @@ -1,32 +0,0 @@ -import request from '@/utils/request' -//首页数据统计 -export function listTotal(params) { - return request({ - url: '/safety/enterprise-archives/search-engine-homepage/data', - method: 'get', - params - }) -} -//历史搜索列表 -export function historyList(params) { - return request({ - url: '/safety/enterprise-archives/search-engine-homepage/history', - method: 'get', - params - }) -} -//搜索 -export function searchList(params) { - return request({ - url: '/safety/enterprise-archives/search-engine-homepage/search', - method: 'get', - params - }) -} -//卡片列表 -export function cardLists() { - return request({ - url: '/safety/enterprise-archives/search-engine-homepage/company-history', - method: 'get' - }) -} \ No newline at end of file diff --git a/src/api/enterpriseRank/index.js b/src/api/enterpriseRank/index.js deleted file mode 100644 index cb56774..0000000 --- a/src/api/enterpriseRank/index.js +++ /dev/null @@ -1,9 +0,0 @@ -import request from '@/utils/request' -//首页数据统计 -export function getSafeCompanyStatisticsScore(params) { - return request({ - url: '/safety/index/company/statistics/detail', - method: 'post', - params - }) -} \ No newline at end of file diff --git a/src/api/factorResources/index.js b/src/api/factorResources/index.js deleted file mode 100644 index 8fb0699..0000000 --- a/src/api/factorResources/index.js +++ /dev/null @@ -1,57 +0,0 @@ -import request from '@/utils/request' -//查询企业数据 -export function queryCompany(params) { - return request({ - url: '/element/resource/queryCompany', - method: 'get', - params - }) -} -//查询监控数据 -export function queryVideo(params) { - return request({ - url: '/element/resource/queryVideo', - method: 'get', - params - }) -} -//根据企业id查询企业信息 -export function selectCompanyInfoById(params) { - return request({ - url: '/element/resource/selectCompanyInfoById', - method: 'get', - params - }) -} -//图层数据 -export function statistic(params) { - return request({ - url: '/element/resource/statistic', - method: 'get', - params - }) -} -// 车辆点位数据 -export function car_point(params) { - return request({ - url:'/SafeCompanyVehicleTrack/list', - method:'get', - params - }) -} -// 车辆轨迹 -export function car_line(params) { - return request({ - url:'/SafeCompanyVehicleTrack/getById', - method:'get', - params - }) -} -// 感知设备 -export function camera_point(params) { - return request({ - url:'/ThreeProoFingsData/CameraList', - method:'get', - params - }) -} \ No newline at end of file diff --git a/src/api/home/index.js b/src/api/home/index.js new file mode 100644 index 0000000..fb92d7d --- /dev/null +++ b/src/api/home/index.js @@ -0,0 +1,9 @@ +import request from "@/utils/request"; +//获取首页元素信息 +export function getBaseInfo(params) { + return request({ + url: "/base/homePage/getBaseInfo", + method: "post", + params, + }); +} diff --git a/src/api/monitor/index.js b/src/api/monitor/index.js deleted file mode 100644 index 82f4d81..0000000 --- a/src/api/monitor/index.js +++ /dev/null @@ -1,99 +0,0 @@ -import request from '@/utils/request' - -const API = { - //获取设备列表 - getinfoList: function (params) { - return request({ - url: '/video/control/getVideoList', - method: 'post', - params - }) - }, - // getToken:function(){ - // return axios({ - // url:'http://192.168.0.45:20000/api/v1/login?username=admin&password=af7548eedff8e737c0e4b2a669497290&url_token_only=true', - // method:'post' - // }) - //}, - //实时直播 - liveStart: function (params) { - return request({ - url: '/video/control/stream/start', - method: 'post', - params - }) - }, - //结束直播 - liveStop: function (params) { - return request({ - url: '/video/control/stream/stop', - method: 'post', - params - }) - }, - //云台控制 - cloudControl: function (params) { - return request({ - url: '/video/control/getCloudControl', - method: 'post', - params - }) - }, - //焦点光圈 - fiControl: function (params) { - return request({ - url: '/video/control/getFiControl', - method: 'post', - params - }) - }, - //语音喊话 - getTalk: function (params) { - return request({ - url: '/video/control/getTalk', - method: 'post', - params - }) - }, - //开始回放 - playbackStart: function (params) { - return request({ - url: '/video/control/playback/start', - method: 'post', - params - }) - }, - //结束回放 - playbackStop: function (params) { - return request({ - url: '/video/control/playback/stop', - method: 'post', - params - }) - }, - //回放控制 - playbackControl: function (params) { - return request({ - url: '/video/control/playback/control', - method: 'post', - params - }) - }, - //更新监控设备状态 - deviceChannellist: function (params) { - return request({ - url: '/video/control/device/channellist', - method: 'post', - params - }) - }, - //获取字典表 - getDictList: function (params) { - return request({ - url: '/gatherCommon/dict/list', - method: 'get', - params - }) - } -} -export default API \ No newline at end of file diff --git a/src/api/offLineMap/index.js b/src/api/offLineMap/index.js deleted file mode 100644 index b785968..0000000 --- a/src/api/offLineMap/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import request from '@/utils/request' -//基本信息 -export function topMap(params) { - return request({ - url: '/safety/index/company/top/map', - method: 'post', - params - }) -} -//单个企业信息 -export function topMapOne(params) { - return request({ - url: '/safety/index/company/top/map/one', - method: 'post', - params - }) -} diff --git a/src/api/realtimeWarning/index.js b/src/api/realtimeWarning/index.js deleted file mode 100644 index 8d49091..0000000 --- a/src/api/realtimeWarning/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import request from '@/utils/request' -//预警信息列表 -export function mapList(params) { - return request({ - url: '/safety/system/tbSafeCompanyAlarm/map/list', - method: 'post', - params - }) -} -//部门信息列表 -export function deptList(params) { - return request({ - url: '/system/dept/list', - method: 'get', - params - }) -} -//处置请求 -export function addCommonApprovalProcess(data) { - return request({ - url: '/closedloopdisposal/workflow/addCommonApprovalProcess', - method: 'post', - data - }) -} -// 地图上图点位公司 -export function get_company_list(params) { - return request({ - url: '/safety/system/tbSafeCompanyAlarm/map/companyInfoList', - method: 'get', - params - }) -} diff --git a/src/api/scgl/index.js b/src/api/scgl/index.js new file mode 100644 index 0000000..39b6abe --- /dev/null +++ b/src/api/scgl/index.js @@ -0,0 +1,50 @@ +import request from "@/utils/request"; +//产业规划基本资源 +export function consumables(params) { + return request({ + url: "/production/management/consumables", + method: "post", + params, + }); +} +//农业基地面积 +export function agriculturalBaseArea(params) { + return request({ + url: "/production/management/agriculturalBaseArea", + method: "post", + params, + }); +} +//产品产量 +export function productOutput(params) { + return request({ + url: "/production/management/productOutput", + method: "post", + params, + }); +} +// 资源分布 +export function resourceDistribution(params) { + return request({ + url: "/production/management/resourceDistribution", + method: "post", + params, + }); +} +// 物联网设备 +export function IoTDevices(params) { + return request({ + url: "/production/management/IoTDevices", + method: "post", + params, + }); +} +// 农事建议 +export function agriculturalAdvice(params) { + return request({ + url: "/production/management/agriculturalAdvice", + method: "post", + params, + }); + } + diff --git a/src/api/zygk/index.js b/src/api/zygk/index.js new file mode 100644 index 0000000..6852f64 --- /dev/null +++ b/src/api/zygk/index.js @@ -0,0 +1,11 @@ +import request from "@/utils/request"; +// 理论基础-全球功能农业领域发文研究分支分布 +export function researchBranchDistributionBase(params) { + return request({ + url: "/standard/resourceOverview/researchBranchDistributionBase", + method: "post", + params, + }); + + } + diff --git a/src/assets/logo.png b/src/assets/logo.png deleted file mode 100644 index f3d2503..0000000 Binary files a/src/assets/logo.png and /dev/null differ diff --git a/src/assets/vedio/home.mp4 b/src/assets/vedio/home.mp4 new file mode 100644 index 0000000..72d0852 Binary files /dev/null and b/src/assets/vedio/home.mp4 differ diff --git a/src/assets/vedio/login.mp4 b/src/assets/vedio/login.mp4 new file mode 100644 index 0000000..3c25835 Binary files /dev/null and b/src/assets/vedio/login.mp4 differ diff --git a/src/assets/vedio/nyjs.mp4 b/src/assets/vedio/nyjs.mp4 new file mode 100644 index 0000000..490f53c Binary files /dev/null and b/src/assets/vedio/nyjs.mp4 differ diff --git a/src/components/titleCard/index.vue b/src/components/titleCard/index.vue index 76886b4..6f32528 100644 --- a/src/components/titleCard/index.vue +++ b/src/components/titleCard/index.vue @@ -13,7 +13,7 @@ \ No newline at end of file + \ No newline at end of file diff --git a/src/views/cptj/components/company.vue b/src/views/cptj/components/company.vue index eb6d5e5..c4cfda0 100644 --- a/src/views/cptj/components/company.vue +++ b/src/views/cptj/components/company.vue @@ -2,19 +2,25 @@
龙头企业 -
+
-
- +
+
+ +
{{ item.brandName }}
+
-
+
+ 暂无数据 +
@@ -252,7 +294,7 @@ export default { } .dsxh-chart { - height: 185px; + height: 200px; } } diff --git a/src/views/cptj/components/exportor.vue b/src/views/cptj/components/exportor.vue index 3c6a3a0..06e2605 100644 --- a/src/views/cptj/components/exportor.vue +++ b/src/views/cptj/components/exportor.vue @@ -5,16 +5,13 @@
- {{ item.name }} + {{ item.expertName }}
- {{ item.xl }} -
-
- {{ item.jb }} + {{ item.expertPosition }}
- {{ item.dw }} + {{ item.expertUnit }}
@@ -23,6 +20,7 @@ @@ -94,8 +60,9 @@ export default { .export { font-size: 14px; font-family: PingFangSC, PingFang SC; + .export-wrap { - height: 200px; + height: 380px; overflow: hidden; width: 100%; @@ -109,17 +76,15 @@ export default { align-items: center; .name, - .xl, - .jb { - width: 20%; - height: 40px; - line-height: 40px; + .xl { + width: 25%; text-align: center; } .dw { + text-align: left; text-align: center; - width: 40%; + width: 50%; height: 40px; line-height: 40px; white-space: nowrap; diff --git a/src/views/cptj/components/news.vue b/src/views/cptj/components/news.vue index ce647f6..191ed88 100644 --- a/src/views/cptj/components/news.vue +++ b/src/views/cptj/components/news.vue @@ -3,24 +3,39 @@ 新闻报道
-
-
+
+
- {{ item.title }} + {{ item.newsTitle }}
- {{ item.time }} + {{ item.newsTime && item.newsTime.split(" ")[0] }}
+ +
+

{{ itemContent.newsTitle }}

+

发稿时间:{{ itemContent.newsTime }}   + +

+

+ {{ itemContent.newsContent }} +

+ +
+ +
@@ -88,12 +93,75 @@ export default { padding: 0 20px; margin-bottom: 10px; + .item-left { + width: 70%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + } + img { width: 14px; vertical-align: -2px; margin-right: 5px; } } + + .item:hover { + cursor: pointer; + } + } + + .newContent { + height: 550px; + background-color: #fff; + box-sizing: border-box; + padding: 20px 40px; + overflow: auto; + + h2 { + text-align: center; + } + + .time { + text-align: center; + } + + .content { + text-indent: 2em; + /* 可以根据需要调整缩进的大小 */ + line-height: 20px; + + } } } + +/deep/ .el-dialog__title { + color: #fff; + font-weight: bold; +} + +/deep/ .el-dialog__body { + padding: 0 20px 20px; +} + +/deep/.el-dialog__wrapper { + // position: absolute !important; + margin: auto; + height: 70%; + width: 40%; + background-image: url('../../../../public/images/dialog.png'); + background-size: 100% 100%; + +} + +/deep/ .el-dialog { + + background: none; + height: 100%; + width: 100%; + margin: 0; + margin-top: 0 !important; +} \ No newline at end of file diff --git a/src/views/cptj/components/sealData.vue b/src/views/cptj/components/sealData.vue index 80ad580..7f94d8e 100644 --- a/src/views/cptj/components/sealData.vue +++ b/src/views/cptj/components/sealData.vue @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/src/views/cygh/components/cyfz.vue b/src/views/cygh/components/cyfz.vue index ed94911..7a6b4fc 100644 --- a/src/views/cygh/components/cyfz.vue +++ b/src/views/cygh/components/cyfz.vue @@ -7,6 +7,7 @@
\ No newline at end of file +} \ No newline at end of file diff --git a/src/views/cygh/components/fxcz.vue b/src/views/cygh/components/fxcz.vue index a74e808..086d499 100644 --- a/src/views/cygh/components/fxcz.vue +++ b/src/views/cygh/components/fxcz.vue @@ -2,39 +2,47 @@ \ No newline at end of file diff --git a/src/views/cygh/components/sfxm.vue b/src/views/cygh/components/sfxm.vue index 9fb422c..96a570d 100644 --- a/src/views/cygh/components/sfxm.vue +++ b/src/views/cygh/components/sfxm.vue @@ -2,22 +2,43 @@
示范项目
- -
-
- - {{ item.title }} -
-
- {{ item.time }} + +
\ No newline at end of file diff --git a/src/views/cygh/index.vue b/src/views/cygh/index.vue index eb3ac88..e5b3676 100644 --- a/src/views/cygh/index.vue +++ b/src/views/cygh/index.vue @@ -5,6 +5,17 @@ position: absolute; right: 20px; top: 15px;"> --> +
+ +
+
+ +
@@ -21,7 +32,7 @@ \ No newline at end of file diff --git a/src/views/home/component/cdsjd.vue b/src/views/home/component/cdsjd.vue index 6a863a4..175f659 100644 --- a/src/views/home/component/cdsjd.vue +++ b/src/views/home/component/cdsjd.vue @@ -1,16 +1,53 @@ \ No newline at end of file diff --git a/src/views/home/component/three.vue b/src/views/home/component/three.vue index dd1d992..e703e28 100644 --- a/src/views/home/component/three.vue +++ b/src/views/home/component/three.vue @@ -1,16 +1,54 @@ \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 469d43e..e2608a3 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,53 +1,55 @@ \ No newline at end of file diff --git a/src/views/scgl/components/weatherWarning.vue b/src/views/scgl/components/weatherWarning.vue index 3592792..a8e63f7 100644 --- a/src/views/scgl/components/weatherWarning.vue +++ b/src/views/scgl/components/weatherWarning.vue @@ -1,13 +1,37 @@