cyl/dev
jscyl13849007907 1 year ago
parent 1f0a216023
commit b7c217fdef

18047
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -87,10 +87,12 @@
<div style="display: flex; align-items: center; height: 26px; margin-top: 8px"> <div style="display: flex; align-items: center; height: 26px; margin-top: 8px">
<div class="jobpricehour" v-html="getSalaryClassifyValue(jobDetail.salaryClassify, jobDetail.salaryClassifyValue)"></div> <div class="jobpricehour" v-html="getSalaryClassifyValue(jobDetail.salaryClassify, jobDetail.salaryClassifyValue)"></div>
<span style="font-size: 14px">&nbsp;&nbsp;|&nbsp;&nbsp;</span> <span style="font-size: 14px">&nbsp;&nbsp;|&nbsp;&nbsp;</span>
<div class="jobpricemonth"> <div class="g_flex_column_end">
<span>{{ jobDetail.minMonthlyPay / 100 }}</span <div class="jobpricemonth">
>-<span>{{ jobDetail.maxMonthlyPay / 100 }}</span <span>{{ jobDetail.minMonthlyPay / 100 }}</span
>/ >-<span>{{ jobDetail.maxMonthlyPay / 100 }}</span
>/
</div>
</div> </div>
</div> </div>
<div class="sub-bottombox fss"> <div class="sub-bottombox fss">
@ -1402,7 +1404,7 @@ export default {
text-align: left; text-align: left;
color: #666; color: #666;
line-height: 26px; line-height: 26px;
// margin-top: 6px; margin-top: 6px;
} }
.jobpricehour { .jobpricehour {
// margin-top: 16px; // margin-top: 16px;

@ -4,13 +4,16 @@
<div class="f40"> <div class="f40">
<a-input-search placeholder="搜索职位" enter-button="" allow-clear @search="onSearch" style="width:300px;margin-bottom: 20px;"/> <a-input-search placeholder="搜索职位" enter-button="" allow-clear @search="onSearch" style="width:300px;margin-bottom: 20px;"/>
</div> </div>
<a-table :columns="tableColumns" :loading="isspinning" :pagination="false" :data-source="tableData" size="small"> <a-table :columns="tableColumns" :loading="isspinning" :pagination="false" :data-source="tableData" size="small"
:scroll="{y:tableScroll}"
>
<span slot="cz" slot-scope="text, record"> <span slot="cz" slot-scope="text, record">
<a href="javascript:;" style="color: #1890ff;" @click="selectedJob(record)"></a> <a href="javascript:;" style="color: #1890ff;" @click="selectedJob(record)"></a>
</span> </span>
</a-table> </a-table>
<div class="pagecontainer f40" style="justify-content: start;"> <div class="pagecontainer f40" style="justify-content: start;">
<a-pagination :current="+formvalue.pageNum" :default-current="1" :defaultPageSize="8" :total="formvalue.total" @change="pageChange" /> <a-pagination :current="+formvalue.pageNum" :default-current="1" :defaultPageSize="20" :total="formvalue.total" @change="pageChange" />
<div class="ant-pagination-options-quick-jumper"> <div class="ant-pagination-options-quick-jumper">
跳至 跳至
<input ref="pageinput" type="text" @keyup.enter="inputpageChange" @blur="inputpageChange" /> <input ref="pageinput" type="text" @keyup.enter="inputpageChange" @blur="inputpageChange" />
@ -36,7 +39,7 @@ export default {
jobSpecialLabelIds: "", jobSpecialLabelIds: "",
aliasName: "", aliasName: "",
pageNum: 1, pageNum: 1,
pageSize: 8, pageSize: 20,
total: null, // total: null, //
}, },
tableColumns: [ tableColumns: [
@ -51,15 +54,15 @@ export default {
dataIndex: "jobName", dataIndex: "jobName",
key: "jobName", key: "jobName",
}, },
// {
// title: "",
// dataIndex: "agencyName",
// key: "agencyName",
// ellipsis: true,
// width:140,
// },
{ {
title: "项目方", title: "佣金",
dataIndex: "agencyName",
key: "agencyName",
ellipsis: true,
width:140,
},
{
title: "服务费",
dataIndex: "servetype", dataIndex: "servetype",
key: "servetype", key: "servetype",
ellipsis: true, ellipsis: true,
@ -113,6 +116,7 @@ export default {
scopedSlots: { customRender: 'cz' }, scopedSlots: { customRender: 'cz' },
}, },
], ],
tableScroll:400,
tableData: [ tableData: [
/* 表格数据 */ /* 表格数据 */
], // ], //
@ -121,14 +125,17 @@ export default {
watch: { watch: {
"isModalVisible"(newV, old) { "isModalVisible"(newV, old) {
console.log(old, newV); console.log(old, newV);
this.tableScroll = window.innerHeight - 450;
if (newV) { if (newV) {
this.getJobList(); this.getJobList();
} }else{
}
// this.getJobList(); // this.getJobList();
}, },
}, },
created() { created() {
console.log(123); console.log(123);
this.tableScroll = window.innerHeight - 450;
this.getJobList(); this.getJobList();
}, },
methods: { methods: {
@ -203,7 +210,7 @@ export default {
}; };
</script> </script>
<style scoped> <style>
/deep/ .f40 .ant-btn-primary{ /deep/ .f40 .ant-btn-primary{
color: #fff; background-color: #1890ff; border-color: #1890ff color: #fff; background-color: #1890ff; border-color: #1890ff
} }
@ -211,6 +218,11 @@ export default {
background-color: #ff7c1f !important; background-color: #ff7c1f !important;
border-color: #ff7c1f !important; border-color: #ff7c1f !important;
} }
.ant-table-header-column{
.ant-table-column-title{
font-weight: 600;
}
}
</style> </style>

12570
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save