Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-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 6f68c1b3
authored
Apr 01, 2026
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.7.0' into 'master'
上线合并 See merge request
!18
2 parents
a99b50db
be038944
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
196 additions
and
2 deletions
packageWorkspace/pages/supervisorDaily/reportFirstAuto.js
packageWorkspace/pages/supervisorDaily/ruleFnObj.js
packageWorkspace/pages/supervisorDaily/supervisorDaily.js
packageWorkspace/pages/supervisorDaily/reportFirstAuto.js
View file @
6f68c1b
...
...
@@ -46,6 +46,34 @@ export const reportFirstAutoObj = {
ortherValueObj
:
'merchantMonthTotal'
,
}]
},
/** 2.1运营主管日报模版 */
'uuid-temp-024'
:
{
list
:
[{
attrName
:
'todayTransactionOutput024'
,
// 今日产值
valueObj
:
'staffTodayTotal'
,
ortherValueObj
:
'merchantTodayTotal'
,
},
{
attrName
:
'monthTransactionOutput024'
,
// 本月产值
valueObj
:
'staffMonthTotal'
,
ortherValueObj
:
'merchantMonthTotal'
,
}]
},
/** 2.3运营主管日报模版 */
'uuid-temp-025'
:
{
list
:
[{
attrName
:
'todayTransactionOutput025'
,
// 今日产值
valueObj
:
'staffTodayTotal'
,
ortherValueObj
:
'merchantTodayTotal'
,
},
{
attrName
:
'monthTransactionOutput025'
,
// 本月产值
valueObj
:
'staffMonthTotal'
,
ortherValueObj
:
'merchantMonthTotal'
,
}]
},
/** 2.1区域经理周报模版 */
'uuid-temp-012'
:
{
list
:
[{
...
...
packageWorkspace/pages/supervisorDaily/ruleFnObj.js
View file @
6f68c1b
...
...
@@ -1244,7 +1244,173 @@ export const tempRuleFnObj = {
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'本月成交率请输入仅有两位小数的数字'
}
}
}
},
},
/** 2.1运营主管日报模版 - 业绩报告 */
performanceReport024
:
{
/** 今日谈客 */
todayGuestReception024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
1000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日谈客请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,3}
$/
.
test
(
value
)
?
null
:
{
message
:
'今日谈客请输入四位数字'
}
}
},
/** 今日成交 */
todayTransactions024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
1000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日成交请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,3}
$/
.
test
(
value
)
?
null
:
{
message
:
'今日成交请输入四位数字'
}
}
},
/** 今日成交产值 */
todayTransactionOutput024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日成交产值请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'今日成交产值请输入仅有两位小数的数字'
}
}
},
/** 今日成交率 */
todayTransactionRate024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日成交率请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'今日成交率请输入仅有两位小数的数字'
}
}
},
/** 本月谈客 */
monthGuestReception024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月谈客请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,5}
$/
.
test
(
value
)
?
null
:
{
message
:
'本月谈客请输入六位数字'
}
}
},
/** 本月成交 */
monthTransactions024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月成交请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,5}
$/
.
test
(
value
)
?
null
:
{
message
:
'本月成交请输入六位数字'
}
}
},
/** 本月成交产值 */
monthTransactionOutput024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月成交产值请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'本月成交产值请输入仅有两位小数的数字'
}
}
},
/** 本月成交率 */
monthTransactionRate024
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月成交率请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'本月成交率请输入仅有两位小数的数字'
}
}
},
},
/** 2.3运营主管日报模版 - 业绩报告 */
performanceReport025
:
{
/** 今日谈客 */
todayGuestReception025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
1000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日谈客请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,3}
$/
.
test
(
value
)
?
null
:
{
message
:
'今日谈客请输入四位数字'
}
}
},
/** 今日成交 */
todayTransactions025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
1000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日成交请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,3}
$/
.
test
(
value
)
?
null
:
{
message
:
'今日成交请输入四位数字'
}
}
},
/** 今日成交产值 */
todayTransactionOutput025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日成交产值请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'今日成交产值请输入仅有两位小数的数字'
}
}
},
/** 今日成交率 */
todayTransactionRate025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`今日成交率请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'今日成交率请输入仅有两位小数的数字'
}
}
},
/** 本月谈客 */
monthGuestReception025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月谈客请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,5}
$/
.
test
(
value
)
?
null
:
{
message
:
'本月谈客请输入六位数字'
}
}
},
/** 本月成交 */
monthTransactions025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月成交请输入0-
${
maxValue
}
`
}
}
return
/^$|^
\d{1}
$|^
[
1-9
]\d{0,5}
$/
.
test
(
value
)
?
null
:
{
message
:
'本月成交请输入六位数字'
}
}
},
/** 本月成交产值 */
monthTransactionOutput025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100000000
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月成交产值请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'本月成交产值请输入仅有两位小数的数字'
}
}
},
/** 本月成交率 */
monthTransactionRate025
:
{
ruleFn
:
(
rule
,
value
)
=>
{
const
maxValue
=
100
if
(
value
<
0
||
value
>
maxValue
)
{
return
{
message
:
`本月成交率请输入0-
${
maxValue
}
`
}
}
return
/^$|^
[
0
]
$|^
\d{1}(\.\d{1,2})
$|^
([
1-9
]\d
*
)(\.\d{1,2})?
$/
.
test
(
value
)
?
null
:
{
message
:
'本月成交率请输入仅有两位小数的数字'
}
}
},
},
/** 工作总结 */
workReport
:
{}
/** 工作总结 */
...
...
packageWorkspace/pages/supervisorDaily/supervisorDaily.js
View file @
6f68c1b
...
...
@@ -40,7 +40,7 @@ Page({
tabActive
:
""
,
tabList
:
[],
dataAttrName
:
"tmlpFormData"
,
dailyReportTempList
:
[
"qinggai-temp-001"
,
"uuid-temp-001"
,
"uuid-temp-011"
],
dailyReportTempList
:
[
"qinggai-temp-001"
,
"uuid-temp-001"
,
"uuid-temp-011"
,
"uuid-temp-024"
,
"uuid-temp-025"
],
/** 模版表单数据对象
* { 模版key: [ 模版下面的表单项数据对象 ] }
*/
...
...
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