forked from huge/frontEnd/hugeOA

Mr Ke
2020-06-24 cb0a06de99bd629c2021e3d9b32fe8eae8c54879
文本回填
3 files modified
11 ■■■■ changed files
src/api/httpurl.js 4 ●●●● patch | view | raw | blame | history
src/components/oa/merits/meritsDetail/index.jsx 5 ●●●●● patch | view | raw | blame | history
src/menu/menu.oa.js 2 ●●● patch | view | raw | blame | history
src/api/httpurl.js
@@ -1,7 +1,7 @@
//内网测试地址
// let StagingUrl = 'http://192.168.3.12:9072';
let StagingUrl = "http://localhost:9072";
// let StagingUrl = "http://120.79.193.119:9075";
// let StagingUrl = "http://localhost:9072";
let StagingUrl = "http://120.79.193.119:9072";
//mock地址
let MockUrl = 'http://localhost:3721/';
src/components/oa/merits/meritsDetail/index.jsx
@@ -132,8 +132,9 @@
      this.props.match.params.boolean == 'true'?
      { 
        title: '评分意见', dataIndex: 'meritsContent', width: '13%', render: (cur, item, index) => {
          return <TextArea autoSize={{ minRows: 3, maxRows: 10 }} value={cur} onChange={(value) => {
              item['meritsContent'] = value.targrt.value;
            return <TextArea autoSize={{ minRows: 3, maxRows: 10 }} value={cur} onChange={({ target: { value } }) => {
              console.log('value', value);
              item['meritsContent'] = value;
              this.refs['table-view'].onSetDataSource({ index, data: item })
            }} />
        }
src/menu/menu.oa.js
@@ -3,7 +3,7 @@
 * key, path需要保持唯一
 * permKey表示权限Key值
 */
const menus = [
const menus = [-
  {
    key: '/',
    name: '首页',