Commit 7a9bbd94 by 王晓强

头像上传

parent 4cff7545
......@@ -8,7 +8,7 @@
</div>
<div class="loginBox_r">
<div class="r">
<div class="num1">涉稳工作信息平台</div>
<div class="num1">涉稳工作系统</div>
<div class="usergo">用户登录</div>
<form action="">
<div class="username">账号:</div>
......
......@@ -662,15 +662,15 @@
</el-form>
<div>
<el-tabs type="border-card">
<el-tab-pane label="专班工作情况">
<el-tab-pane label="专班工作及现实表现">
<div class="block" style='overflow: auto;max-height:190px'>
<el-row>
<el-col :span="4" :offset="20">
<el-col :span="6" :offset="18">
<el-button
type="primary"
size="mini"
@click="addGzzbjl()"
>+专班工作记录</el-button
>+专班工作及现实表现</el-button
>
</el-col>
</el-row>
......@@ -930,7 +930,7 @@
</el-form>
<div>
<el-tabs type="border-card">
<el-tab-pane label="专班工作情况">
<el-tab-pane label="专班工作及现实表现">
<div class="block" style='overflow: auto;max-height:190px'>
<el-row>
<el-col :span="4" :offset="20">
......@@ -938,7 +938,7 @@
type="primary"
size="mini"
@click="addGzzbjl()"
>+专班工作记录</el-button
>+专班工作及现实表现</el-button
>
</el-col>
</el-row>
......@@ -1091,11 +1091,26 @@
</el-row>
<el-row>
<el-col :span="5">
<el-image
style="width: 140px; height: 185px; margin-top:10px;margin-left:20px;"
<div v-if="zpList.length > 0" style="width: 150px; height: 185px; margin-top:10px;margin-left:20px;">
<el-carousel>
<el-carousel-item v-for="(item, i) in zpList" :key="i">
<template slot-scope="scope">
<el-popover placement="top-start" trigger="click"> <!--trigger属性值:hover、click、focus 和 manual-->
<a :href="item.fileCode" target="_blank" title="查看最大化图片">
<img :src="item.fileCode" style="width: 300px;height: 300px">
</a>
<img slot="reference" :src="item.fileCode" style="width: 130px; height: 175px; cursor:pointer">
</el-popover>
</template>
</el-carousel-item>
</el-carousel>
</div>
<div v-else style="width: 150px; height: 185px; margin-top:10px;margin-left:20px;">
<el-image
style="width: 150px; height: 185px; margin-top:10px;margin-left:20px;"
:src="perLogo"
></el-image>
<!-- <img :src="perLogo" alt="" style="width: 100%; height: 100%" /> -->
</div>
</el-col>
<el-col :span="19">
<el-row>
......@@ -1284,9 +1299,9 @@
</el-form>
<div>
<el-tabs type="border-card">
<el-tab-pane label="专班工作情况">
<el-tab-pane label="专班工作及现实表现">
<!-- <el-row>
<span style="color: #b58076">专班工作情况</span>
<span style="color: #b58076">专班工作及现实表现</span>
</el-row> -->
<!-- <el-row>
<el-col :span="20" :offset="2"> -->
......@@ -1297,7 +1312,7 @@
type="primary"
size="mini"
@click="addGzzbjlZdr()"
>+专班工作记录</el-button
>+专班工作及现实表现</el-button
>
</el-col>
</el-row>
......@@ -1450,6 +1465,7 @@ export default {
page: 1,
},
ryid:'',
zpList: [],
searchImg: require("../../assets/img/sea.png"), //垃圾桶图标
headers: {
"blade-auth": window.sessionStorage.getItem("token")
......@@ -1935,12 +1951,12 @@ export default {
});
},
//新增 专班工作记录
//新增 专班工作及现实表现
addGzzbjl() {
this.innerVisible = true;
this.XZinnerformDiolog.blsj = this.getTimeNow()
},
//新增 专班工作记录 保存
//新增 专班工作及现实表现 保存
addGzzbjlSave() {
let params = new FormData();
params = this.XZinnerformDiolog;
......@@ -1995,7 +2011,7 @@ export default {
})
.catch(_ => {});
},
//查询 专班工作记录
//查询 专班工作及现实表现
queryGzzb() {
let params = new FormData();
params.swid = this.swid;
......@@ -2019,12 +2035,12 @@ export default {
});
},
//新增 专班工作记录
//新增 专班工作及现实表现
addGzzbjlZdr() {
this.innerZdrVisible = true;
this.XZinnerformDiolog.blsj = this.getTimeNow()
},
//新增 专班工作记录 保存
//新增 专班工作及现实表现 保存
addGzzbjlSaveZdr() {
let params = new FormData();
params = this.XZinnerformDiolog;
......@@ -2079,7 +2095,7 @@ export default {
})
.catch(_ => {});
},
//查询 专班工作记录
//查询 专班工作及现实表现
queryGzzbZdr() {
let params = new FormData();
params.swid = this.swidZdr;
......@@ -2103,12 +2119,12 @@ export default {
});
},
//关闭 重点人 专班工作记录
//关闭 重点人 专班工作及现实表现
closedinnerXzZdr() {
this.innerZdrVisible = false;
this.XZinnerformDiolog = {};
},
//关闭 专班工作记录
//关闭 专班工作及现实表现
closedinnerXZ() {
this.innerVisible = false;
this.XZinnerformDiolog = {};
......@@ -2133,6 +2149,7 @@ export default {
},
detailSwzdr(id) {
this.swidZdr = id;
this.zpList = [];
let params = new FormData();
params.id= id;
post("/xqapi/swzdry/selectSwzdryById", params).then((res) => {
......@@ -2142,6 +2159,7 @@ export default {
this.gzzbqkListZdr = res.data.swgzzb;
this.XQdialogZdrVisible = true;
this.ryid = res.data.ryid[0].id;
this.zpList = res.data.zpList;
} else if(res.code == "202") {
this.$notify.error({
title: "登录超时!",
......@@ -2156,6 +2174,7 @@ export default {
}
});
},
//获取当前时间 字符串
getTimeNow() {
var date = new Date();
......@@ -2183,7 +2202,7 @@ export default {
getRywgda() {
console.log(this.ryid)
// let url = "http://192.168.1.137:8080/SQJW3/gatewayPage?serviceName=syrkAdapter&method=createRkInfoFile&condition={'ryid':'','syrkid':'a5b3fb0dd2df4f98992b9c306d33eeea','zdrkid':'','ywlx':'','zkdl':'','shid':'','zkxl':''}"
let url = "http://192.168.1.137:8080/SQJW3/gatewayPage?serviceName=syrkAdapter&method=createRkInfoFile&condition={'ryid':'','syrkid':'" + this.ryid + "','zdrkid':'','ywlx':'','zkdl':'','shid':'','zkxl':''}"
let url = "http://10.144.111.5:8080/SQJW3/gatewayPage?serviceName=syrkAdapter&method=createRkInfoFile&condition={'ryid':'','syrkid':'" + this.ryid + "','zdrkid':'','ywlx':'','zkdl':'','shid':'','zkxl':''}"
console.log(url)
window.open(url, '_blank');
},
......
......@@ -15,13 +15,14 @@
>
<!-- logo -->
<div class="logo">
<img class="jh" src="../assets/img/logo2.png" alt="" />
<img
<img class="jh" src="../assets/img/logo3.png" alt="" />
<span style="color:white;font-size:27px;">涉稳工作系统</span>
<!-- <img
v-show="!isCollapse"
class="title"
src="../assets/img/title4.png"
alt=""
/>
/> -->
</div>
<div v-for="(menu, i) in routes" :key="i">
<el-submenu
......
......@@ -87,7 +87,8 @@ module.exports = {
}
},
"/xqapi": {
target: "http://192.168.1.137:9022/", //打包时候的路径
// target: "http://192.168.1.137:9022/", //打包时候的路径 人员摸排
target: "http://10.144.111.9:9023/", //打包时候的路径 涉稳平台
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -103,7 +104,10 @@ module.exports = {
// }
// },
"/xqapi": {
target: "http://39.99.155.173:8022/", //测试路径 统一的请求头部每次修改都要重启才会生效http://39.99.155.173:8022/
target: "http://192.168.0.102:9023/",
// target: "http://192.168.1.139:9023/",
// target: "http://172.31.255.136:9023/",
//target: "http://39.99.155.173:8022/", //测试路径 统一的请求头部每次修改都要重启才会生效http://39.99.155.173:8022/
ws: true,
changeOrigin: true,
pathRewrite: {
......
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