CN105718567B - The recording method of user's selection operation based on the exploitation of map object - Google Patents

The recording method of user's selection operation based on the exploitation of map object Download PDF

Info

Publication number
CN105718567B
CN105718567B CN201610038790.1A CN201610038790A CN105718567B CN 105718567 B CN105718567 B CN 105718567B CN 201610038790 A CN201610038790 A CN 201610038790A CN 105718567 B CN105718567 B CN 105718567B
Authority
CN
China
Prior art keywords
check box
map
map collection
collection object
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610038790.1A
Other languages
Chinese (zh)
Other versions
CN105718567A (en
Inventor
苏扬
温柏坚
余志文
邓大为
张聪
周安
罗黎明
施建华
胡超
周波
高寿
陈章国
胡晓祥
葛艺晓
何林军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Nanjing NARI Group Corp
State Grid Electric Power Research Institute
Original Assignee
Guangdong Power Grid Co Ltd
Nanjing NARI Group Corp
State Grid Electric Power Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Nanjing NARI Group Corp, State Grid Electric Power Research Institute filed Critical Guangdong Power Grid Co Ltd
Priority to CN201610038790.1A priority Critical patent/CN105718567B/en
Publication of CN105718567A publication Critical patent/CN105718567A/en
Application granted granted Critical
Publication of CN105718567B publication Critical patent/CN105718567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Abstract

The invention discloses a kind of recording methods of user's selection operation based on the exploitation of map object, JS Array array object is packaged, it is become into map collection object, the function that map collection object is added and removed is provided, so as to realize that power system management page data is more and carries out under the business scenario of paging, realize that each data select the function being recorded when recording any paging switching, have a good application prospect.

Description

The recording method of user's selection operation based on the exploitation of map object
Technical field
The present invention relates to power system management page applicating developing technology fields, and in particular to one kind is opened based on map object The recording method of user's selection operation of hair.
Background technique
In the power system management page, page data is more and carries out under the business scenario of paging, and user is in switching point Selected data will appear the phenomenon that being reset when page, such as use fixed value list in relay protection profession adjusting group user When selection function, in current management page for the fixed value list for having selected for " issuing ", need to select again when switching the page number Fixed value list after middle switching in the page number, after clicking confirmation, in addition to the fixed value list of last time selection, all fronts are selected Fixed value list there is no in fixed value list list, be currently to be badly in need of there is no to user to require to provide paging to select definite value single function It solves the problems, such as.
Summary of the invention
The purpose of the invention is to overcome in the existing power system management page, page data is more and carries out paging Under business scenario, the data that user selected when switching paging will appear the problem of being reset.It is of the invention based on map object It is more and carry out the business of paging to can be realized power system management page data for the recording method of user's selection operation of exploitation Under scene, realize that each data select the function being recorded when recording any paging switching, have a good application prospect.
To achieve the above object, the technical scheme adopted by the invention is that:
The recording method of user's selection operation based on the exploitation of map object, it is characterised in that: include the following steps,
Step (1), select the power system management page homepage on, define a global map collection object, wherein Key value is that major key ID, the value value of map collection object is the check box object of current page;
Step (2), building first function is realized when check box object is chosen, and is added in map collection object;? When check box object revocation is chosen, then removed from map collection object;
Step (3), building second function realize for click full choosing or it is counter select all check box objects when, by what is chosen It is all that frame object is selected to be added in map collection object;All check box objects of revocation are removed from map collection object;
Step (4), when user chooses a check box object, then the first function of invocation step (2), return one it is new The key value of map collection object;When user chooses multiple check box objects simultaneously, then the second function of invocation step (3), returns The key value of one new map collection object;
Step (5) initializes current map collection object when user carries out page number switching, if current Map collection object obtains check box object by key value, then chooses current check box object, and record current page Data;If current map collection object does not obtain check box object, the data of current page are not recorded.
The beneficial effects of the present invention are: the recording method of user's selection operation of the invention based on the exploitation of map object, right JS Array(JavaScript Array) array object is packaged, and it is become into map collection object, provides and gathers map The function of object addition and remove, so as to realize that power system management page data is more and carries out the business scenario of paging Under, realize that each data select the function being recorded when recording any paging switching, have a good application prospect.
Detailed description of the invention
Fig. 1 is the flow chart of the recording method of user's selection operation of the invention based on the exploitation of map object.
Specific embodiment
Below in conjunction with Figure of description 1, the present invention is further illustrated.
The recording method of user's selection operation based on the exploitation of map object of the invention, to JS Array array object into It is become map collection object, the function that map collection object is added and removed is provided, so as to realize electric power by row encapsulation System administration page data is more and carries out under the business scenario of paging, and realization records each data selection when any paging switching The function being all recorded, as shown in Figure 1, specific implementation includes the following steps,
Step (1), select the power system management page homepage on, define a global map collection object, wherein Key value is that major key ID, the value value of map collection object is the check box object of current page;
Step (2), building first function is realized when check box object is chosen, and is added in map collection object;? When check box object revocation is chosen, then removed from map collection object;
Step (3), building second function realize for click full choosing or it is counter select all check box objects when, by what is chosen It is all that frame object is selected to be added in map collection object;All check box objects of revocation are removed from map collection object;
Step (4), when user chooses a check box object, then the first function of invocation step (2), return one it is new The key value of map collection object;When user chooses multiple check box objects simultaneously, then the second function of invocation step (3), returns The key value of one new map collection object;
Step (5) initializes current map collection object when user carries out page number switching, if current Map collection object obtains check box object by key value, then chooses current check box object, and record current page Data;If current map collection object does not obtain check box object, the data of current page are not recorded.
The recording method of user's selection operation according to the present invention based on the exploitation of map object, is protected in Guangdong Power Grid Corporation Professional adjusting group user is protected, processing adaptive setting " adjusting group issues " procedure links page is entered, in current page, is clicked " fixed value list selection " function button pops up fixed value list list dialog box, and selection needs to be issued to the fixed value list of " operation group ", supports Switch the page and select fixed value list, clicks " selection " function button, all records chosen are filled into adjusting group and issue homepage In, it can be realized each data when recording any paging switching and select the function being recorded, have a good application prospect.
Basic principles and main features and advantage of the invention have been shown and described above.The technical staff of the industry should Understand, the present invention is not limited to the above embodiments, and the above embodiments and description only describe originals of the invention Reason, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes and improvements It all fall within the protetion scope of the claimed invention.The claimed scope of the invention is by appended claims and its equivalent circle It is fixed.

Claims (1)

1. the recording method of user's selection operation based on the exploitation of map object, it is characterised in that: include the following steps,
Step (1) on the homepage for selecting the power system management page, defines a global map collection object, wherein key It is the check box object of current page that value, which is major key ID, the value value of map collection object,;
Step (2), building first function is realized when check box object is chosen, and is added in map collection object;In final election When the revocation of frame object is chosen, then the check box object is removed from map collection object;
Step (3), building second function realize for click full choosing or it is counter select all check box objects when, it is all by what is chosen Check box object is added in map collection object;All check box objects of revocation are removed from map collection object;
Step (4), when user chooses a check box object, then the first function of invocation step (2), returns to a new map The key value of collection object;When user chooses multiple check box objects simultaneously, then the second function of invocation step (3), returns another The key value of a new map collection object;
Step (5) initializes current map collection object, when user carries out page number switching if current map collection It closes object and check box object is obtained by key value, then choose current check box object, and record the data of current page; If current map collection object does not obtain check box object, the data of current page are not recorded.
CN201610038790.1A 2016-01-21 2016-01-21 The recording method of user's selection operation based on the exploitation of map object Active CN105718567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610038790.1A CN105718567B (en) 2016-01-21 2016-01-21 The recording method of user's selection operation based on the exploitation of map object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610038790.1A CN105718567B (en) 2016-01-21 2016-01-21 The recording method of user's selection operation based on the exploitation of map object

Publications (2)

Publication Number Publication Date
CN105718567A CN105718567A (en) 2016-06-29
CN105718567B true CN105718567B (en) 2019-05-24

Family

ID=56147551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610038790.1A Active CN105718567B (en) 2016-01-21 2016-01-21 The recording method of user's selection operation based on the exploitation of map object

Country Status (1)

Country Link
CN (1) CN105718567B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597435B (en) * 2019-09-05 2021-01-01 北京蒙奇迪科技发展有限公司 Cross-page checking system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446221A (en) * 2011-12-22 2012-05-09 南京联创科技集团股份有限公司 Dynamic tree structured directory retrieval method in BS (browser/server) structure software
CN103886046A (en) * 2014-03-11 2014-06-25 中国信息安全测评中心 Automatic semanteme extraction method for Web data exchange
CN105159664A (en) * 2015-08-07 2015-12-16 苏州博优赞信息科技有限责任公司 Mode for realizing key-value storage based on javascript

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212901A1 (en) * 2007-03-01 2008-09-04 H.B.P. Of San Diego, Inc. System and Method for Correcting Low Confidence Characters From an OCR Engine With an HTML Web Form

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446221A (en) * 2011-12-22 2012-05-09 南京联创科技集团股份有限公司 Dynamic tree structured directory retrieval method in BS (browser/server) structure software
CN103886046A (en) * 2014-03-11 2014-06-25 中国信息安全测评中心 Automatic semanteme extraction method for Web data exchange
CN105159664A (en) * 2015-08-07 2015-12-16 苏州博优赞信息科技有限责任公司 Mode for realizing key-value storage based on javascript

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
js采用map取到id集合组,并且点击一行选中一行;LZWGlory;《http://blog.csdn.net/lzwglory/article/details/17354321(CSDN)》;20131216;第1-4页

Also Published As

Publication number Publication date
CN105718567A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
Boesing et al. Biodiversity extinction thresholds are modulated by matrix type
CN105989076B (en) A kind of data statistical approach and device
CN108289121A (en) The method for pushing and device of marketing message
CN104408163B (en) A kind of data classification storage and device
CN109800262A (en) Data share exchange method and system
CN106202236A (en) A kind of customer location Forecasting Methodology and device
CN104252443A (en) Report generation method and device
CN109032743A (en) Menu configuration method, device, equipment and readable storage medium storing program for executing
CN103838720B (en) Page file, which is loaded into, executes method and apparatus
CN105787090A (en) Index building method and system of OLAP system of electric data
CN105718567B (en) The recording method of user's selection operation based on the exploitation of map object
CN105162622A (en) Storage method and system
CN106649373A (en) Thermodynamic diagram display method and device
CN108090157B (en) A kind of hot news method for digging, device and server
CN106384292A (en) System and method for collecting relation among social network users
CN106161516A (en) For storing the method for data, device and system
CN106027303B (en) A kind of reference characteristic-acquisition method and its equipment
CN104391898A (en) Data showing method and device
CN110851868A (en) Position representative element generation method for track data release
CN106130880A (en) The gathering method of network mail data and system
CN106169974A (en) The gathering method of local mail data and system
CN110275893A (en) A kind of data manipulation method and device
CN105159563B (en) Terminal device and its control method
CN105243188B (en) A kind of intelligent substation monitoring information amount auto-screening method
CN108134842A (en) System, the method that a kind of cloud host is migrated according to load strategy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170417

Address after: 510600 Plum Blossom Road, Guangzhou, Guangdong, No. 75, No.

Applicant after: GUANGDONG STATE GRID CO., LTD.

Applicant after: Nanjing Nari Co., Ltd.

Applicant after: State Grid Electric Power Research Insititute

Address before: 510600 Plum Blossom Road, Guangzhou, Guangdong, No. 75, No.

Applicant before: GUANGDONG STATE GRID CO., LTD.

Applicant before: Nanjing Nari Co., Ltd.

Applicant before: NANJING NARI INFORMATION COMMUNICATION SCIENCE & TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant