Commit 9c18af9f authored by 黄奎's avatar 黄奎

页面修改

parent c396b71f
......@@ -43,35 +43,30 @@
</div>
<div class="col-3 Sysuser_Date">
<q-field filled class="col-6 q-pr-lg q-pb-lg">
            <template v-slot:control>
              
<el-date-picker v-model="dateListOne" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange"
 style="border:none;"                 range-separator="至"  start-placeholder="入职开始日期"
 end-placeholder="入职结束日期">
              </el-date-picker>
            </template>
          </q-field>
 <template v-slot:control>
<el-date-picker v-model="dateListOne" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
 range-separator="至"  start-placeholder="入职开始日期"  end-placeholder="入职结束日期">
 </el-date-picker>       
</template>
</q-field>
</div>
<div class="col-3 Sysuser_Date">
<q-field filled class="col-6 q-pr-lg q-pb-lg">
            <template v-slot:control>
              
<el-date-picker v-model="dateListThree" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange"
 style="border:none;"                 range-separator="至"  start-placeholder="离职开始日期"
 end-placeholder="离职结束日期">
              </el-date-picker>
            </template>
          </q-field>
  <template v-slot:control>           
<el-date-picker v-model="dateListThree" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
  range-separator="至"  start-placeholder="离职开始日期"  end-placeholder="离职结束日期">
</el-date-picker>
 </template>
 </q-field>
</div>
<div class="col-3 Sysuser_Date">
<q-field filled class="col-6 q-pr-lg q-pb-lg">
            <template v-slot:control>
              
<el-date-picker v-model="dateListTwo" @change="resetSearch()" value-format="yyyy-MM" type="monthrange" style="border:none;"
                range-separator="至"  start-placeholder="生日开始月"  end-placeholder="生日结束月">
              </el-date-picker>
            </template>
          </q-field>
  <template v-slot:control>
<el-date-picker v-model="dateListTwo" @change="resetSearch()" format="MM-dd" value-format="yyyy-MM-dd" type="daterange" style="border:none;" 
range-separator="至"  start-placeholder="生日开始月"  end-placeholder="生日结束月">
</el-date-picker>  
</template>
</q-field>
</div>
</div>
<div class="page-option">
......@@ -115,7 +110,6 @@
<q-badge :color="props.value==1?'negative':'primary'" :label="props.value==1?'女':'男'" />
</q-td>
</template>
<template v-slot:body-cell-LeaveStatus="props">
<q-td :props="props">
<span v-if="props.row.LeaveStatus=='在职'" style="color:#000">{{props.value}}</span>
......@@ -124,7 +118,6 @@
<span v-if="props.row.LeaveStatus=='离职'" style="color:red">{{props.value}}</span>
</q-td>
</template>
<template v-slot:body-cell-BirthDate="props">
<q-td :props="props">
<span v-if="props.row.IsBirth==1" style="color:red">{{props.value}}</span>
......@@ -162,8 +155,6 @@
</q-item>
</q-list>
</q-btn-dropdown>
<!-- <q-btn flat size="xs" icon="iconfont icon-ziyuan" color="warning" style="font-weight:400" class="q-mr-xs"
label="更多" @click="resetPw(props.row.MId)" /> -->
</div>
</q-td>
</template>
......@@ -344,11 +335,6 @@
methods: {
resetSearch() {
this.msg.pageIndex = 1;
// if (this.schoolTemp) {
// this.msg.School_Id = this.schoolTemp.SId
// } else {
// this.msg.School_Id = 0
// }
this.getManager()
},
//创建账号
......@@ -375,7 +361,7 @@
},
//重置密码
resetPassWord() {
if(this.selected.length==0){
if (this.selected.length == 0) {
this.$q.notify({
type: 'negative',
position: "top",
......@@ -399,11 +385,11 @@
}
}).onOk(() => {
that.resetLoading = true;
let Msg=[];
this.selected.forEach(x=>{
let obj={
AccountType:x.AccountType,
AccountId:x.AccountId
let Msg = [];
this.selected.forEach(x => {
let obj = {
AccountType: x.AccountType,
AccountId: x.AccountId
}
Msg.push(obj);
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment