一毛钱活动
This commit is contained in:
@@ -32,6 +32,20 @@
|
|||||||
<el-table-column prop="Name" label="姓名"></el-table-column>
|
<el-table-column prop="Name" label="姓名"></el-table-column>
|
||||||
<el-table-column prop="id_code" label="身份证号"></el-table-column>
|
<el-table-column prop="id_code" label="身份证号"></el-table-column>
|
||||||
<el-table-column prop="is_verify" label="实名状态"></el-table-column>
|
<el-table-column prop="is_verify" label="实名状态"></el-table-column>
|
||||||
|
<el-table-column label="一毛钱天卡" >
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tooltip content="请先查看是否已经使用" placement="top">
|
||||||
|
<el-switch
|
||||||
|
v-model="scope.row.ProductAccountCount"
|
||||||
|
active-color="#13ce66"
|
||||||
|
inactive-color="#ff4949"
|
||||||
|
@change="day(scope.row)"
|
||||||
|
active-value="0"
|
||||||
|
inactive-value="1">
|
||||||
|
</el-switch>
|
||||||
|
</el-tooltip>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="400px">
|
<el-table-column label="操作" width="400px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
|
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
|
||||||
@@ -325,6 +339,11 @@ export default {
|
|||||||
info: r.LoginCode
|
info: r.LoginCode
|
||||||
}).then(res => {})
|
}).then(res => {})
|
||||||
},
|
},
|
||||||
|
day(r){
|
||||||
|
this.$api.post(this.$api.phpURL + "user/user/setDay", r).then(res => {
|
||||||
|
|
||||||
|
});
|
||||||
|
},
|
||||||
dataExport () {
|
dataExport () {
|
||||||
this.$api.getDownloadFile('/baseinfo/v1/user/Export')
|
this.$api.getDownloadFile('/baseinfo/v1/user/Export')
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
|
|||||||
@@ -25,6 +25,20 @@
|
|||||||
{{scope.row.TestCountLimit==0?'3':scope.row.TestCountLimit}}/{{scope.row.UseTestCount==0?'--':scope.row.UseTestCount}}
|
{{scope.row.TestCountLimit==0?'3':scope.row.TestCountLimit}}/{{scope.row.UseTestCount==0?'--':scope.row.UseTestCount}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="一毛钱天卡" >
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tooltip content="请先查看是否已经使用" placement="top">
|
||||||
|
<el-switch
|
||||||
|
v-model="scope.row.ProductAccountCount"
|
||||||
|
active-color="#13ce66"
|
||||||
|
inactive-color="#ff4949"
|
||||||
|
@change="day(scope.row)"
|
||||||
|
active-value="0"
|
||||||
|
inactive-value="1">
|
||||||
|
</el-switch>
|
||||||
|
</el-tooltip>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="400px">
|
<el-table-column label="操作" width="400px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
|
<span class="handel cursor edit" @click="showUpdateTest(scope.row)">设置测试</span>
|
||||||
@@ -295,9 +309,11 @@ export default {
|
|||||||
this.detailAmountData = res.Data;
|
this.detailAmountData = res.Data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
dataExport(){
|
day(r){
|
||||||
this.$api.getDownloadFile("/baseinfo/v1/user/Export");
|
this.$api.post(this.$api.phpURL + "user/user/setDay", r).then(res => {
|
||||||
}
|
|
||||||
|
});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user