Home > database >  Pb development front-end software login interface modification
Pb development front-end software login interface modification

Time:10-10

Now have a PB front-end software login interface modification task,
It's a pity that I am the elder brother of the early, what all don't understand the
Requirement is that
Trigger software login screen pop up read input id card or id card number,
Check the corresponding SQL database table column id match line according to the records staff login and read related login information
What specific steps
thank you

CodePudding user response:

In fact you this is a login id verification procedures, the default is to brush id no log in, if there is no id card is under the condition of open interface manually enter login id and password (to prevent me to use login id), then the login information to a log, and then into the function of the system and obtain the user permissions given proper function interface,

CodePudding user response:

1. The scene is not clear;
A. user id is the id + password read permissions table loaded permissions?
B. have load and password from the user permissions, id just as the initial function interface data query?
2. Such a simple question, it is better to baidu first;

CodePudding user response:

* 1, open the login page
* 2, the user to enter the ID number/ID card reader read automatically, and then read the ID on the page of input box inside
* 3, click the login button, enter the id number to the inside of the database user table or permissions list, verify whether to allow login, obtain the corresponding system permissions
* 4, in line with the conditions, logging, enter the system; Do not conform to the conditions, from the system

CodePudding user response:

Starting from the log in button
1. The id will be written to a global variable sfzid;
2. Take the users table filter sfzid column, exist? Exist, continue, there is no messagebox error, stay on the login page;
3. The presence of the user read access tables, loaded into the permissions a variable's value to the main interface, if there are a lot of functions, the loading interface disable when there will be no value function variables;
4. Each need id management dimension table has a sfzid columns, load function to query, add/modify sfzid written for the record;
  • Related