Commit Graph
104500 Commits
Author SHA1 Message Date
daitingting b2c9f9ed5f * [unittest,done,0.5h] Adjust setmenu test. 2025-08-21 08:38:55 +08:00
daitingting 7c4fd9da31 * [task#148408,done,0.5h] Adjust rawModule. 2025-08-21 08:38:55 +08:00
daitingting eb31795f0f * [task#148408,done,2h] Add setMenu test. 2025-08-21 08:38:55 +08:00
daitingting 9b3423b53e * [task#148408,done,2h] View page of task does not need to check execution. 2025-08-21 08:38:55 +08:00
liugang 3444b4c791 * [misc] Fix unittest error of the searchModel::setDefaultParams method. 2025-08-21 08:38:55 +08:00
liugang 54ace4c9a4 * [misc] Fix unittest error of the searchTao::getParamValues method. 2025-08-21 08:38:55 +08:00
liugang c2d4553480 * [refac] Refactor: extract duplicate search form generation code into reusable function. 2025-08-21 08:38:55 +08:00
liugang 97ff86829c * [refac] Refactor: improve parameter passing in search module methods.
- Add module parameter to setDefaultParams and getParamValues methods
- Remove dependency on $_SESSION global variable in getParamValues
- Improve method encapsulation by explicit parameter passing
2025-08-21 08:38:55 +08:00
liugang 4a78bcb889 * [refac] Refactor: merge buildQuery and buildOldQuery methods to reduce code duplication. 2025-08-21 08:38:54 +08:00
liugang 5a7d19eff3 * [refac] Refactor: merge buildForm and buildOldForm methods to reduce code duplication. 2025-08-21 08:38:54 +08:00
liugang 1137a7579d * [refac] Refactor: simplify code to build search form. 2025-08-21 08:38:54 +08:00
lixiaoyu d3905f3ef4 *[task#147928,doing,0.5h,3h] modify code 2025-08-21 08:38:54 +08:00
huairong 0fdcdb8a2c + [task#61818,done,0.2h] Add xpath of createstakeholder page. 2025-08-21 08:38:54 +08:00
huairong 29af424418 + [task#61818,doing,1.0h,0.8h] Add testdata and testcase of createstakeholder. 2025-08-21 08:38:54 +08:00
huairong 736b1054aa + [task#61818,doing,1.0h,1.8h] Add createstakeholder function. 2025-08-21 08:38:54 +08:00
huairong abdd77cf61 + [task#61818,doing,0.2h,2.8h] Add xpath of stakeholder page. 2025-08-21 08:38:54 +08:00
yulujie 5aa2b9372e *[task#148498,done,1h] Add uitest of close task. 2025-08-21 08:38:54 +08:00
yulujie 28ca03281b *[task#148497,done,0.1h] Modify function. 2025-08-21 08:38:54 +08:00
yulujie 127437979e *[task#148497,done,0.1h] Modify function. 2025-08-21 08:38:54 +08:00
yulujie 0a04d6ed75 *[task#148497,done,1.5h] Add uitest of cancel task. 2025-08-21 08:38:54 +08:00
yulujie 7545326a26 *[task#148502,done,0.1h] Modify data. 2025-08-21 08:38:54 +08:00
yulujie 409fe3b6e0 *[task#148502,done,1h] Add xpath. 2025-08-21 08:38:54 +08:00
yulujie 43c2de0a34 *[task#148502,doing,2h,1h] Add data and cases. 2025-08-21 08:38:54 +08:00
yulujie 167ab95f88 *[task#148502,doing,3h,3h] Add function. 2025-08-21 08:38:54 +08:00
sunguangming 4a5c47539a * [misc] remove unused code. 2025-08-21 08:38:54 +08:00
liugang 22ab3db90d * [bug#64822] Fix error of building search form. 2025-08-21 08:38:54 +08:00
liugang d9f0cf78ca * [perf] Refactor search parameter caching: rename cacheSearchParams to cacheSearchFunc
- Rename method cacheSearchParams() to cacheSearchFunc() in framework/model.class.php
- Update parameter name from cacheSearchParams to cacheSearchFunc across execution and my modules
- Update corresponding test files and documentation comments
- Improve naming clarity to reflect that we're caching the function/method rather than just parameters
2025-08-21 08:38:54 +08:00
liugang cd58f25d71 * [misc] Simplify unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 837d738e94 + [misc] Add unittest steps of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 297d787247 + [misc] Add unittest steps of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 156bcfd686 * [misc] Modify unittest script of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang cc784cbb40 * [misc] Fix error parameter. 2025-08-21 08:38:54 +08:00
liugang bc31128c8a + [misc] Add unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 92457cd8f3 * [misc] Fix unittest error of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang ac835946fd * [perf] Add cacheSearchParams parameter to processSearchParams method for performance control. 2025-08-21 08:38:54 +08:00
liugang 920c8a8f2a * [perf] Optimize search module variable usage and simplify field control access. 2025-08-21 08:38:54 +08:00
liugang 7a7eba7951 * [perf] Refactor: convert object property access to array access in search module. 2025-08-21 08:38:54 +08:00
liugang 371860dfc6 * [perf] If the search function has been cached return the search configuration items. 2025-08-21 08:38:54 +08:00
liugang 5ee90cf770 * [perf] IF the search function has been cached get search fields and parameters from configuration items instead of session. 2025-08-21 08:38:54 +08:00
liugang a44340383d * [perf] If the search function has been cached don't save search fields and parameters into session. 2025-08-21 08:38:54 +08:00
liugang cf238a3592 * [perf] Move the processSearchParams method from searchZen to searchModel. 2025-08-21 08:38:54 +08:00
liugang a536a3341d + [misc] Add unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang c087463e4c + [misc] Add unittest steps of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang f50b1d89ce * [misc] Fix unittest error of the myModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang 34cca6339a * [misc] Fix unittest error of the executionModel::buildTaskSearchForm method. 2025-08-21 08:38:54 +08:00
liugang ae67900071 * [perf] refactor: improve processSearchParams return handling and session access
- Change return type from bool to array for better data flow
- Replace direct $_SESSION access with $this->session for consistency
- Add null check for funcArgs parameter validation
- Return cached search parameters as fallback instead of false
- Return actual function result instead of boolean success indicator
2025-08-21 08:38:54 +08:00
liugang 15686322b9 * [perf] refactor: standardize search cache naming and parameter handling
- Change session key from 'searchParams' to 'SearchFunc' for consistency
- Simplify processSearchParams method to accept module name directly
- Update method calls across search control and zen modules
2025-08-21 08:38:53 +08:00
liugang 9d2f04c2ed * [perf] refactor: optimize search parameter handling mechanism
- Replace loadModel('search')->setSearchParams() call with direct session setting in framework/model.class.php
- Remove redundant parameter clearing and early return logic from searchModel::setSearchParams method
2025-08-21 08:38:53 +08:00
liugang 7ccc2890bd * [perf] refactor: improve task search configuration handling in my module
- Replace direct modification of global config with local searchConfig variable
- Avoid side effects by working with local copy instead of modifying shared config
- Add return statement to provide searchConfig for potential future use
2025-08-21 08:38:53 +08:00
liugang 50835c315f * [perf] refactor: enhance task search form building functionality
- Add productID parameter to buildTaskSearchForm method to support better filtering
- Introduce module parameter to handle different search contexts (task, programplanTask, projectTask)
- Refactor search configuration to be more modular and context-aware
- Remove hardcoded search module configurations and pass them as parameters
- Simplify search form initialization across execution, programplan, and project modules
- Improve code reusability by centralizing search configuration logic
- Add conditional field filtering based on execution type and search context
2025-08-21 08:38:53 +08:00