*
lsh
1 天以前 bb6bc1f4030cf813e128f021ccecd42420f35628
*
1个文件已修改
18 ■■■■■ 已修改文件
src/main/webapp/views/index.html 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/index.html
@@ -454,6 +454,22 @@
                    }, 1000)
                },
                verifyPassword(callback) {
                    this.$prompt('请输入管理员密码', '验证', {
                        confirmButtonText: '确定',
                        cancelButtonText: '取消',
                        inputType: 'password',
                        inputPattern: /^root$/,
                        inputErrorMessage: '密码错误'
                    }).then(({ value }) => {
                        if (value === 'root') {
                            callback();
                        }
                    }).catch(() => {
                        this.$message.info('已取消操作');
                    });
                },
                handleChange(val) {
                    console.log(val);
                    if (val.length === 0){
@@ -586,6 +602,7 @@
                },
                upDateValueSystem(){
                    let that = this;
                    this.verifyPassword(() => {
                    let operatorTypeI = 0;
                    if (that.valueSystem){
                        operatorTypeI = 1;
@@ -601,6 +618,7 @@
                            }
                        }
                    });
                    });
                },
                getTableDataLeft() {
                    let that = this;