Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e71f5fae
authored
Jul 05, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.39.0-0603' into 'develop'
fix 功能bug修复 See merge request
!68
2 parents
d0160918
c55f9f7b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
11 deletions
packageMine/pages/staffManage/createStaff/createStaff.js
packageMine/pages/staffManage/createStaff/createStaff.scss
packageMine/pages/staffManage/createStaff/createStaff.wxml
packageMine/pages/staffManage/createStaff/createStaff.js
View file @
e71f5fa
...
@@ -95,7 +95,6 @@ Page({
...
@@ -95,7 +95,6 @@ Page({
onShow() {
onShow() {
},
},
// 获取服务中心下的客户列表
// 获取服务中心下的客户列表
getConnectionList(e) {
getConnectionList(e) {
mineApi.getConnectionListByServiceAPI({
mineApi.getConnectionListByServiceAPI({
...
@@ -208,7 +207,7 @@ Page({
...
@@ -208,7 +207,7 @@ Page({
let userInfo = getUserInfo()
let userInfo = getUserInfo()
let params = {
let params = {
merchantNo: formData?.selectInfo?.yqMerchantId,
merchantNo: formData?.selectInfo?.yqMerchantId,
merchantName:
userInfo?.m
erchantName,
merchantName:
formData?.selectInfo?.yqM
erchantName,
type: formData.type,
type: formData.type,
staffUuid: formData?.staffUuid,
staffUuid: formData?.staffUuid,
staffName: formData?.staffName,
staffName: formData?.staffName,
...
@@ -230,9 +229,15 @@ Page({
...
@@ -230,9 +229,15 @@ Page({
message = '新增员工将自动提交审核,审核通过后完成新增。'
message = '新增员工将自动提交审核,审核通过后完成新增。'
params.auditType = 1
params.auditType = 1
} else {
} else {
if (params.staffName == staffName && params.staffPhone == staffPhone) {
title = '提示',
message = '是否确定修改员工信息?'
} else {
title = '确定要保存变更吗?',
title = '确定要保存变更吗?',
message = '变更员工姓名或手机号将自动提交审核,审核通过后完成变更。'
message = '变更员工姓名或手机号将自动提交审核,审核通过后完成变更。'
}
params.auditType = 0
params.auditType = 0
}
}
if (btnName == 'delete') {
if (btnName == 'delete') {
...
@@ -261,6 +266,7 @@ Page({
...
@@ -261,6 +266,7 @@ Page({
if (params.auditType == 0) {
if (params.auditType == 0) {
if (params.staffName == staffName && params.staffPhone == staffPhone) {
if (params.staffName == staffName && params.staffPhone == staffPhone) {
requestEvent = 'updateStaffAPI'
requestEvent = 'updateStaffAPI'
params.merchantName = userInfo?.merchantName
} else {
} else {
params.staffNameNew = params.staffName
params.staffNameNew = params.staffName
params.staffName = staffName
params.staffName = staffName
...
...
packageMine/pages/staffManage/createStaff/createStaff.scss
View file @
e71f5fa
/* packagesList/mineDetail/pages/staffManage/createStaff/createStaff.wxss */
/* packagesList/mineDetail/pages/staffManage/createStaff/createStaff.wxss */
.create-staff-page
{
.create-staff-page
{
box-sizing
:
border-box
;
position
:
relative
;
margin
:
20rpx
;
margin
:
20rpx
;
height
:
95vh
;
.tips
{
.tips
{
padding
:
12rpx
;
padding
:
12rpx
;
...
@@ -55,28 +58,50 @@
...
@@ -55,28 +58,50 @@
}
}
.btn
{
.btn
{
position
:
fixed
;
// text-align: center;
bottom
:
16rpx
;
// position: absolute;
left
:
0
;
// bottom: 96rpx;
width
:
calc
(
100%
-
64rpx
);
// left: 50%;
// transform: translateX(-50%);
// right: 0;
margin
:
30rpx
auto
;
width
:
100%
;
// display: flex;
// align-items: center;
// flex-direction: column;
width
:
550rpx
;
height
:
88rpx
;
height
:
88rpx
;
line-height
:
88rpx
;
line-height
:
88rpx
;
text-align
:
center
;
text-align
:
center
;
font-size
:
28rpx
;
font-size
:
28rpx
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
margin
:
0
32rpx
;
// margin: 0 32rpx;
font-family
:
PingFangSC-Medium
;
font-weight
:
500
;
font-size
:
34rpx
;
border-radius
:
12rpx
;
}
}
.btn-blue
{
.btn-blue
{
background
:
var
(
--
btnColor
);
background
:
var
(
--
btnColor
);
border-radius
:
8rpx
;
//
border-radius: 8rpx;
}
}
.delete
{
.delete
{
bottom
:
106rpx
bottom
:
190rpx
;
}
}
.deleteBtn
{
.deleteBtn
{
margin-top
:
10rpx
;
margin-top
:
20rpx
;
color
:
#3666FE
;
background
:
#FFFFFF
;
}
.cancleBtn
{
margin-top
:
20rpx
;
color
:
#323436
;
background
:
#FFFFFF
;
margin-bottom
:
30rpx
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
packageMine/pages/staffManage/createStaff/createStaff.wxml
View file @
e71f5fa
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
</view>
</view>
<view class="isFullSucreen btn {{addOrEdit != 'add'?'delete':''}}">
<view class="isFullSucreen btn {{addOrEdit != 'add'?'delete':''}}">
<view class="btn-blue" bindtap="handleConfirm">{{addOrEdit == 'add' ? '提交' : '保存'}}</view>
<view class="btn-blue" bindtap="handleConfirm">{{addOrEdit == 'add' ? '提交' : '保存'}}</view>
<view class="btn-blue deleteBtn" bindtap="handleDelete" wx:if="{{addOrEdit != 'add'}}">删除</view>
<view class="btn-blue deleteBtn " wx:if="{{addOrEdit != 'add'}}" bindtap="handleDelete">删除</view>
<view class="btn-blue cancleBtn" bindtap="back">取消</view>
<!-- <view class="btn-blue" bindtap="handleConfirm">{{addOrEdit == 'add' ? '提交' : '保存'}}</view> -->
<!-- <view class="btn-blue" bindtap="handleConfirm">{{addOrEdit == 'add' ? '提交' : '保存'}}</view> -->
</view>
</view>
</view>
</view>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment