Commit 3fc556b5 by maxiaohan

认定-倒查页面table初始值调整

parent 4ef5398a
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<svg :class="svgClass" aria-hidden="true" v-on="$listeners">
<use :xlink:href="iconName" />
</svg>
</template>
<script>
export default {
name: "SvgIcon",
props: {
iconClass: {
type: String,
required: true
},
className: {
type: String,
default: ""
}
},
computed: {
iconName() {
return `#icon-${this.iconClass}`;
},
svgClass() {
if (this.className) {
return "svg-icon " + this.className;
} else {
return "svg-icon";
}
},
styleExternalIcon() {
return {
mask: `url(${this.iconClass}) no-repeat 50% 50%`,
"-webkit-mask": `url(${this.iconClass}) no-repeat 50% 50%`
};
}
}
};
</script>
<style scoped>
.svg-icon {
width: 1.5em;
height: 1.5em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
.svg-external-icon {
background-color: currentColor;
mask-size: cover !important;
display: inline-block;
}
</style>
import Vue from "vue";
import SvgIcon from "@/components/SvgIcon"; // svg组件
// 注册为全局组件
Vue.component("svg-icon", SvgIcon);
const req = require.context("./svg", false, /\.svg$/);
const requireAll = requireContext => requireContext.keys().map(requireContext);
requireAll(req);
......@@ -1324,3 +1324,15 @@ b {
height: 34px;
}
</style>
<style>
.el-table__expand-icon {
position: absolute;
right: 20px;
cursor: pointer;
color: #b51f1f;
transition: transform 0.2s ease-in-out;
height: 20px;
border: black 1px solid;
margin: 0;
}
</style>
......@@ -290,12 +290,4 @@ div {
width: 763px;
/*background: #f6f8fa;*/
}
/*/deep/ .el-input__inner {*/
/* width: 763px;*/
/* height: 108px;*/
/* background: #f6f8fa;*/
/* box-shadow: 0px 1px 2px 0px rgba(5, 95, 231, 0.18);*/
/* border-radius: 4px;*/
/* border: 1px solid #eeeeee;*/
/*}*/
</style>
......@@ -38,7 +38,7 @@ export default {
data() {
return {
input3: "",
tableData: "",
tableData: [],
checked: ""
};
},
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-09-28 10:26:02
* @LastEditTime: 2021-09-24 11:23:06
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -39,27 +39,6 @@ module.exports = {
},
lintOnSave: false, //关闭eslint
chainWebpack: config => {
// 配置svg
const svgRule = config.module.rule('svg')
// 清除已有的所有 loader,否则接下来的 loader 会附加在该规则现有的 loader 之后。
svgRule.uses.clear()
svgRule
.test(/\.svg$/)
.include.add(path.resolve(__dirname, './src/icons'))// 配置icons的目录
.end()
.use('svg-sprite-loader')
.loader('svg-sprite-loader')
.options({
symbolId: 'icon-[name]'
})
const fileRule = config.module.rule('file')
fileRule.uses.clear()
fileRule
.test(/\.svg$/)
.exclude.add(path.resolve(__dirname, './src/icons')) // 配置icons的目录
.end()
.use('file-loader')
.loader('file-loader')
const oneOfsMap = config.module.rule("scss").oneOfs.store;
oneOfsMap.forEach(item => {
item
......@@ -80,14 +59,14 @@ module.exports = {
proxy: {
"/api": {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
target: "http://172.18.108.213:8099/", // 张 认定
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://172.18.108.213:8099/", // 张 认定
target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
ws: true,
changeOrigin: true,
pathRewrite: {
'^/api': '/api'
"^/api": "/api"
}
}
},
// 阿里
// "/api": {
// target: "http://47.92.225.109:9101/", // 张 认定
......@@ -97,10 +76,26 @@ module.exports = {
// '^/api': '/api'
// }
// }
},
}
},
css: {
sourceMap: process.env.NODE_ENV === "development" ? true : false // 在开发环境下开启 CSS sourcemaps
}
// chainWebpack(config) {
// config.module
// .rule("svg")
// .exclude.add(resolve("src/icons"))
// .end();
// config.module
// .rule("icons")
// .test(/\.svg$/)
// .include.add(resolve("src/icons"))
// .end()
// .use("svg-sprite-loader")
// .loader("svg-sprite-loader")
// .options({
// symbolId: "icon-[name]"
// })
// .end();
// }
};
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment