Skip to content

Commit

Permalink
Merge pull request #141 from gongdaxia/dev
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
mingzhenliu authored Dec 25, 2019
2 parents 47b975f + d123166 commit 1ad540f
Show file tree
Hide file tree
Showing 49 changed files with 155 additions and 206 deletions.
3 changes: 1 addition & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}</style></head><body><body><div id=app style="height: 100% !important;"></div><script type=text/javascript src=./static/js/0.e6f6c4eef8f46e99bd0a.js></script><script type=text/javascript src=./static/js/3.0bfe8c760b770e19ca7c.js></script><script type=text/javascript src=./static/js/runtime.3b3ce3a07b1ffbe27563.js></script><script type=text/javascript src=./static/js/5.a3fd349a55a77c83539a.js></script></body><script src=./static/js/web3.min.js type=text/javascript></script><script>if (self == top) {

}</style></head><body><body><div id=app style="height: 100% !important;"></div><script type=text/javascript src=./static/js/0.6e6049111196c0ec0fc4.js></script><script type=text/javascript src=./static/js/3.690100aa4d0cf7a99ff0.js></script><script type=text/javascript src=./static/js/runtime.3b3ce3a07b1ffbe27563.js></script><script type=text/javascript src=./static/js/5.a3fd349a55a77c83539a.js></script></body><script src=./static/js/web3.min.js type=text/javascript></script><script>if (self == top) {
var antiClickjack = document.getElementById("antiClickjack");
antiClickjack.parentNode.removeChild(antiClickjack);
} else {
Expand Down
53 changes: 0 additions & 53 deletions dist/static/js/0.465a5817238a165bef22.js

This file was deleted.

53 changes: 53 additions & 0 deletions dist/static/js/0.6e6049111196c0ec0fc4.js

Large diffs are not rendered by default.

53 changes: 0 additions & 53 deletions dist/static/js/0.e6f6c4eef8f46e99bd0a.js

This file was deleted.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion dist/static/js/3.0bfe8c760b770e19ca7c.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/static/js/3.541d9571b914c9a2b006.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/static/js/3.690100aa4d0cf7a99ff0.js

Large diffs are not rendered by default.

File renamed without changes.
51 changes: 0 additions & 51 deletions dist/static/js/5.19a6f88148f8266d07b4.js

This file was deleted.

51 changes: 51 additions & 0 deletions dist/static/js/5.a3fd349a55a77c83539a.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/static/js/6.312279e4a1e186dc40e9.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/static/js/6.c2382be11c4754a725a0.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions dist/static/js/runtime.3b3ce3a07b1ffbe27563.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/static/js/runtime.84bc8915eb5048723ed0.js

This file was deleted.

36 changes: 18 additions & 18 deletions src/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default {
hash: "Normal"
},
inputText: {
user: "Please User",
password: "Please Password",
user: "Please enter User",
password: "Please enter Password",
verificationCode: "Verification Code",
blockInput: "Search by Block / Txn Hash",
contractSearch: "Please enter the contract name or address",
Expand Down Expand Up @@ -155,7 +155,7 @@ export default {
agency: "Agency",
modifyTime: "Modify Time",
nodeStyle: "Node Type",
operation: "Action",
operation: "Actions",
sealer: "Sealer",
observer: "Observer",
remove: "Remove",
Expand Down Expand Up @@ -196,28 +196,28 @@ export default {
conmileNameError: "Contract name and file name should be consistent!",
deploySuccess: "< Deployment Success!",
contractDeploySuccess: "Contract deployed successfully!",
contractName: "Contract Name",
contractName: "Name",
filePath: "File Path",
folderName: "Folder Name",
folderSameFail: "The new folder has the same name as the existing folder",
user: "User",
params: "Params",
paramsInfo: "If the parameter type is an array, separate it with commas, without quotation marks, for example: arry1, arry2. Other types, such as string, do not need to be quoted.",
contractAddress: "Contract Address",
contractAddress: "Address",
method: "Method",
contractAddressInput: "Please enter the contract address",
contractAddressInfo: "Optional item,import deployed contract addresses.",
selectUser: "Please Select Users",
methodType: "Method Type",
methodName: "Method Name",
contractCatalogue: "Contract Catalogue",
contractCatalogue: "Location",
copyContractAddress: "Copy Contract Address",
contractAbi: "contract Abi",
contractBin: "contract Bin",
contractAbi: "Abi",
contractBin: "Bin",
copyContractAbi: "Copy Contract Abi",
copyContractBin: "Copy Contract Bin",
abiInfo: "ABI Details",
contractVersion: "Contract Version",
contractVersion: "Version",
adminUser: 'User Account',
createTable: "Create Table",
insertTable: "Insert Table Record",
Expand All @@ -240,23 +240,23 @@ export default {
description: "Description",
userAddress: "Address",
userStatus: "Status",
inputDescription: "Please enter user description",
inputDescription: "Please enter User Description",
updateUserSuccess: "User modified successfully",
normal: "Normal",
disable: "Disable",
privateKeyUser: "Private key user",
publicKeyUser: "Public key user",
publicKeyInfo: "Public key information",
inputUserName: "Please enter user name",
inputUserName: "Please enter User Name",
inputPublicInfo: "Please enter public key information or public key address.",
userLong: "Within 120 characters",
inputPublic: "Please enter public key information",
addUserSuccess: "User added successfully!",
addUserFail: "Failed to add user!"
},
system: {
chainManager: "Chain management permission",
addChainManager: "Add chain management permission",
chainManager: "Chain Management Permission",
addChainManager: "Add Chain Management Permission",
copyAddress: "Copy Address",
commonManager: "General Management Permission",
chainAdministrator: "Chain Administrator",
Expand All @@ -270,8 +270,8 @@ export default {
node: "Node",
confirmPermission: "When adding the first administrator permission, the administrator will start the permission. Please confirm whether the account is correct. Misoperation may cause the service to be unavailable.",
dialogTips: "Tips: public key users cannot authorize other users",
outUserAddress: "Address of external account",
inputUser: "Please enter your account number",
outUserAddress: "User Address",
inputUser: "Please enter your Account Name",
authorizedSuccess: "Authorized Success",
deleteSuccess: "Delete Successful",
configContent1: "It is not recommended to modify tx_count_limit and tx_gas_limit arbitrarily. These parameters can be modified as follows.",
Expand Down Expand Up @@ -306,7 +306,7 @@ export default {
deleteAccount: "Delete Account",
updataAccount: "Modify Account",
email: "Email",
inputEmail: "Please enter email",
inputEmail: "Please enter Email",
emailTypeError: "E-mail format is incorrect"
},
transaction: {
Expand Down Expand Up @@ -366,7 +366,7 @@ export default {
selectDate: "Please select display date and time"
},
alarm: {
alarmCofig: "System Metric",
alarmCofig: "System Metrics",
emailAlarmConfig: "Alarm Config",
emailAlarmConfigYips: "System configuration management instructions: The system configuration can configure system property values (currently supports the setting of tx_count_limit and tx_gas_limit properties).",
agreementType: "Protocol",
Expand Down Expand Up @@ -400,7 +400,7 @@ export default {
alarmEmailTile: "Tiltle",
emailContent: "Template",
sendTime: "Interval",
operation: "Action",
operation: "Actions",
update: "Update",
disable: "Disable",
enable: "enable",
Expand Down
4 changes: 4 additions & 0 deletions src/views/account/accountInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ export default {
enName: "roleNameZh",
name: this.$t('account.roleNameZh')
},
{
enName: "email",
name: this.$t("account.email")
},
{
enName: "operate",
name: this.$t('nodes.operation')
Expand Down
2 changes: 1 addition & 1 deletion src/views/alarm/dialog/emailAlarmDetail.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<el-dialog :title="$t('alarm.emailAlarmDetail')" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<el-dialog :title="$t('alarm.emailAlarmDetail')" :visible.sync="dialogVisible" width="600px" :before-close="handleClose" :center="true">
<div>
<el-form ref="alarmForm" label-width="130px" class="demo-ruleForm">
<el-form-item :label="$t('alarm.alarmEmailTile')" prop="ruleName">
Expand Down
4 changes: 2 additions & 2 deletions src/views/alarm/dialog/emailAlarmTypeDetail.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<el-dialog :title="$t('alarm.alarmCofig')" :visible.sync="dialogVisible" width="600px" :before-close="handleClose">
<el-dialog :title="$t('alarm.alarmCofig')" :visible.sync="dialogVisible" width="500px" :before-close="handleClose" :center="true">
<div>
<el-form :model="alarmForm" :rules="rules" ref="alarmForm" label-width="120px" class="demo-ruleForm">
<el-form-item :label="$t('alarm.alarmEmailTile')" prop="ruleName">
Expand Down Expand Up @@ -35,7 +35,7 @@
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<div class="text-right sure-btn" style="margin-top:10px">
<el-button @click="handleClose">{{$t('alarm.cancel')}}</el-button>
<el-button type="primary" @click="submitForm('alarmForm')">{{$t('alarm.sure')}}</el-button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/chaincode/dialog/addFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<div class="text-right sure-btn" style="margin-top:10px">
<el-button @click="modelClose">{{this.$t("text.cancel")}}</el-button>
<el-button type="primary" @click="submit('fileFrom')">{{this.$t("text.sure")}}</el-button>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/views/chaincode/dialog/addFolder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<div>
<el-dialog :title="$t('contracts.createFolder')" :visible.sync="dialogVisible" :before-close="modelClose" class="dialog-wrapper" width="433px" :center="true">
<div>
<el-form :model="folderFrom" :rules="rules" ref="folderFrom" label-width="100px" class="demo-ruleForm">
<el-form :model="folderFrom" :rules="rules" ref="folderFrom" label-width="110px" class="demo-ruleForm">
<el-form-item :label="$t('contracts.folderName')" prop="folderName" style="width:330px">
<el-input v-model="folderFrom.folderName" @keyup.enter.native="handleFolder"></el-input>
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<div class="text-right sure-btn" style="margin-top:10px">
<el-button @click="modelClose">{{this.$t("text.cancel")}}</el-button>
<el-button type="primary" @click="submit('folderFrom')">{{this.$t("text.sure")}}</el-button>
</div>
Expand Down
10 changes: 5 additions & 5 deletions src/views/configManagement/components/systemConfig.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<template>
<div>
<el-form :model="modifyForm" :rules="rules" ref="modifyForm" label-width="146px" class="demo-ruleForm">
<el-form-item :label="$t('system.configKey')" style="width: 320px;">
<el-form :model="modifyForm" :rules="rules" ref="modifyForm" label-width="90px" class="demo-ruleForm">
<el-form-item :label="$t('system.configKey')">
<span>{{configKey}}</span>
</el-form-item>
<el-form-item :label="$t('nodes.admin')" prop="adminRivateKey" style="width: 320px;">
<el-select v-model="modifyForm.adminRivateKey" :placeholder="$t('text.select')">
<el-form-item :label="$t('nodes.admin')" prop="adminRivateKey">
<el-select v-model="modifyForm.adminRivateKey" :placeholder="$t('text.select')" style="width: 245px;">
<el-option v-for="item in adminRivateKeyList" :key="item.address" :label="item.userName" :value="item.address">
<span>{{item.userName}}</span>
<span class="font-12">{{item.address | splitString}}...</span>
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('system.configValue')" prop="configValue" style="width: 320px;">
<el-form-item :label="$t('system.configValue')" prop="configValue">
<el-input v-model.number="modifyForm.configValue" :placeholder="configKey ==='tx_gas_limit'? $t('system.gasLong') : ''"></el-input>
</el-form-item>
</el-form>
Expand Down
2 changes: 1 addition & 1 deletion src/views/index/dialog/setFront.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</el-form-item>
</el-form>
</div>
<div slot="footer" class="dialog-footer">
<div class="text-right sure-btn" style="margin-top:10px">
<el-button v-if='closeVisible' @click="modelClose">{{this.$t("text.cancel")}}</el-button>
<el-button type="primary" :loading="loading" @click="submit('frontFrom')">{{this.$t("text.sure")}}</el-button>
</div>
Expand Down
Loading

0 comments on commit 1ad540f

Please sign in to comment.