pengjun 1 year ago
parent
commit
48644d0451
  1. 18
      src/components/webBooking/WebBooking.vue

18
src/components/webBooking/WebBooking.vue

@ -32,7 +32,7 @@
</div>
<div style="margin-top: -38px;width: 80px;">
<div>
<el-button @click="peopleIcCard" class="commonbutton" style="width:80px;font-size: 12px;">读身份证</el-button>
<el-button @click="peopleIcCard" class="commonbutton" style="width:80px;font-size: 14px;">读身份证</el-button>
</div>
<div>
<el-button class="commonbutton" @click="btnQuery" style="margin-top: 6px; width:80px;">查询</el-button>
@ -40,7 +40,7 @@
</div>
</div>
<div>
<el-table :data="tableData" border style="width: 100%" row-key="id" height="200" highlight-current-row
<el-table :data="tableData" border style="width: 100%" row-key="id" height="130" highlight-current-row
size="small" @row-click="rowClick" ref="webBooking">
<el-table-column label="姓名" width="80" prop="personName" align="center" />
<el-table-column label="身份证号" width="150" prop="idNo" align="center" />
@ -158,10 +158,10 @@ export default {
picker.$emit('pick', date);
}
}, {
text: '一周',
text: '一周',
onClick(picker) {
const date = new Date();
date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
date.setTime(date.getTime() + 3600 * 1000 * 24 * 7);
picker.$emit('pick', date);
}
}]
@ -204,11 +204,17 @@ export default {
},
//
dictInit() {
dictInit() {
return new Promise((resolve, reject) => {
let curDate = moment(new Date()).format('YYYY-MM-DD')
this.query.appointStartDate = curDate
this.query.appointStopDate = curDate
this.query.appointStopDate = moment(Date.now() + 3600 * 1000 * 24 * 7).format('YYYY-MM-DD')
this.query.idNo = ''
this.query.mobilePhone = ''
this.tableData = []
this.tableDataDetails = []
// 07
postapi("/api/app/ThirdInterface/GetListByThirdInterfaceTypeAsync", { thirdInterfaceType: "07" })
.then(res => {

Loading…
Cancel
Save