Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DuibaTestToolV2.1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵然
DuibaTestToolV2.1
Commits
07a27783
Commit
07a27783
authored
Dec 06, 2018
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
f63c7699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
Hbase.html
webapp/Hbase.html
+10
-2
No files found.
webapp/Hbase.html
View file @
07a27783
...
...
@@ -75,8 +75,16 @@ $(document).ready(function(){
var
value
=
$
(
"#value_v"
).
val
();
$
.
post
(
"doHbase"
,
{
"select"
:
select
,
"reverse"
:
reverse
,
"key"
:
key
,
"value"
:
value
},
function
(
data
,
status
){
$
(
"#result"
).
val
(
data
.
message
);
var
result
=
JSON
.
stringify
(
JSON
.
parse
(
data
.
message
),
null
,
2
);
//将字符串转换成json对象
$
(
"#result"
).
val
(
result
);
});
// var text = document.getElementById('result').innerText; //获取json格式内容
//
// var result = JSON.stringify(JSON.parse(text), null, 2);//将字符串转换成json对象
//
// document.getElementById('result').innerText= result ;
});
...
...
@@ -286,7 +294,7 @@ $(document).ready(function(){
<div
class=
"mws-form-row"
>
<label>
处理结果
</label>
<div
class=
"mws-form-item large"
>
<textarea
class=
"warning"
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result"
style=
"background-color:#ccc"
>
{"success":false}
</textarea>
<textarea
class=
"warning"
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result"
style=
"background-color:#ccc"
></textarea>
</div>
</div>
<div
class=
"mws-button-row"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment