forked from huge/frontEnd/hugeOA

Mr Ke
2020-06-01 3410959e2feaf93734b4ae90f045593e3467ab9a
修复userId参数错误问题
2 files modified
6 ■■■■ changed files
src/api/httpurl.js 4 ●●●● patch | view | raw | blame | history
src/components/oa/merits/meritsDetail/index.jsx 2 ●●● patch | view | raw | blame | history
src/api/httpurl.js
@@ -1,6 +1,6 @@
//内网测试地址
let StagingUrl = 'http://192.168.3.12:9072';
// let StagingUrl = "http://120.79.193.119:9072";
// let StagingUrl = 'http://192.168.3.12:9072';
let StagingUrl = "http://120.79.193.119:9072";
// let StagingUrl = "http://120.79.193.119:9075";
//mock地址
src/components/oa/merits/meritsDetail/index.jsx
@@ -175,7 +175,7 @@
      url: `api/merits/assess/findMeritsDetail`,
      formData: {
        ...formData,
        userId: this.props.match.params.userId || JSON.parse(window.localStorage.getItem('loginUser'))
        userId: this.props.match.params.userId || JSON.parse(window.localStorage.getItem('loginUser')).userId
      },
      key: formData.__key,
      columns: this.renderColumns(),