Commit bd6212b0 by fukai

Merge branch 'blcMergeFromBohai' of http://114.115.138.98:8900/fukai/swifteditor…

Merge branch 'blcMergeFromBohai' of http://114.115.138.98:8900/fukai/swifteditor into blcMergeFromBohai
parents 8aa3ab8f 21b855c2
...@@ -8,7 +8,7 @@ import { Link } from 'react-router' ...@@ -8,7 +8,7 @@ import { Link } from 'react-router'
import * as menu from '../../store/modules/menu/menu_action' import * as menu from '../../store/modules/menu/menu_action'
import logo from './logo.png' // import logo from './logo.png'
const SubMenu = Menu.SubMenu; const SubMenu = Menu.SubMenu;
const MenuItemGroup = Menu.ItemGroup; const MenuItemGroup = Menu.ItemGroup;
......
...@@ -9,8 +9,8 @@ import { logout } from '../../store/modules/user/user_action'; ...@@ -9,8 +9,8 @@ import { logout } from '../../store/modules/user/user_action';
// import * as Util from '../../util'; // import * as Util from '../../util';
import logo from './logo.jpg' // import logo from './logo.jpg'
import touxiang from './touxiang.jpg' // import touxiang from './touxiang.jpg'
const SubMenu = Menu.SubMenu const SubMenu = Menu.SubMenu
...@@ -94,9 +94,14 @@ class Sidebar extends React.Component { ...@@ -94,9 +94,14 @@ class Sidebar extends React.Component {
return ( return (
<aside className={styles["ant-layout-sider"]}> <aside className={styles["ant-layout-sider"]}>
<div className={styles["ant-layout-logo"]}><img src={logo} /><span className={styles["nav-text"]}>xxxx后台</span></div> <div className={styles["ant-layout-logo"]}>
{/* <img src={logo} /> */}
<span className={styles["nav-text"]}>xxxx后台</span>
</div>
<div className={styles["ant-layout-portrait"]} style={{ marginBottom: '10px' }}> <div className={styles["ant-layout-portrait"]} style={{ marginBottom: '10px' }}>
<div className={styles["nav-portrait"]}><img src={touxiang} /></div> <div className={styles["nav-portrait"]}>
{/* <img src={touxiang} /> */}
</div>
<div className={styles["nav-portrait-name"]}>admin</div> <div className={styles["nav-portrait-name"]}>admin</div>
</div> </div>
<Menu mode="inline" theme="dark" onClick={this.onClick.bind(this) }> <Menu mode="inline" theme="dark" onClick={this.onClick.bind(this) }>
......
...@@ -16,7 +16,7 @@ function mt700({Tags}){ ...@@ -16,7 +16,7 @@ function mt700({Tags}){
count+=itemValue[1].replace(/[\r\n]{1,2}/g,'').length count+=itemValue[1].replace(/[\r\n]{1,2}/g,'').length
}); });
if(count > 63400) if(count > 63400)
return `45A,46A,47A,49G,49H总长度不得超过63400个字符` return `45A,46A,47A,49G,49H The total length shall not exceed 63400 characters`
} }
function mt707({Tags}){ function mt707({Tags}){
...@@ -29,7 +29,7 @@ function mt707({Tags}){ ...@@ -29,7 +29,7 @@ function mt707({Tags}){
count+=itemValue[1].replace(/[\r\n]{1,2}/g,'').length count+=itemValue[1].replace(/[\r\n]{1,2}/g,'').length
}); });
if(count > 63400) if(count > 63400)
return `45B,46B,47B,49M,49N总长度不得超过63400个字符` return `45B,46B,47B,49M,49N The total length shall not exceed 63400 characters`
} }
const FUNC_SET={mt700,mt707} const FUNC_SET={mt700,mt707}
\ No newline at end of file
...@@ -82,7 +82,7 @@ export function TagV(tag,status,value,tno,mty,seqlist,countMap={}) ...@@ -82,7 +82,7 @@ export function TagV(tag,status,value,tno,mty,seqlist,countMap={})
if(!val && (tag=='T11R' || tag=='T11S') && (key=='s3' || key=='s4') ) if(!val && (tag=='T11R' || tag=='T11S') && (key=='s3' || key=='s4') )
{ {
if(obj.s3||obj.s4) if(obj.s3||obj.s4)
errmsg[key]="Session Number 、ISN必须同时填写" errmsg[key]="Session Number 、ISN Must be filled in at the same time"
} }
continue continue
...@@ -321,7 +321,7 @@ function TestAdr(adr,reg,line,length) ...@@ -321,7 +321,7 @@ function TestAdr(adr,reg,line,length)
} }
let linemsg = '' let linemsg = ''
if(arr.length > line) if(arr.length > line)
linemsg = `最多${line}` linemsg = `Up to ${line} lines`
let msg = [] let msg = []
if(a1.length) if(a1.length)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment