样式修改

20245024-wz
yewj 5 months ago
parent ef21d8033b
commit 37d326c01f

@ -5,7 +5,8 @@ VUE_APP_TITLE = UDI追溯监管平台
ENV = 'development'
# VUE_APP_BASE_API = 'https://ts.udims.com/api/'
VUE_APP_BASE_API = 'http://127.0.0.1:9002'
# VUE_APP_BASE_API = 'http://127.0.0.1:9002'
VUE_APP_BASE_API = 'http://139.159.224.202/api'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/'

@ -10,4 +10,8 @@ npm run build:stage
# 构建生产环境
npm run build:prod
```
```
npm install --save @antv/l7plot @jiaminghi/data-view --registry=https://mirrors.huaweicloud.com/repository/npm/
npm install --save vue-seamless-scroll --registry=https://mirrors.huaweicloud.com/repository/npm/

@ -5,7 +5,7 @@
"author": "LionLi",
"license": "MIT",
"scripts": {
"dev": "vue-cli-service serve",
"dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --open",
"build:prod": "vue-cli-service build",
"build:test": "vue-cli-service build --mode test",
"preview": "node build/index.js --preview",
@ -41,11 +41,10 @@
"@jiaminghi/data-view": "^2.10.0",
"@riophae/vue-treeselect": "0.4.0",
"@tinymce/tinymce-vue": "3.0.1",
"api": "^6.1.2",
"axios": "0.24.0",
"clipboard": "2.0.8",
"core-js": "3.19.1",
"echarts": "^5.5.1",
"echarts": "4.9.0",
"element-china-area-data": "^5.0.2",
"element-ui": "2.15.8",
"file-saver": "2.0.5",

@ -1,4 +1,3 @@
/*
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-04-28 10:25:38
@ -15,9 +14,9 @@ import store from "@/store";
import {isRelogin} from "@/api/utils/request";
// import cache from "@/plugins/cache";
let baseUrl =`http://127.0.0.1:9002/`
let baseUrl = process.env.VUE_APP_BASE_API
const CancelToken = axios.CancelToken;
export { baseUrl };
export {baseUrl};
// axios.defaults.withCredentials = true;
@ -217,20 +216,20 @@ service.interceptors.response.use(
// }
//处理是否加密数据
let isEncryptionParam = (params) => {
return params
return params
}
export const GET = async (url, params) => {
try {
params = isEncryptionParam(params)
const data = await axios.get(`${baseUrl}${url}`, {
params: params,
headers: false,
}, false);
return data;
} catch (error) {
return error;
}
try {
params = isEncryptionParam(params)
const data = await axios.get(`${baseUrl}${url}`, {
params: params,
headers: false,
}, false);
return data;
} catch (error) {
return error;
}
}
//没有基地址 访问根目录下文件
// export function GETNOBASE(url,query) {
@ -241,42 +240,42 @@ export const GET = async (url, params) => {
// });
// }
export const GETNOBASE = async (url, params) => {
try {
const data = await axios.get(url, {
params: params,
});
return data;
} catch (error) {
return error;
}
try {
const data = await axios.get(url, {
params: params,
});
return data;
} catch (error) {
return error;
}
}
export const POST = async (url, params) => {
try {
params = isEncryptionParam(params)
const data = await axios.post(`${baseUrl}${url}`, params, false);
return data;
} catch (error) {
return error;
}
try {
params = isEncryptionParam(params)
const data = await axios.post(`${baseUrl}${url}`, params, false);
return data;
} catch (error) {
return error;
}
}
export const PUT = async (url, params) => {
try {
params = isEncryptionParam(params)
const data = await axios.put(`${baseUrl}${url}`, params, false);
return data;
} catch (error) {
return error;
}
try {
params = isEncryptionParam(params)
const data = await axios.put(`${baseUrl}${url}`, params, false);
return data;
} catch (error) {
return error;
}
}
export const DELETE = async (url, params) => {
// console.log(params)
try {
params = isEncryptionParam(params)
const data = await axios.delete(`${baseUrl}${url}`, { data: params, headers: configs_ENC.headers }, configs_ENC);
return data;
} catch (error) {
return error;
}
// console.log(params)
try {
params = isEncryptionParam(params)
const data = await axios.delete(`${baseUrl}${url}`, {data: params, headers: configs_ENC.headers}, configs_ENC);
return data;
} catch (error) {
return error;
}
}
@ -284,29 +283,29 @@ export const DELETE = async (url, params) => {
* @文件类型提交方法
*/
let configs = {
headers: { 'Content-Type': 'multipart/form-data' },
headers: {'Content-Type': 'multipart/form-data'},
}
export const FILESubmit = async (url, params, config) => {
try {
const data = await axios.post(`${baseUrl}${url}`, params, {
...configs,
cancelToken: new CancelToken(function executor(c) {
config.setCancel && config.setCancel(c)
}),
onUploadProgress: (e) => {
if (e.total > 0) {
e.percent = e.loaded / e.total * 100;
}
// console.log(config)
config.onProgress && config.onProgress(e)
},
try {
const data = await axios.post(`${baseUrl}${url}`, params, {
...configs,
cancelToken: new CancelToken(function executor(c) {
config.setCancel && config.setCancel(c)
}),
onUploadProgress: (e) => {
if (e.total > 0) {
e.percent = e.loaded / e.total * 100;
}
// console.log(config)
config.onProgress && config.onProgress(e)
},
});
return data;
} catch (err) {
return err;
}
});
return data;
} catch (err) {
return err;
}
}
/**
@ -314,26 +313,26 @@ export const FILESubmit = async (url, params, config) => {
* @param {config.responseType} 下载文件流根据后端 配置 arraybuffer || blod
*/
export const FILE = async (config = {}, body, params) => {
try {
const data = await axios({
method: config.method || 'get',
url: `${baseUrl}${config.url}`,
data: body,
params: params,
responseType: config.responseType || 'blob',
onDownloadProgress: (e) => {
// console.log(e,e.currentTarget)
// if (e.currentTarget.response.size > 0) {
// e.percent = e.loaded / e.currentTarget.response.size * 100;
// }
// event.srcElement.getResponseHeader('content-length')
config.onProgress && config.onProgress(e)
},
});
return data;
} catch (err) {
return err;
}
try {
const data = await axios({
method: config.method || 'get',
url: `${baseUrl}${config.url}`,
data: body,
params: params,
responseType: config.responseType || 'blob',
onDownloadProgress: (e) => {
// console.log(e,e.currentTarget)
// if (e.currentTarget.response.size > 0) {
// e.percent = e.loaded / e.currentTarget.response.size * 100;
// }
// event.srcElement.getResponseHeader('content-length')
config.onProgress && config.onProgress(e)
},
});
return data;
} catch (err) {
return err;
}
}

@ -1,7 +1,5 @@
@import "./modules/reset.scss";
@import "./modules/variables.scss";
@import './theme/index.css';
@import '../iconfont/iconfont.css';
[class*=" blq-icon-"],
[class^=blq-icon-] {
font-family: iconfont !important;

@ -191,6 +191,6 @@ aside {
}
.el-table--mini .el-table__cell {
padding:0px!important;
}
//.el-table--mini .el-table__cell {
// padding:0px!important;
//}

@ -82,10 +82,10 @@ Vue.use(borderBox13)
Vue.use(borderBox8)
Vue.use(digitalFlop)
Vue.use(capsuleChart)
import '@/assets/css/public.scss'
import "@/assets/css/index.scss"
import "@/assets/css/common.css"
import "@/assets/css/visual.css"
// import '@/assets/css/public.scss'
// import "@/assets/css/index.scss"
// import "@/assets/css/common.css"
// import "@/assets/css/visual.css"
// import "@/assets/css/dialogBg.css"
DictData.install()

@ -298,7 +298,6 @@ export default {
});
},
@ -402,8 +401,7 @@ export default {
});
},
},
components: {
},
components: {},
created() {
}
};

