|
@@ -140,9 +140,13 @@
|
|
|
</td> -->
|
|
</td> -->
|
|
|
<th>用户类型</th>
|
|
<th>用户类型</th>
|
|
|
<td>
|
|
<td>
|
|
|
- <span>企业</span>
|
|
|
|
|
- <!-- <span v-if="tableData.userType==2">企业</span> -->
|
|
|
|
|
- <!-- <span v-else>用户</span> -->
|
|
|
|
|
|
|
+ <!-- <span>企业</span> -->
|
|
|
|
|
+ <span v-if="tableData.userType==2">
|
|
|
|
|
+ {{ tableData.companyType == 2 ? '猎头企业' : '一般企业' }}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <el-button size="mini" :disabled="!isAuth('userListQy:update')"
|
|
|
|
|
+ style="color: #4f9dec;background: #fff;border: none;"
|
|
|
|
|
+ @click="ageChange(tableData.userType,6)">修改</el-button>
|
|
|
</td>
|
|
</td>
|
|
|
<th>邀请人数</th>
|
|
<th>邀请人数</th>
|
|
|
<td class=" border-rt">
|
|
<td class=" border-rt">
|
|
@@ -925,7 +929,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
<!-- 不可提现添加金额 -->
|
|
<!-- 不可提现添加金额 -->
|
|
|
- <el-dialog title="修改" :visible.sync="dialogFormVisible1" center>
|
|
|
|
|
|
|
+ <el-dialog title="修改余额" :visible.sync="dialogFormVisible1" center>
|
|
|
<div style="margin-bottom: 10px;">
|
|
<div style="margin-bottom: 10px;">
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
|
|
<span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
|
|
|
<el-radio-group v-model="type">
|
|
<el-radio-group v-model="type">
|
|
@@ -949,7 +953,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
<!-- 修改年龄 -->
|
|
<!-- 修改年龄 -->
|
|
|
- <el-dialog title="修改年龄" :visible.sync="dialogFormVisible2" center>
|
|
|
|
|
|
|
+ <el-dialog :title="titles" :visible.sync="dialogFormVisible2" center>
|
|
|
<div style="margin-bottom: 10px;" v-if="indexType==4||indexType==5||indexType==7">
|
|
<div style="margin-bottom: 10px;" v-if="indexType==4||indexType==5||indexType==7">
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">佣金比例:</span>
|
|
<span style="width: 200px;display: inline-block;text-align: right;">佣金比例:</span>
|
|
|
<el-input style="width:50%;" v-model="age" type="number" :min="0" :controls="false"
|
|
<el-input style="width:50%;" v-model="age" type="number" :min="0" :controls="false"
|
|
@@ -978,6 +982,13 @@
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">昵称:</span>
|
|
<span style="width: 200px;display: inline-block;text-align: right;">昵称:</span>
|
|
|
<el-input style="width:50%;" v-model="age" :controls="false" placeholder="请输入昵称"></el-input>
|
|
<el-input style="width:50%;" v-model="age" :controls="false" placeholder="请输入昵称"></el-input>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div style="margin-bottom: 10px;" v-if="indexType==6">
|
|
|
|
|
+ <span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
|
|
|
|
|
+ <el-radio-group v-model="userType">
|
|
|
|
|
+ <el-radio :label="1">一般企业</el-radio>
|
|
|
|
|
+ <el-radio :label="2">猎头企业</el-radio>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ </div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="dialogFormVisible2 = false">取 消</el-button>
|
|
<el-button @click="dialogFormVisible2 = false">取 消</el-button>
|
|
|
<el-button type="primary" @click="StairNoticeTo2()">确 定</el-button>
|
|
<el-button type="primary" @click="StairNoticeTo2()">确 定</el-button>
|
|
@@ -1131,6 +1142,7 @@
|
|
|
statusId: -1,
|
|
statusId: -1,
|
|
|
myPhone: '',
|
|
myPhone: '',
|
|
|
type: '',
|
|
type: '',
|
|
|
|
|
+ userType: '',
|
|
|
age: '',
|
|
age: '',
|
|
|
renwuId: '',
|
|
renwuId: '',
|
|
|
pinglunData: {},
|
|
pinglunData: {},
|
|
@@ -1176,6 +1188,7 @@
|
|
|
yhqjlData: {},
|
|
yhqjlData: {},
|
|
|
resumesPost: '',
|
|
resumesPost: '',
|
|
|
scData:{},
|
|
scData:{},
|
|
|
|
|
+ titles: '修改'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -1603,6 +1616,9 @@
|
|
|
if (this.indexType == 5) {
|
|
if (this.indexType == 5) {
|
|
|
datas.feiRate = this.age
|
|
datas.feiRate = this.age
|
|
|
}
|
|
}
|
|
|
|
|
+ if (this.indexType == 6) {
|
|
|
|
|
+ datas.companyType = this.userType
|
|
|
|
|
+ }
|
|
|
if (this.indexType == 7) {
|
|
if (this.indexType == 7) {
|
|
|
datas.rate = this.age
|
|
datas.rate = this.age
|
|
|
}
|
|
}
|
|
@@ -1697,9 +1713,22 @@
|
|
|
})
|
|
})
|
|
|
}).catch(() => {})
|
|
}).catch(() => {})
|
|
|
},
|
|
},
|
|
|
- ageChange(age, index) {
|
|
|
|
|
|
|
+ ageChange(age, index,title) {
|
|
|
this.indexType = index
|
|
this.indexType = index
|
|
|
this.age = age
|
|
this.age = age
|
|
|
|
|
+ if(index==1){
|
|
|
|
|
+ this.titles = '修改手机号'
|
|
|
|
|
+ }else if(index==2){
|
|
|
|
|
+ this.titles = '修改头像'
|
|
|
|
|
+ }else if(index==3){
|
|
|
|
|
+ this.titles = '修改用户名'
|
|
|
|
|
+ }else if(index==4){
|
|
|
|
|
+ this.titles = '修改直佣比例'
|
|
|
|
|
+ }else if(index==5){
|
|
|
|
|
+ this.titles = '修改非直佣比例'
|
|
|
|
|
+ }else if(index==6){
|
|
|
|
|
+ this.titles = '修改用户类型'
|
|
|
|
|
+ }
|
|
|
this.dialogFormVisible2 = true
|
|
this.dialogFormVisible2 = true
|
|
|
},
|
|
},
|
|
|
// 获取数据列表
|
|
// 获取数据列表
|