|
|
@ -2,12 +2,10 @@ |
|
|
|
<div style="height: 100%;"> |
|
|
|
<div class="header"> |
|
|
|
<p class="title"><img src="../../assets/loginImg/logo.png"/>安瑞集团信息化平台</p> |
|
|
|
<div class="head_info" |
|
|
|
style="display: flex;flex-direction: row;justify-content:space-between;align-items: center"> |
|
|
|
<div class="head_info" style="display: flex;flex-direction: row;justify-content:space-between;align-items: center"> |
|
|
|
<div>欢迎您</div> |
|
|
|
<div> |
|
|
|
<el-select v-model="defaultOrgPathName" class="selectStyle" size="small" placeholder="" @change="changeOrg" |
|
|
|
filterable> |
|
|
|
<el-select v-model="defaultOrgPathName" class="selectStyle" size="small" placeholder="" @change="changeOrg" filterable> |
|
|
|
<el-option v-for="item in orgDept_list" :key="item.orgPath" :label="item.orgName" :value="item.orgName"/> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
@ -18,10 +16,7 @@ |
|
|
|
</el-tooltip> |
|
|
|
</div> |
|
|
|
<div>{{ name }}</div> |
|
|
|
<div @click="logout()" |
|
|
|
style="display: flex;flex-direction: row;justify-content:center;align-items: center;padding-left: 20px;padding-right: 10px"> |
|
|
|
<img src="@/assets/images/dy.png" /> |
|
|
|
</div> |
|
|
|
<div @click="logout()" style="display: flex;flex-direction: row;justify-content:center;align-items: center;padding-left: 20px;padding-right: 10px"><img src="@/assets/images/dy.png"/></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container1"> |
|
|
@ -41,8 +36,7 @@ |
|
|
|
</li> |
|
|
|
<li @click="tobereadwork"> |
|
|
|
<div style="position: relative"> |
|
|
|
<el-badge v-if="shuliang.toBeReadCount !== 0" :value="shuliang.toBeReadCount" size="mini" |
|
|
|
class="mark" /> |
|
|
|
<el-badge v-if="shuliang.toBeReadCount !== 0" :value="shuliang.toBeReadCount" size="mini" class="mark"/> |
|
|
|
<img src="@/assets/home/ltIcon4.png"> |
|
|
|
</div> |
|
|
|
<p>待阅工作</p> |
|
|
@ -112,16 +106,12 @@ |
|
|
|
<div style="text-align: center;font-weight: bold;font-size: 20px">{{ formobj.title }}</div> |
|
|
|
<el-row style="border-left: 0px;margin-top: 10px"> |
|
|
|
<el-col :span="12" style="border-right: 0px;border-bottom: 0px"> |
|
|
|
<div class="span-sty" style="border-right: 0px;font-family: 'SimSun';font-size: 10px;">发布日期: |
|
|
|
</div> |
|
|
|
<el-form-item><span |
|
|
|
style="font-family: 'SimSun';font-weight: bold;margin-left: 60px">{{ formobj.createTime }}</span></el-form-item> |
|
|
|
<div class="span-sty" style="border-right: 0px;font-family: 'SimSun';font-size: 10px;">发布日期:</div> |
|
|
|
<el-form-item><span style="font-family: 'SimSun';font-weight: bold;margin-left: 60px">{{ formobj.createTime }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12" style="border-right: 0px;border-bottom: 0px"> |
|
|
|
<div class="span-sty" style="border-right: 0px;font-family: 'SimSun';font-size: 10px;">有效期至: |
|
|
|
</div> |
|
|
|
<el-form-item><span |
|
|
|
style="font-family: 'SimSun';font-weight: bold;margin-left: 60px">{{ formobj.validityDate }}</span></el-form-item> |
|
|
|
<div class="span-sty" style="border-right: 0px;font-family: 'SimSun';font-size: 10px;">有效期至:</div> |
|
|
|
<el-form-item><span style="font-family: 'SimSun';font-weight: bold;margin-left: 60px">{{ formobj.validityDate }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row style="border-left: 0px"> |
|
|
@ -132,9 +122,7 @@ |
|
|
|
<el-row style="border-left: 0px"> |
|
|
|
<el-col :span="24" style="border-right: 0px;border-bottom: 0px"> |
|
|
|
<div class="span-sty" style="border-right: 0px;font-family: 'SimSun';font-size: 10px;">附件:</div> |
|
|
|
<el-form-item><span class="bluezi" style="font-family: 'SimSun';font-weight: bold;margin-left: 60px" |
|
|
|
v-for="(item, index) in formobj.filesList" :key="index" |
|
|
|
@click="handleDownLoad(item.url)">{{ item.name }}</span></el-form-item> |
|
|
|
<el-form-item><span class="bluezi" style="font-family: 'SimSun';font-weight: bold;margin-left: 60px" v-for="(item, index) in formobj.filesList" :key="index" @click="handleDownLoad(item.url)">{{ item.name }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
@ -143,21 +131,11 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { |
|
|
|
getStorage, |
|
|
|
removeStorage |
|
|
|
} from '@/utils/auth' |
|
|
|
import { getStorage, removeStorage } from '@/utils/auth' |
|
|
|
import User from '@/api/User/login.js' |
|
|
|
import { |
|
|
|
getLists, |
|
|
|
getTodoNum |
|
|
|
} from '@/api/system/home/home' |
|
|
|
import { |
|
|
|
getToBeReadNum |
|
|
|
} from '@/api/flow/read' |
|
|
|
import { |
|
|
|
details |
|
|
|
} from '@/api/notificationannouncement/notificationannouncement' |
|
|
|
import { getLists, getTodoNum } from '@/api/system/home/home' |
|
|
|
import { getToBeReadNum } from '@/api/flow/read' |
|
|
|
import { details } from '@/api/notificationannouncement/notificationannouncement' |
|
|
|
|
|
|
|
export default { |
|
|
|
data() { |
|
|
@ -264,9 +242,7 @@ |
|
|
|
this.timer = setInterval(this.getNum, 20000) |
|
|
|
} |
|
|
|
}) |
|
|
|
User.getOrgListByUserSid({ |
|
|
|
userSid: window.sessionStorage.getItem('userSid') |
|
|
|
}).then((res) => { |
|
|
|
User.getOrgListByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.orgDept_list = res.data |
|
|
|
} |
|
|
@ -312,9 +288,7 @@ |
|
|
|
userSid: '' |
|
|
|
} |
|
|
|
this.TZGGVisible = true |
|
|
|
details({ |
|
|
|
sid: item.sid |
|
|
|
}).then((res) => { |
|
|
|
details({ sid: item.sid }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.formobj = res.data |
|
|
|
} |
|
|
@ -327,19 +301,11 @@ |
|
|
|
}, |
|
|
|
handleConirm() { |
|
|
|
if (this.form.original === '') { |
|
|
|
this.$message({ |
|
|
|
showClose: true, |
|
|
|
type: 'error', |
|
|
|
message: '原密码不能为空' |
|
|
|
}) |
|
|
|
this.$message({ showClose: true, type: 'error', message: '原密码不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.form.password !== this.form.confirmPassword) { |
|
|
|
this.$message({ |
|
|
|
showClose: true, |
|
|
|
type: 'error', |
|
|
|
message: '两次输入密码不一致' |
|
|
|
}) |
|
|
|
this.$message({ showClose: true, type: 'error', message: '两次输入密码不一致' }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.form.userSid = window.sessionStorage.getItem('userSid') |
|
|
@ -361,15 +327,11 @@ |
|
|
|
password: '', |
|
|
|
confirmPassword: '' |
|
|
|
} |
|
|
|
User.logout({ |
|
|
|
token: getStorage() |
|
|
|
}).then((res) => { |
|
|
|
User.logout({ token: getStorage() }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
removeStorage() |
|
|
|
this.$store.commit('user/SET_UESRINFO', '') |
|
|
|
this.$router.push({ |
|
|
|
path: '/login' |
|
|
|
}) |
|
|
|
this.$router.push({ path: '/login' }) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -395,14 +357,10 @@ |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
User.logout({ |
|
|
|
token: getStorage() |
|
|
|
}).then(res => { |
|
|
|
User.logout({ token: getStorage() }).then(res => { |
|
|
|
removeStorage() |
|
|
|
this.$store.commit('user/SET_UESRINFO', '') |
|
|
|
this.$router.push({ |
|
|
|
path: '/login' |
|
|
|
}) |
|
|
|
this.$router.push({ path: '/login' }) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
@ -422,65 +380,49 @@ |
|
|
|
defaultOrgPath: this.defaultOrgPath |
|
|
|
} |
|
|
|
if (index == '0') { |
|
|
|
// let myPopup = window.open('http://192.168.0.112:9531/buscenter/#/' + '?token=' + getStorage() + |
|
|
|
// '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/buscenter/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/buscenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/buscenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/buscenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '1') { |
|
|
|
// let myPopup = window.open('http://192.168.0.112:9532/scm/#/' + '?token=' + getStorage() + |
|
|
|
// '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/scm/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/scm/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/scm/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/scm/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '2') { |
|
|
|
// let myPopup = window.open('http://192.168.0.112:9531/riskcenter/#/' + '?token=' + getStorage() + |
|
|
|
// '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/riskcenter/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/riskcenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/riskcenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/riskcenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '3') { // 车辆挂靠 |
|
|
|
// let myPopup = window.open('http://192.168.0.112:9531/vehfleet/#/' + '?token=' + getStorage() + |
|
|
|
// '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/vehfleet/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '3') { |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/vehfleet/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/vehfleet/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/vehfleet/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '4') { |
|
|
|
} |
|
|
|
else if (index == '4') { |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/fin/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/fin/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/fin/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/fin/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '5') { |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/manage/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/manage/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/manage/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/manage/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '6') { |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/reportcenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/reportcenter/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/reportcenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/reportcenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '7') { |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/base/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/base/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/base/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/base/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '8') { |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/message/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/message/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/message/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/message/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '9') { |
|
|
|
let myPopup = window.open('http://192.168.0.112:9531/as/#/' + '?token=' + getStorage() + |
|
|
|
'&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://anrui.yyundong.com/as/#/' + '?token=' + getStorage() + |
|
|
|
// '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://127.0.0.1:9531/as/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('http://anrui.yyundong.com/as/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
// let myPopup = window.open('http://120.46.172.184/as/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} else if (index == '10') { |
|
|
|
// this.$router.push({path: '/index'}) |
|
|
|
let myPopup = window.open('/#/index' + '?token=' + getStorage() + '&organizationData=' + encodeURI(( |
|
|
|
JSON |
|
|
|
.stringify(organizationData))), '_blank') |
|
|
|
let myPopup = window.open('/#/index' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank') |
|
|
|
} |
|
|
|
// const page = this.$router.resolve({name: name}) |
|
|
|
// window.open(page.href,'_blank') |
|
|
@ -691,7 +633,6 @@ |
|
|
|
font-size: 14px !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.selectStyle { |
|
|
|
::v-deep .el-input__inner { |
|
|
|
border: 0px !important; |
|
|
|