| @@ -53,7 +53,7 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <el-date-picker | <el-date-picker | ||||
| @change="confirmtime()" | |||||
| @change="confirmtime" | |||||
| v-model="customtime" | v-model="customtime" | ||||
| type="daterange" | type="daterange" | ||||
| range-separator="-" | range-separator="-" | ||||
| @@ -944,7 +944,7 @@ export default { | |||||
| this.getTableList(); | this.getTableList(); | ||||
| }, | }, | ||||
| //时间选择 | //时间选择 | ||||
| confirmtime() { | |||||
| confirmtime(e) { | |||||
| this.timeType = "-1"; | this.timeType = "-1"; | ||||
| // if(this.customtime==''){ }else{ | // if(this.customtime==''){ }else{ | ||||
| // const d = new Date(this.customtime[0]) | // const d = new Date(this.customtime[0]) | ||||
| @@ -388,7 +388,8 @@ export default { | |||||
| dataOverviewWithSystemWithDay() { | dataOverviewWithSystemWithDay() { | ||||
| this.$api.api | this.$api.api | ||||
| .dataOverviewWithSystemWithDay({ | .dataOverviewWithSystemWithDay({ | ||||
| agentId: this.selValue == 0 ? this.choicValue : null, | |||||
| // agentId: this.selValue == 0 ? this.choicValue : null, | |||||
| agentId: localStorage.getItem('agentId'), | |||||
| orgCode: this.selValue == 1 ? this.choicValue : null, | orgCode: this.selValue == 1 ? this.choicValue : null, | ||||
| }) | }) | ||||
| .then((res) => { | .then((res) => { | ||||
| @@ -408,7 +409,8 @@ export default { | |||||
| startDate: this.dateType ? "" : this.customtime[0], | startDate: this.dateType ? "" : this.customtime[0], | ||||
| endDate: this.dateType ? "" : this.customtime[1], | endDate: this.dateType ? "" : this.customtime[1], | ||||
| dateType: this.dateType, | dateType: this.dateType, | ||||
| agentId: this.selValue == 0 ? this.choicValue : null, | |||||
| // agentId: this.selValue == 0 ? this.choicValue : null, | |||||
| agentId: localStorage.getItem('agentId'), | |||||
| orgCode: this.selValue == 1 ? this.choicValue : null, | orgCode: this.selValue == 1 ? this.choicValue : null, | ||||
| }) | }) | ||||
| .then((res) => { | .then((res) => { | ||||
| @@ -538,7 +540,8 @@ export default { | |||||
| dataOverViewWithSystem() { | dataOverViewWithSystem() { | ||||
| this.$api.api | this.$api.api | ||||
| .dataOverViewWithSystem({ | .dataOverViewWithSystem({ | ||||
| agentId: this.selValue == 0 ? this.choicValue : null, | |||||
| // agentId: this.selValue == 0 ? this.choicValue : null, | |||||
| agentId: localStorage.getItem('agentId'), | |||||
| orgCode: this.selValue == 1 ? this.choicValue : null, | orgCode: this.selValue == 1 ? this.choicValue : null, | ||||
| }) | }) | ||||
| .then((res) => { | .then((res) => { | ||||
| @@ -190,17 +190,20 @@ export default { | |||||
| backTop(){ | backTop(){ | ||||
| // console.log(this.$refs.boxcenter.offsetHeight) | // console.log(this.$refs.boxcenter.offsetHeight) | ||||
| console.log($('#avue-view').scrollTop()) | |||||
| $('#avue-view').scrollTop(800) | |||||
| // console.log($('#avue-view').scrollTop()) | |||||
| $('#avue-view').scrollTop(0) | |||||
| }, | }, | ||||
| movePlace(index){ | movePlace(index){ | ||||
| if(index==0){ | if(index==0){ | ||||
| return | return | ||||
| }else { | }else { | ||||
| var as55=this.objlist[index-1].id; | var as55=this.objlist[index-1].id; | ||||
| var shu='#'+as55; | |||||
| console.log(shu); | |||||
| // $('body,html').animate({scrollTop: $(shu).offset().top-80}, 500); | |||||
| var shu='#ids'+as55; | |||||
| // console.log(shu); | |||||
| // // $('body,html').animate({scrollTop: $(shu).offset().top-80}, 500); | |||||
| // console.log($(shu).offset().top); | |||||
| // console.log($(shu)); | |||||
| $('#avue-view').scrollTop(($(shu).offset().top)-80) | |||||
| } | } | ||||
| }, | }, | ||||
| @@ -39,13 +39,13 @@ | |||||
| <a href="#" class="icon-C" @click="handleClick('osc')"></a> | <a href="#" class="icon-C" @click="handleClick('osc')"></a> | ||||
| </el-form-item> --> | </el-form-item> --> | ||||
| <el-form-item label="原密码" prop="password"> | <el-form-item label="原密码" prop="password"> | ||||
| <el-input v-model="ruleForm.password" type="password" auto-complete="off" /> | |||||
| <el-input v-model="ruleForm.password" maxlength="18" type="password" auto-complete="off" /> | |||||
| </el-form-item> | </el-form-item> | ||||
| <el-form-item label="新密码" prop="newpassword1"> | <el-form-item label="新密码" prop="newpassword1"> | ||||
| <el-input v-model="ruleForm.newpassword1" type="password" auto-complete="off" /> | |||||
| <el-input v-model="ruleForm.newpassword1" maxlength="18" type="password" auto-complete="off" /> | |||||
| </el-form-item> | </el-form-item> | ||||
| <el-form-item label="确认密码" prop="newpassword2"> | <el-form-item label="确认密码" prop="newpassword2"> | ||||
| <el-input v-model="ruleForm.newpassword2" type="password" auto-complete="off" /> | |||||
| <el-input v-model="ruleForm.newpassword2" maxlength="18" type="password" auto-complete="off" /> | |||||
| </el-form-item> | </el-form-item> | ||||
| <el-form-item> | <el-form-item> | ||||
| <el-button type="primary" @click="submitForm()">提交</el-button> | <el-button type="primary" @click="submitForm()">提交</el-button> | ||||
| @@ -43,7 +43,7 @@ | |||||
| </div> --> | </div> --> | ||||
| <div class="div-lab"> | <div class="div-lab"> | ||||
| <div class="label">合同起止日期:</div> | |||||
| <div class="label">合同结束日期:</div> | |||||
| <el-date-picker | <el-date-picker | ||||
| v-model="starTime" | v-model="starTime" | ||||
| class="div-inp" | class="div-inp" | ||||