提交 ee85227b 作者: wk

审批提醒,加入组织弹窗

父级 e29961d1
......@@ -1163,7 +1163,7 @@
}
.more {
font-family: "MicrosoftYaHei ";
font-family: "PingFang SC";
font-weight: 400;
font-size: 28rpx;
text-align: left;
......
......@@ -4,36 +4,36 @@
<form @submit="formSubmit">
<view class="form-item">
<view class="star">*</view>
<view class="text-black-normal" style="min-width: 100rpx;">账号</view>
<view class="text-black-normal" style="min-width: 140rpx;">账号</view>
<input class="text-black-normal" style="margin-left: 32rpx;flex: 1;" name="account"
placeholder="请输入账号(数字字母组合)" />
</view>
<view class="form-item">
<view class="star">*</view>
<view class="text-black-normal" style="min-width: 100rpx;">姓名</view>
<view class="text-black-normal" style="min-width: 140rpx;">姓名</view>
<input class="text-black-normal" style="margin-left: 32rpx;" name="username" placeholder="请输入姓名" />
</view>
<view class="form-item">
<view class="star">*</view>
<view class="text-black-normal" style="min-width: 100rpx;">密码</view>
<view class="text-black-normal" style="min-width: 140rpx;">密码</view>
<input class="text-black-normal" style="margin-left: 32rpx;" name="password" placeholder="请输入密码"
type="password" />
</view>
<view class="form-item">
<view class="star">*</view>
<view class="text-black-normal" style="min-width: 100rpx;">确认密码</view>
<view class="text-black-normal" style="min-width: 140rpx;">确认密码</view>
<input class="text-black-normal" style="margin-left: 32rpx;" name="confirmpassword"
placeholder="请再次输入密码" type="password" />
</view>
<view class="form-item">
<view class="star">*</view>
<view class="text-black-normal" style="min-width: 100rpx;">手机号</view>
<view class="text-black-normal" style="min-width: 140rpx;">手机号</view>
<input class="text-black-normal" style="margin-left: 32rpx;" name="phone" placeholder="请输入手机号"
v-model="phone" type="number" />
</view>
<view class="form-item">
<view class="star">*</view>
<view class="text-black-normal" style="min-width: 100rpx;">验证码</view>
<view class="text-black-normal" style="min-width: 140rpx;">验证码</view>
<input class="text-black-normal" style="margin-left: 32rpx;flex: 1;" name="code" placeholder="请输入验证码"
type="number" />
<view class="text-blue" @click="getCode">{{codeText}}</view>
......
......@@ -170,13 +170,13 @@
}).then((result) => {
console.log("公司申请列表", result);
if (result.code == 0) {
if (result.data.list.length > 0) {
if (result.data.list) {
this.mDatas = result.data.list
}
this.getProjectNoApproval()
} else {
this.$toast.showToast(result.msg)
}
this.getProjectNoApproval()
})
},
getProjectNoApproval() {
......@@ -202,9 +202,10 @@
var noApprovalList = this.mDatas.filter(item => item.status == '2')
noApprovalList.forEach((item) => {
if (this.leaveTime(item.create_time) != '0秒') {
count++
this.count++
}
})
console.log("是否有审批", this.count);
},
leaveTime(time) {
return this.$date.timeDiff(this.$date.getEndTime(time), false)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
Please register or to comment