From 2648a3376eee3601f3ce2fbefffef964f659cd0c Mon Sep 17 00:00:00 2001 From: lixiaoyu Date: Mon, 25 Nov 2024 15:20:28 +0800 Subject: [PATCH] *[task#133114,doing,0.3h,3h]add comments --- module/my/test/lib/audit.ui.class.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/module/my/test/lib/audit.ui.class.php b/module/my/test/lib/audit.ui.class.php index 8f391de3fe..64ac9fc6fd 100755 --- a/module/my/test/lib/audit.ui.class.php +++ b/module/my/test/lib/audit.ui.class.php @@ -2,6 +2,14 @@ include dirname(__FILE__, 5) . '/test/lib/ui.php'; class auditTester extends tester { + /** + * 检查地盘审批下的数据 + * check data of audit + * + * @param $tabName tab名称 all|SR|UR|ER + * @param $expectNum 预期数据 + * @return mixed + */ public function checkAudit($tabName, $expectNum) { $form = $this->initForm('my', 'audit', array(), 'appIframe-my'); @@ -25,6 +33,15 @@ class auditTester extends tester : $this->failed("{$tabMessage[$tabName]}tab下数据显示不正确"); } } + + /** + * 在审批列表中评审 + * review in audit list + * + * @param $type 类型 SR|UR|ER + * @param $expectNum 预期数据 + * @return mixed + */ public function review($type, $expectNum) { $form = $this->initForm('my', 'audit', array(), 'appIframe-my');