|
@@ -15,7 +15,15 @@
|
|
|
:detailPath="{
|
|
|
path:'/saler_detail',param:{portrait:''}
|
|
|
}">
|
|
|
- <div slot="custom"></div>
|
|
|
+ <div slot="custom-right">
|
|
|
+ <el-checkbox
|
|
|
+ v-model="type"
|
|
|
+ :false-label="null"
|
|
|
+ :true-label="1"
|
|
|
+ @change="selectChange"
|
|
|
+ >{{$t('兼职')}}</el-checkbox
|
|
|
+ >
|
|
|
+ </div>
|
|
|
<template v-slot:tbList="scope">
|
|
|
<div v-if="scope.data.column.columnname === 'discountrate'">
|
|
|
{{Math.round((scope.data.column.data.discountrate*100)*100)/100}}
|
|
@@ -23,6 +31,9 @@
|
|
|
<div v-else-if="scope.data.column.columnname === 'iseditprice'">
|
|
|
{{scope.data.column.data[[scope.data.column.columnname]] == '1'?$t('是'):$t('否')}}
|
|
|
</div>
|
|
|
+ <div v-else-if="scope.data.column.columnname === 'type'">
|
|
|
+ {{scope.data.column.data[[scope.data.column.columnname]] == '1'?$t('兼职'):$t('正式')}}
|
|
|
+ </div>
|
|
|
<div v-else>
|
|
|
{{scope.data.column.data[[scope.data.column.columnname]]?$t(scope.data.column.data[[scope.data.column.columnname]]):'--'}}
|
|
|
</div>
|
|
@@ -50,7 +61,8 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
options:[],
|
|
|
- areaInfo:{}
|
|
|
+ areaInfo:{},
|
|
|
+ type:0
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -75,7 +87,12 @@ export default {
|
|
|
},
|
|
|
onStartArea (status) {
|
|
|
status === 1?this.areaInfo.isused = 0:this.areaInfo.isused = 1
|
|
|
- }
|
|
|
+ },
|
|
|
+ selectChange() {
|
|
|
+ this.$refs.basicLayout.param.content.where.type = this.type
|
|
|
+ this.$refs.basicLayout.param.content.pageNumber = 1;
|
|
|
+ this.$refs["basicLayout"].listData();
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
|