角色详情

cyl/dev
wangxia 2 years ago
parent 9da3f3bac5
commit 2b60db299b

@ -85,11 +85,20 @@ export function getPointDetailApi (data) {
data: data,
});
}
// 登录状态账号设置修改密码
// 老的登录状态账号设置修改密码
// export function setUserPswApi (data) {
// return request({
// url: "/yishoudan/changePassword",
// method: "post",
// data: setqs(data),
// });
// }
// 新的登录状态账号设置修改密码
export function setUserPswApi (data) {
return request({
url: "/yishoudan/changePassword",
url: "/yishoudan/updatePasswordByPwd",
method: "post",
data: setqs(data),
});

@ -116,7 +116,7 @@
</ul>-->
<div>
<span>
powered by
Powered by
<svg class="svg_icon ml4" style="font-size:46px;margin-top:-2px" aria-hidden="true">
<use xlink:href="#icon-bocai2" />
</svg>Copyright © 2015-2023 Bocai. All Rights Reserved.

@ -40,22 +40,7 @@
</a-input>
</a-form-item>
<a-form-item label="确认密码" style="text-align: left">
<a-input v-decorator="[
'repassword',
{
rules: [
{
required: true,
message: '请再次输入新密码',
},
{
validator: replacepassword,
},
],
validateTrigger: 'submit',
validateFirst: true,
},
]" type="password" placeholder="请再次输入密码">
<a-input v-decorator="['repassword',{ rules: [ { required: true,message: '请再次输入新密码', }, { validator: replacepassword,}, ], validateTrigger: 'submit', validateFirst: true,},]" type="password" placeholder="请再次输入密码">
<!-- <i slot="prefix" class="iconfont icon-mima" /> -->
</a-input>
</a-form-item>
@ -90,6 +75,7 @@ export default {
components: {
updatepsw,
},
inject: ['logout'],
//
props: {
userinfo: {
@ -111,13 +97,16 @@ export default {
computed: {},
//
watch: {
userinfo() {
this.$nextTick(() => {
console.log(this.userinfo)
userinfo: {
handler() {
this.$nextTick(() => {
console.log(this.userinfo)
// this.username = this.userinfo.tel;
console.log(this.username)
})
// this.username = this.userinfo.tel;
console.log(this.username)
})
},
immediate: true,
},
},
//
@ -143,9 +132,9 @@ export default {
console.log(values)
if (!err) {
this.btnLoading = true
params.repassword = values.repassword
params.newpassword = values.newpassword
params.password = values.password
params.tel = this.userinfo.tel
params.password = values.newpassword
params.oldPassword = values.password
try {
const { data } = await setUserPswApi(params)
console.log(data)
@ -154,7 +143,7 @@ export default {
this.$message.success('密码修改成功')
this.btnLoading = false
this.form.resetFields()
this.logout()
// this.reload()
}, 1000)
} else {

@ -679,7 +679,7 @@ export default {
created() {
this.contentListSearchForm.start = moment().add(-0, 'd').format('YYYY-MM-DD')
this.contentListSearchForm.end = moment().format('YYYY-MM-DD')
this.billList = [...this.billList, ...this.billList, ...this.billList]
// this.billList = [...this.billList, ...this.billList, ...this.billList]
tableWidth(this, this.columns, 120)
console.log(this.currWidth)
this.$emit('setTitle', '团队数据')
@ -745,7 +745,7 @@ export default {
end = moment().format('YYYY-MM-DD')
} else if (tag == 2) {
that.checked2 = true
start = moment().startOf('week').format('YYYY-MM-DD')
start = moment().startOf('week').weekday(-1).format('YYYY-MM-DD')
end = moment().format('YYYY-MM-DD')
} else if (tag == 3) {
that.checked3 = true
@ -829,8 +829,6 @@ export default {
console.log(item)
console.log(index)
})
console.log(this.contentListSearchForm.start)
console.log(this.contentListSearchForm.end)
console.log(newList)
if (this.menuType == 'group') {
console.log('isgroup')

@ -36,7 +36,7 @@
<button @click="changepage(1)"></button>
</div>
</div>
<a-table :columns="columns" class="" :data-source="data" :pagination="false" @change="onChange" :loading="{ spinning: isspinning, tip: '加载中', wrapperClassName: 'spinstyle', }" :rowKey="(record) => record.index">
<a-table :columns="columns" class :data-source="data" :pagination="false" @change="onChange" :loading="{ spinning: isspinning, tip: '加载中', wrapperClassName: 'spinstyle', }" :rowKey="(record) => record.index">
<a slot="name" slot-scope="text" style="height:0px">{{ text }}</a>
<a slot="userDetail" style="color: #ff4400;height:0px" slot-scope="text, text1" @click="toDetail(text1)"></a>
</a-table>
@ -152,72 +152,11 @@
<div class="cb-cricle"></div>
<div class="ui-list-info">
<!-- :style="padding-bottom: item.desp == '' ? '18px' : '24px';" -->
<div class="f12 c6" style="white-space: pre-line" v-if="item.desp != ''">
{{ item.desp }}
<div class="f12 c6" style="white-space: pre-line" v-html="item.desp" v-if="item.desp != ''">
<!-- {{ }} -->
<template v-if="item.policy">
<span class="ml12" style="color: #ff4400; cursor: pointer" @click="showInfo2(item.policy)"></span>
</template>
<a-modal class="billDetailModal recordInfo" title="报名信息" :visible="zzvisible" @cancel="policyModalCancel" width="716px" :footer="null">
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">姓名</span>
</a-col>
<a-col :span="18">
<span class="fwb" v-if="currentBillInfo.userName">{{ currentBillInfo.userName }}</span>
<span class="fwb" v-if="currentBillInfo.sex">/{{ currentBillInfo.sex == "1" || currentBillInfo.sex == "" ? "" : "" }}</span>
<span class="fwb" v-if="currentBillInfo.age">/{{ currentBillInfo.age }}</span>
<span class="fwb" v-if="currentBillInfo.nation && currentBillInfo.nation != '族'">/{{ currentBillInfo.nation }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">电话</span>
</a-col>
<a-col :span="18">
<span>{{ currentBillInfo.tel == "" || currentBillInfo.tel == null || currentBillInfo.tel == "undefined" ? "-" : currentBillInfo.tel }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">身份证号</span>
</a-col>
<a-col :span="18">
<span>{{ currentBillInfo.idCard == "" || currentBillInfo.idCard == null || currentBillInfo.idCard == "undefined" ? "-" : currentBillInfo.idCard }}</span>
</a-col>
</a-row>
<a-row class="f16">
<a-col :span="4">
<span class="dib tr">家庭住址</span>
</a-col>
<a-col :span="18">
<span>{{ currentBillInfo.address == "" || currentBillInfo.address == null || currentBillInfo.address == "undefined" ? "-" : currentBillInfo.address }}</span>
</a-col>
</a-row>
<div style="border-top: 1px dashed #eeeeee; margin-top: 24px; margin-bottom: 24px"></div>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">报名岗位</span>
</a-col>
<a-col :span="18">
<span class="fwb">{{ currentBillInfo.storeJobName || "-" }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">政策</span>
</a-col>
<a-col :span="18">
<span style="white-space: pre-wrap">{{ currentBillInfo.policy || "-" }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4"></a-col>
<a-col :span="18" class="bfbutton">
<a-button style="background-color: #ff4400; color: white; border-radius: 0; border: none" @click="handleCancel"></a-button>
</a-col>
</a-row>
</a-modal>
</div>
<div class="f12 c9">
{{ item.creator }}
@ -228,7 +167,67 @@
</template>
</div>
</div>
<a-modal class="billDetailModal recordInfo" title="报名信息" :visible="zzvisible" @cancel="policyModalCancel" width="716px" :footer="null">
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">姓名</span>
</a-col>
<a-col :span="18">
<span class="fwb" v-if="currentBillInfo.userName">{{ currentBillInfo.userName }}</span>
<span class="fwb" v-if="currentBillInfo.sex">/{{ currentBillInfo.sex == "1" || currentBillInfo.sex == "" ? "" : "" }}</span>
<span class="fwb" v-if="currentBillInfo.age">/{{ currentBillInfo.age }}</span>
<span class="fwb" v-if="currentBillInfo.nation && currentBillInfo.nation != '族'">/{{ currentBillInfo.nation }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">电话</span>
</a-col>
<a-col :span="18">
<span>{{ currentBillInfo.tel == "" || currentBillInfo.tel == null || currentBillInfo.tel == "undefined" ? "-" : currentBillInfo.tel }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">身份证号</span>
</a-col>
<a-col :span="18">
<span>{{ currentBillInfo.idCard == "" || currentBillInfo.idCard == null || currentBillInfo.idCard == "undefined" ? "-" : currentBillInfo.idCard }}</span>
</a-col>
</a-row>
<a-row class="f16">
<a-col :span="4">
<span class="dib tr">家庭住址</span>
</a-col>
<a-col :span="18">
<span>{{ currentBillInfo.address == "" || currentBillInfo.address == null || currentBillInfo.address == "undefined" ? "-" : currentBillInfo.address }}</span>
</a-col>
</a-row>
<div style="border-top: 1px dashed #eeeeee; margin-top: 24px; margin-bottom: 24px"></div>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">报名岗位</span>
</a-col>
<a-col :span="18">
<span class="fwb">{{ currentBillInfo.storeJobName || "-" }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4">
<span class="dib tr">政策</span>
</a-col>
<a-col :span="18">
<span style="white-space: pre-wrap">{{ currentBillInfo.policy || "-" }}</span>
</a-col>
</a-row>
<a-row class="f16 mb8">
<a-col :span="4"></a-col>
<a-col :span="18" class="bfbutton">
<a-button style="background-color: #ff4400; color: white; border-radius: 0; border: none" @click="handleCancel"></a-button>
</a-col>
</a-row>
</a-modal>
<a-modal class="editDetailModal" transitionName centered v-model="editTownsmanVisibel" width="716px" @cancel="cancelEditTownsman" :footer="null" destroyOnClose>
<div slot="title">老乡信息</div>
<div class="editInfoContent">
@ -772,7 +771,7 @@ export default {
console.log(this.allOrders)
this.allOrders.forEach((item1, index) => {
this.replaceIndex(item1, index)
console.log(item1)
// console.log(item1)
for (var key in item1.records) {
// console.log(key, item1.records[key]);
item1.records[key].forEach((item, index) => {
@ -809,7 +808,7 @@ export default {
}
})
console.log(this.allOrders)
this.allOrders = this.allOrders.reverse()
// this.allOrders = this.allOrders.reverse()
})
this.getTownsmanImg(e)
},

@ -52,7 +52,7 @@
</ul>
</div>
<span v-if="isLogin" class="logined fsa">
<div class="" v-if="loginValue.agencyName == '郑州一才工作' && (loginValue.agencyRole == 2 || loginValue.agencyRole == 1 )">
<div class v-if="loginValue.agencyName == '郑州一才工作' && (loginValue.agencyRole == 2 || loginValue.agencyRole == 1 )">
<a-dropdown overlayClassName="logindropdown" placement="bottomRight">
<div class="mr20">
<svg class="svg_icon f16" aria-hidden="true">
@ -263,7 +263,7 @@
</ul>-->
<div>
<span>
powered by
Powered by
<svg class="svg_icon ml4" style="font-size:46px;margin-top:-2px" aria-hidden="true">
<use xlink:href="#icon-bocai2" />
</svg>Copyright © 2015-2023 Bocai. All Rights Reserved.
@ -291,6 +291,7 @@ export default {
provide() {
return {
getJobList: this.getJobList,
logout: this.logout,
}
},
//

@ -95,7 +95,7 @@
</a-layout-content>
<a-layout-footer :style="{ marginLeft: pLeft }" class="tac f12" style="textalign: center">
<span>
powered by
Powered by
<svg class="svg_icon ml4" style="font-size:46px;margin-top:-2px" aria-hidden="true">
<use xlink:href="#icon-bocai2" />
</svg>Copyright © 2015-2023 Bocai. All Rights Reserved.

@ -146,7 +146,7 @@
</ul>-->
<div>
<span>
powered by
Powered by
<svg class="svg_icon ml4" style="font-size:46px;margin-top:-2px" aria-hidden="true">
<use xlink:href="#icon-bocai2" />
</svg>Copyright © 2015-2023 Bocai. All Rights Reserved.

Loading…
Cancel
Save