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

页面修改

parent c396b71f
...@@ -43,35 +43,30 @@ ...@@ -43,35 +43,30 @@
</div> </div>
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled class="col-6 q-pr-lg q-pb-lg"> <q-field filled class="col-6 q-pr-lg q-pb-lg">
            <template v-slot:control>  <template v-slot:control>
               <el-date-picker v-model="dateListOne" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
<el-date-picker v-model="dateListOne" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange"  range-separator="至"  start-placeholder="入职开始日期"  end-placeholder="入职结束日期">
 style="border:none;"                 range-separator="至"  start-placeholder="入职开始日期"  </el-date-picker>       
 end-placeholder="入职结束日期"> </template>
              </el-date-picker> </q-field>
            </template>
          </q-field>
</div> </div>
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled class="col-6 q-pr-lg q-pb-lg"> <q-field filled class="col-6 q-pr-lg q-pb-lg">
            <template v-slot:control>   <template v-slot:control>           
               <el-date-picker v-model="dateListThree" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange" style="border:none;"
<el-date-picker v-model="dateListThree" @change="resetSearch()" value-format="yyyy-MM-dd" type="daterange"   range-separator="至"  start-placeholder="离职开始日期"  end-placeholder="离职结束日期">
 style="border:none;"                 range-separator="至"  start-placeholder="离职开始日期" </el-date-picker>
 end-placeholder="离职结束日期">  </template>
              </el-date-picker>  </q-field>
            </template>
          </q-field>
</div> </div>
<div class="col-3 Sysuser_Date"> <div class="col-3 Sysuser_Date">
<q-field filled class="col-6 q-pr-lg q-pb-lg"> <q-field filled class="col-6 q-pr-lg q-pb-lg">
            <template v-slot:control>   <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;" 
<el-date-picker v-model="dateListTwo" @change="resetSearch()" value-format="yyyy-MM" type="monthrange" style="border:none;" range-separator="至"  start-placeholder="生日开始月"  end-placeholder="生日结束月">
                range-separator="至"  start-placeholder="生日开始月"  end-placeholder="生日结束月"> </el-date-picker>  
              </el-date-picker> </template>
            </template> </q-field>
          </q-field>
</div> </div>
</div> </div>
<div class="page-option"> <div class="page-option">
...@@ -115,7 +110,6 @@ ...@@ -115,7 +110,6 @@
<q-badge :color="props.value==1?'negative':'primary'" :label="props.value==1?'女':'男'" /> <q-badge :color="props.value==1?'negative':'primary'" :label="props.value==1?'女':'男'" />
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-LeaveStatus="props"> <template v-slot:body-cell-LeaveStatus="props">
<q-td :props="props"> <q-td :props="props">
<span v-if="props.row.LeaveStatus=='在职'" style="color:#000">{{props.value}}</span> <span v-if="props.row.LeaveStatus=='在职'" style="color:#000">{{props.value}}</span>
...@@ -124,7 +118,6 @@ ...@@ -124,7 +118,6 @@
<span v-if="props.row.LeaveStatus=='离职'" style="color:red">{{props.value}}</span> <span v-if="props.row.LeaveStatus=='离职'" style="color:red">{{props.value}}</span>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-BirthDate="props"> <template v-slot:body-cell-BirthDate="props">
<q-td :props="props"> <q-td :props="props">
<span v-if="props.row.IsBirth==1" style="color:red">{{props.value}}</span> <span v-if="props.row.IsBirth==1" style="color:red">{{props.value}}</span>
...@@ -162,8 +155,6 @@ ...@@ -162,8 +155,6 @@
</q-item> </q-item>
</q-list> </q-list>
</q-btn-dropdown> </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> </div>
</q-td> </q-td>
</template> </template>
...@@ -344,11 +335,6 @@ ...@@ -344,11 +335,6 @@
methods: { methods: {
resetSearch() { resetSearch() {
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
// if (this.schoolTemp) {
// this.msg.School_Id = this.schoolTemp.SId
// } else {
// this.msg.School_Id = 0
// }
this.getManager() this.getManager()
}, },
//创建账号 //创建账号
...@@ -375,7 +361,7 @@ ...@@ -375,7 +361,7 @@
}, },
//重置密码 //重置密码
resetPassWord() { resetPassWord() {
if(this.selected.length==0){ if (this.selected.length == 0) {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
position: "top", position: "top",
...@@ -399,11 +385,11 @@ ...@@ -399,11 +385,11 @@
} }
}).onOk(() => { }).onOk(() => {
that.resetLoading = true; that.resetLoading = true;
let Msg=[]; let Msg = [];
this.selected.forEach(x=>{ this.selected.forEach(x => {
let obj={ let obj = {
AccountType:x.AccountType, AccountType: x.AccountType,
AccountId:x.AccountId AccountId: x.AccountId
} }
Msg.push(obj); 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