@ -9,7 +9,7 @@
<div>
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
<el-table v-loading="loading" :data="manuList"
style="width: 100%;margin-top: 1px"
style="width: 100%;margin-top: 1px" :row-style="{height:'38px'}"
:cell-style="{ color: '#fff' }"
:row-class-name="tableRowClassName"
:header-cell-style="{ color: '#fff' }"

@ -176,6 +176,16 @@ export default {
};
</script>
<style lang='scss' scoped>
@import "../../../assets/css/modules/reset.scss";
@import "../../../assets/css/modules/variables.scss";
@import '../../../assets/css/theme/index.css';
@import '../../../assets/iconfont/iconfont.css';
@import "../../../assets/css/public.scss";
@import "../../../assets/css/index.scss";
@import "../../../assets/css/common.css";
@import "../../../assets/css/visual.css";
@import "../../../assets/css/dialogBg.css";
.user_Overview {
li {
flex: 1;

@ -65,14 +65,15 @@ export default {
// this.pageflag =false
currentGET('big1', {regionCode: this.regionCode}).then(res => {
console.log("单位分类统计",res)
console.log("单位分类统计", res)
//
if (!this.timer) {
console.log("设备总览", res);
}
console.log("单位分类统计返回的code",res.data.code)
console.log("单位分类统计返回的code", res.data.code)
if (res.data.code == 20000) {
this.countUserNumData = res.data.data
if (res.data.data != null)
this.countUserNumData = res.data.data
this.$nextTick(() => {
this.init()
})
@ -104,7 +105,9 @@ export default {
});
},
init() {
let total = this.countUserNumData.hospCount + this.countUserNumData.supCount + this.countUserNumData.manuCount;
let total = 0;
if (this.countUserNumData != null)
total = this.countUserNumData.hospCount + this.countUserNumData.supCount + this.countUserNumData.manuCount;
let colors = ["#ffca29", "#01c6fd", "#3cb879"];
let piedata = {
name: "单位分类",

@ -10,7 +10,7 @@
<el-tabs v-model="activeName" @tab-click="handleClick" type="card">
<el-tab-pane label="生产企业" name="first">
<el-table v-loading="loading" :data="manuList"
style="width: 100%;margin-top: -10px"
style="width: 100%;margin-top: -10px" :row-style="{height:'38px'}"
:cell-style="{ color: '#fff' }"
:row-class-name="tableRowClassName"
@row-click="intentDetail"
@ -31,7 +31,7 @@
</el-tab-pane>
<el-tab-pane label="经营企业" name="second">
<el-table v-loading="loading" :data="supList"
style="width: 100%;margin-top: -10px"
style="width: 100%;margin-top: -10px" :row-style="{height:'38px'}"
:row-class-name="tableRowClassName"
@row-click="intentDetail"
:cell-style="{ color: '#fff' }"
@ -52,7 +52,7 @@
</el-tab-pane>
<el-tab-pane label="医疗机构" name="third">
<el-table v-loading="loading" :data="hospList"
style="width: 100%;margin-top: -10px"
style="width: 100%;margin-top: -10px" :row-style="{height:'38px'}"
:cell-style="{ color: '#fff' }"
:row-class-name="tableRowClassName"
@row-click="intentDetail"

@ -10,7 +10,7 @@
<template>
<div>
<el-table v-loading="loading" :data="dataList"
style="width: 100%;margin-top: 10px"
style="width: 100%;margin-top: 10px" :row-style="{height:'38px'}"
:row-class-name="tableRowClassName"
@row-click="intentDetail"
:cell-style="{ color: '#fff' }"

@ -27,6 +27,7 @@
<el-table v-loading="loading" :data="list" key="1" style="width: 100%;margin-top: 20px"
:header-cell-style="{ color: '#fff',backgroundColor:'#d21010', fontWeight:'bold',fontSize:'15px'}"
:row-style="{height:'38px'}"
border>
<el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="产品通用名称" prop="cpmctymc" width="180" show-overflow-tooltip></el-table-column>

@ -19,7 +19,7 @@
</el-descriptions>
<el-table v-loading="loading" :data="list"
style="width: 100%;margin-top: 15px"
:cell-style="{ color: '#fff' }"
:cell-style="{ color: '#fff' }" :row-style="{height:'38px'}"
:header-cell-style="{ color: '#FFFFFF'}"
highlight-current-row
:row-class-name="tableRowClassName">

@ -60,7 +60,7 @@
:cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }"
highlight-current-row
:row-style="{height:'38px'}"
:row-class-name="tableRowClassName">
<el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="单位名称" prop="corpName" width="280" show-overflow-tooltip></el-table-column>
@ -86,7 +86,7 @@
<el-table v-loading="loading" :data="list"
style="width: 100%"
:cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }" :row-style="{height:'38px'}"
highlight-current-row
@row-click="intentDetail"
:row-class-name="tableRowClassName">
@ -588,6 +588,15 @@ export default {
};
</script>
<style lang="scss" scoped>
@import "../../../assets/css/modules/reset.scss";
@import "../../../assets/css/modules/variables.scss";
@import '../../../assets/css/theme/index.css';
@import '../../../assets/iconfont/iconfont.css';
@import "../../../assets/css/public.scss";
@import "../../../assets/css/index.scss";
@import "../../../assets/css/common.css";
@import "../../../assets/css/visual.css";
@import "../../../assets/css/dialogBg.css";
//
.contents {
.contetn_left {

@ -9,7 +9,7 @@
<div>
<el-table v-loading="loading" :data="manuList"
style="width: 100%;margin-top: 10px"
:cell-style="{ color: '#fff' }"
:cell-style="{ color: '#fff' }" :row-style="{height:'38px'}"
:row-class-name="tableRowClassName"
@row-click="intentDetail"
:header-cell-style="{ color: '#fff' }"

@ -26,7 +26,7 @@
</el-descriptions>
<el-table v-loading="loading" :data="list" key="1" style="width: 100%;margin-top: 20px"
border>
:row-style="{height:'38px'}" border>
<el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="产品通用名称" prop="cpmctymc" width="180" show-overflow-tooltip></el-table-column>
<el-table-column label="规格型号" prop="ggxh" width="180" show-overflow-tooltip></el-table-column>

@ -8,9 +8,9 @@
<template>
<!-- <div id="index" ref="appRef" class="index_home" :class="{ pageisScale: isScale }"> -->
<ScaleScreen
:width="1920"
:height="1080"
class="scale-wrap"
:width="1920"
:height="1080"
class="scale-wrap"
>
<!--:selfAdaption="$store.state.setting.isScale"-->
<div class="bg">
@ -88,7 +88,7 @@ import ScaleScreen from "@/components/scale-screen/scale-screen.vue";
import index from "@/views/daping/home/index"
export default {
name:"home",
name: "home",
components: {Setting, ScaleScreen},
data() {
return {
@ -144,10 +144,19 @@ export default {
};
</script>
<style lang="scss">
<style lang="scss" scoped>
@import "./home.scss";
@import "../../assets/css/modules/reset.scss";
@import "../../assets/css/modules/variables.scss";
@import '../../assets/css/theme/index.css';
@import '../../assets/iconfont/iconfont.css';
@import "../../assets/css/public.scss";
@import "../../assets/css/index.scss";
@import "../../assets/css/common.css";
@import "../../assets/css/visual.css";
@import "../../assets/css/dialogBg.css";
.el-radio-button {
::v-deep .el-radio-button {
margin-right: 15px;
margin-top: 15px;
text-align: center;
@ -190,10 +199,10 @@ export default {
</style>
<style lang="scss" scoped>
.el-radio-button--mini .el-radio-button__inner {
/* padding: 7px 15px; */
/* font-size: 12px; */
/* border-radius: 0; */
}
</style>
<!-- <style lang="scss" scoped>-->
<!-- .el-radio-button&#45;&#45;mini .el-radio-button__inner {-->
<!-- /* padding: 7px 15px; */-->
<!-- /* font-size: 12px; */-->
<!-- /* border-radius: 0; */-->
<!--}-->
<!--</style>-->

@ -60,6 +60,7 @@
<ItemWrap class="contetn_lr-item2" style="margin-top: 18px;height: 500px;width: 32%" title="单位检查情况">
<el-table :data="corpList"
style="width: 100%"
:row-style="{height:'38px'}"
:cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }"
highlight-current-row
@ -82,7 +83,7 @@
</ItemWrap>
<ItemWrap class="contetn_lr-item2" style="margin-top: 18px;height: 500px;width: 68%" title="现场检查记录列表">
<el-table v-loading="loading" :data="list"
style="width: 100%"
style="width: 100%" :row-style="{height:'38px'}"
:cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }"
highlight-current-row
@ -472,7 +473,15 @@ export default {
};
</script>
<style lang="scss" scoped>
@import "../../../assets/css/modules/reset.scss";
@import "../../../assets/css/modules/variables.scss";
@import '../../../assets/css/theme/index.css';
@import '../../../assets/iconfont/iconfont.css';
@import "../../../assets/css/public.scss";
@import "../../../assets/css/index.scss";
@import "../../../assets/css/common.css";
@import "../../../assets/css/visual.css";
@import "../../../assets/css/dialogBg.css";
//
.contents {
overflow: auto;

@ -9,7 +9,7 @@
<div>
<el-table v-loading="loading" :data="dataList"
style="width: 100%;margin-top: 10px"
:cell-style="{ color: '#fff' }"
:row-style="{height:'38px'}" :cell-style="{ color: '#fff' }"
:row-class-name="tableRowClassName"
@row-click="intentDetail"
:header-cell-style="{ color: '#fff' }"

@ -26,7 +26,7 @@
</el-descriptions>
<el-table v-loading="loading" :data="list" key="1" style="width: 100%;margin-top: 20px"
border>
:row-style="{height:'38px'}" border>
<el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="产品通用名称" prop="cpmctymc" width="180" show-overflow-tooltip></el-table-column>
<el-table-column label="规格型号" prop="ggxh" width="180" show-overflow-tooltip></el-table-column>

@ -2,7 +2,7 @@
<div class="block">
<el-table v-loading="loading" :data="list" key="1" style="width: 100%;margin-top: -10px"
@row-click="intentDetail"
:row-style="{height:'38px'}" @row-click="intentDetail"
>
<el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="公告时间" prop="eventTime" width="170" show-overflow-tooltip></el-table-column>

@ -78,7 +78,7 @@
<ItemWrap class=" contetn_lr-item2" style="margin-top: 15px;height: 550px" title="追溯信息">
<el-table v-loading="loading" :data="list"
style="width: 100%"
:cell-style="{ color: '#fff' }"
:row-style="{height:'38px'}" :cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }"
highlight-current-row
:row-class-name="tableRowClassName">

@ -9,7 +9,7 @@
<div>
<el-table v-loading="loading" :data="list"
style="width: 100%"
:cell-style="{ color: '#fff' }"
:row-style="{height:'38px'}" :cell-style="{ color: '#fff' }"
:header-cell-style="{ color: '#fff' }"
highlight-current-row
@row-click="intentDetail"

@ -26,7 +26,7 @@
</el-descriptions>
<el-table v-loading="loading" :data="list" key="1" style="width: 100%;margin-top: 20px"
border>
:row-style="{height:'38px'}" border>
<el-table-column label="序号" type="index" width="55"></el-table-column>
<el-table-column label="产品通用名称" prop="cpmctymc" width="180" show-overflow-tooltip></el-table-column>
<el-table-column label="规格型号" prop="ggxh" width="180" show-overflow-tooltip></el-table-column>

@ -219,6 +219,15 @@ export default {
};
</script>
<style lang="scss" scoped>
@import "../../../assets/css/modules/reset.scss";
@import "../../../assets/css/modules/variables.scss";
@import '../../../assets/css/theme/index.css';
@import '../../../assets/iconfont/iconfont.css';
@import "../../../assets/css/public.scss";
@import "../../../assets/css/index.scss";
@import "../../../assets/css/common.css";
@import "../../../assets/css/visual.css";
@import "../../../assets/css/dialogBg.css";
//
.contents {
//background: #000d4a url(../../assets/img/other/bg.jpg) center top;

Loading…
Cancel
Save