Commit 3f0d943f by 张超军

1.人员档案信息卡高度调整。2.单位placeholder颜色

parent b280647d
<!--
* @Author: your name
* @Date: 2021-11-15 14:15:58
* @LastEditTime: 2022-05-27 18:15:43
* @LastEditTime: 2022-06-16 09:24:51
* @LastEditors: error: git config user.name && git config user.email & please set dead value or install git
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \founder_vue\src\components\confrim.vue
......@@ -51,12 +51,15 @@ export default {
watch: {
job: {
handler (val) {
console.log(val);
//保存选中的label
setTimeout(() => {
//获取提示的中文
this.valStr = $(this.$refs.cascader.$el).find("input").val();
console.log(this.valStr);
//如果是单位,从后截图6位中文然后赋值
if (!this.codeName) {
console.log(this.codeName);
this.valTempStr = this.getTemplateStr(this.valStr);
$(this.$refs.cascader.$el).find("input").val(this.valTempStr);
}
......@@ -98,7 +101,7 @@ export default {
console.log("this.name:" + this.name, "this.id:" + this.id)
console.log("this.form[this.name]:" + this.form[this.name], "this.form[this.id]:" + this.form[this.id])
if (this.name && this.id && this.form[this.name] && this.form[this.id]) {
document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#606266');
// document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#606266');
this.valStr = this.form[this.name] + '[' + this.form[this.id] + ']';
console.log(this.valStr);
let name = this.form[this.name]
......@@ -107,10 +110,10 @@ export default {
}
return name + '[' + this.form[this.id] + ']';
} else if (this.id && this.form[this.id]) {
document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#606266');
// document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#606266');
return this.form[this.id]
} else {
document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#b2b2b2');
// document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#b2b2b2');
return this.$t('Common.please_select')
}
},
......@@ -150,7 +153,7 @@ export default {
this.$refs.cascader.dropDownVisible = false;
this.name = null
document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#b2b2b2');
// document.getElementsByTagName('body')[0].style.setProperty('--placeholderColor', '#b2b2b2');
},
getTemplateStr (str) {
let newStr;
......@@ -208,7 +211,7 @@ export default {
</script>
<style lang="scss" scoped>
$placeholderColor: var(--placeholderColor, #606266);
// $placeholderColor: var(--placeholderColor, #606266);
.el-cascader /deep/ {
width: 100% !important;
.el-input__suffix-inner {
......@@ -217,7 +220,7 @@ $placeholderColor: var(--placeholderColor, #606266);
}
}
}
/deep/::-webkit-input-placeholder {
color: $placeholderColor;
}
// /deep/::-webkit-input-placeholder {
// color: $placeholderColor;
// }
</style>
......@@ -46,6 +46,7 @@
height: 1400px;
.ayzzwjbxx {
margin-bottom: 100px;
padding: 24px 32px;
/deep/.el-input.is-disabled .el-input__inner {
background-color: #ecedf1;
......
......@@ -91,18 +91,6 @@ export default {
},
async mounted() {
let self = this
window.onbeforeunload = function (e) {
e = e || window.event;
console.log(e);
// 兼容IE8和Firefox 4之前的版本
if (e) {
e.returnValue = '关闭提示';
}
// Chrome, Safari, Firefox 4+, Opera 12+ , IE 9+
return '关闭提示';
};
function getIPs(callback) {
var ip_dups = {}
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2022-06-15 18:15:43
* @LastEditTime: 2022-06-16 09:04:49
* @LastEditors: error: git config user.name && git config user.email & please set dead value or install git
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -112,7 +112,7 @@ module.exports = {
proxy: {
'/api': {
// target: "http://192.168.0.137:8080/", // 统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
target: "http://172.18.108.98:8099/", // 张 认定
// target: "http://172.18.108.98:8099/", // 张 认定
// target: "http://192.168.0.104:8099", // 湖南-马
// target: "http://192.168.128.1136:8099", // 湖南-王
// target: "http://192.168.128.109:8099", // 湖南-张呈光
......@@ -120,7 +120,7 @@ module.exports = {
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
// target: 'http://zwpt.xzclub.top:9333/',
target: 'http://zwpt.xzclub.top:9333/',
// target: "http://192.168.128.104:8099", // 江
// target: "http://172.20.0.149:8099", // 北京 张
// target: "http://192.168.0.109:8099", // 西藏 张
......@@ -136,9 +136,9 @@ module.exports = {
},
'/security': {
// target: "http://192.168.128.106:8765", // 湖南-王
target: "http://172.18.108.98:8765/", // 张 认定
// target: "http://172.18.108.98:8765/", // 张 认定
// target: "http://www.meetfood.cn:2390", // 湖南-王
// target: 'http://zwpt.xzclub.top:9333/',
target: 'http://zwpt.xzclub.top:9333/',
// target: "http://192.168.128.109:8765",
// target: "http://172.18.109.63:8765", // 北京 张
// target: "http://192.168.0.165:8765", // 西藏 马
......
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