Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PropertyEdu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liudong1993
PropertyEdu
Commits
0f4e27c4
Commit
0f4e27c4
authored
Nov 05, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
89893eaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
PropertyModule.cs
Property.Modele.FixedAssets/PropertyModule.cs
+4
-0
WorkFlowModule.cs
Property.Modele.FixedAssets/WorkFlowModule.cs
+2
-2
No files found.
Property.Modele.FixedAssets/PropertyModule.cs
View file @
0f4e27c4
...
@@ -4516,6 +4516,10 @@ namespace Property.Module.FixedAssets
...
@@ -4516,6 +4516,10 @@ namespace Property.Module.FixedAssets
}
}
//发送通知 经办人有变更(让其快速处理采购)
//发送通知 经办人有变更(让其快速处理采购)
PushBuyingMessage
(
account
,
0
,
"您有请购单待采购,请往资产管理系统查看"
,
"请购单通知"
,
userInfo
.
EmployeeId
,
Common
.
Models
.
PushMessageCategoryEnum
.
PurchaseRequisition
);
PushBuyingMessage
(
account
,
0
,
"您有请购单待采购,请往资产管理系统查看"
,
"请购单通知"
,
userInfo
.
EmployeeId
,
Common
.
Models
.
PushMessageCategoryEnum
.
PurchaseRequisition
);
string
markdownContent2
=
$"`您有待采购的请购单\n>**概要信息** \n>请购标题:
{
model
.
Name
}
\n>请购类型:
{(
model
.
Type
==
1
?
"资产"
:
"耗材"
)}
\n>采购状态:<font color='comment'>待采购</font>\n>"
;
string
JumpUrl2
=
System
.
Web
.
HttpUtility
.
UrlEncode
(
$"/PurchaseRequisitionExamine?showTable=4"
);
PushWeChatWorkAuditMsg
(
Common
.
Models
.
PushMessageCategoryEnum
.
BuyingRequisition
,
markdownContent2
,
"请购单采购"
,
account
,
JumpUrl2
);
}
}
}
}
return
flag
;
return
flag
;
...
...
Property.Modele.FixedAssets/WorkFlowModule.cs
View file @
0f4e27c4
...
@@ -4296,11 +4296,11 @@ namespace Property.Module.FixedAssets
...
@@ -4296,11 +4296,11 @@ namespace Property.Module.FixedAssets
//推送企业微信
//推送企业微信
string
markdownContent
=
$"`资产请购单审批完成\n>**概要信息** \n>请购标题:
{
usemodel
.
Name
}
\n>请购类型:
{(
usemodel
.
Type
==
1
?
"资产"
:
"耗材"
)}
\n>申 请 人:<font color='warning'>
{
CreateModel
?.
EmployeeName
}
</font>\n>通过时间:<font color='comment'>
{
DateTime
.
Now
.
ToString
(
"MM-dd HH-mm"
)}
</font>\n>"
;
string
markdownContent
=
$"`资产请购单审批完成\n>**概要信息** \n>请购标题:
{
usemodel
.
Name
}
\n>请购类型:
{(
usemodel
.
Type
==
1
?
"资产"
:
"耗材"
)}
\n>申 请 人:<font color='warning'>
{
CreateModel
?.
EmployeeName
}
</font>\n>通过时间:<font color='comment'>
{
DateTime
.
Now
.
ToString
(
"MM-dd HH-mm"
)}
</font>\n>"
;
string
JumpUrl
=
System
.
Web
.
HttpUtility
.
UrlEncode
(
$"/PurchaseRequisitionDetail?Id=
{
usemodel
.
Id
}
&backto=PurchaseRequisitionExamine&showTable=1&compType=chakan"
);
string
JumpUrl
=
System
.
Web
.
HttpUtility
.
UrlEncode
(
$"/PurchaseRequisitionDetail?Id=
{
usemodel
.
Id
}
&backto=PurchaseRequisitionExamine&showTable=1&compType=chakan"
);
PushWeChatWorkAuditMsg
(
Common
.
Models
.
PushMessageCategoryEnum
.
BuyingRequisition
,
markdownContent
,
"请购审批完成"
,
AuditAccount
List
,
JumpUrl
);
PushWeChatWorkAuditMsg
(
Common
.
Models
.
PushMessageCategoryEnum
.
BuyingRequisition
,
markdownContent
,
"请购审批完成"
,
EmName
List
,
JumpUrl
);
string
markdownContent2
=
$"`您有待采购的请购单\n>**概要信息** \n>请购标题:
{
usemodel
.
Name
}
\n>请购类型:
{(
usemodel
.
Type
==
1
?
"资产"
:
"耗材"
)}
\n>申 请 人:<font color='warning'>
{
CreateModel
?.
EmployeeName
}
</font>\n>采购状态:<font color='comment'>待采购</font>\n>"
;
string
markdownContent2
=
$"`您有待采购的请购单\n>**概要信息** \n>请购标题:
{
usemodel
.
Name
}
\n>请购类型:
{(
usemodel
.
Type
==
1
?
"资产"
:
"耗材"
)}
\n>申 请 人:<font color='warning'>
{
CreateModel
?.
EmployeeName
}
</font>\n>采购状态:<font color='comment'>待采购</font>\n>"
;
string
JumpUrl2
=
System
.
Web
.
HttpUtility
.
UrlEncode
(
$"/PurchaseRequisitionExamine?showTable=4"
);
string
JumpUrl2
=
System
.
Web
.
HttpUtility
.
UrlEncode
(
$"/PurchaseRequisitionExamine?showTable=4"
);
PushWeChatWorkAuditMsg
(
Common
.
Models
.
PushMessageCategoryEnum
.
BuyingRequisition
,
markdownContent2
,
"请购单采购"
,
AuditAccount
List
,
JumpUrl2
);
PushWeChatWorkAuditMsg
(
Common
.
Models
.
PushMessageCategoryEnum
.
BuyingRequisition
,
markdownContent2
,
"请购单采购"
,
Operator
List
,
JumpUrl2
);
}
}
else
else
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment