flat: 暂存

This commit is contained in:
Apcallover
2024-05-11 15:43:49 +08:00
parent c839003715
commit 1628473959
2 changed files with 14 additions and 10 deletions

View File

@@ -42,7 +42,7 @@
v-model="query.time" v-model="query.time"
></YearRange> ></YearRange>
</el-form-item> </el-form-item>
<div class="searchBtn"> <el-form-item>
<el-button <el-button
type="primary" type="primary"
size="small" size="small"
@@ -55,7 +55,7 @@
> >
</el-button </el-button
> >
</div> </el-form-item>
</el-row> </el-row>
</el-form> </el-form>
<avue-crud <avue-crud
@@ -120,6 +120,8 @@ export default {
}, },
computed: { computed: {
option() { option() {
const type = this.query.type
const labelName = type === 0 ? '岗位名称' : type === 1 ? '行业名称' : '时间'
return { return {
height: "auto", height: "auto",
tip: false, tip: false,
@@ -141,15 +143,15 @@ export default {
align: 'center', align: 'center',
column: [ column: [
{ {
label: "名称", label: labelName,
prop: "name", prop: "name",
}, },
{ {
label: "零工人数", label: "申请人数",
prop: "workerCount", prop: "workerCount",
}, },
{ {
label: "零工岗位人数", label: "需求人数",
prop: "workCount", prop: "workCount",
}, },
{ {

View File

@@ -42,7 +42,7 @@
v-model="query.time" v-model="query.time"
></YearRange> ></YearRange>
</el-form-item> </el-form-item>
<div class="searchBtn"> <el-form-item>
<el-button <el-button
type="primary" type="primary"
size="small" size="small"
@@ -55,7 +55,7 @@
> >
</el-button </el-button
> >
</div> </el-form-item>
</el-row> </el-row>
</el-form> </el-form>
<avue-crud <avue-crud
@@ -120,6 +120,8 @@ export default {
}, },
computed: { computed: {
option() { option() {
const type = this.query.type
const labelName = type === 0 ? '岗位名称' : type === 1 ? '行业名称' : '时间'
return { return {
height: "auto", height: "auto",
tip: false, tip: false,
@@ -141,15 +143,15 @@ export default {
align: 'center', align: 'center',
column: [ column: [
{ {
label: "名称", label: labelName,
prop: "name", prop: "name",
}, },
{ {
label: "零工人数", label: "申请人数",
prop: "workerCount", prop: "workerCount",
}, },
{ {
label: "零工岗位人数", label: "需求人数",
prop: "workCount", prop: "workCount",
}, },
{ {