lyn7568 6 years ago
parent
commit
d8041aab7d

+ 1 - 1
config/dev.env.js

@ -7,6 +7,6 @@ module.exports = merge(prodEnv, {
7 7
  ENV_CONFIG:'"dev"',
8 8
  PLAT_ID: '"F5DEA8EDB12E421A9FC4B701BB6176A6"',
9 9
  BASE_API: '""',
10
  XT_API: '"http://localhost:7070"',
10
  XT_API: '"http://192.168.3.233:84"',
11 11
  KX_API: '"http://192.168.3.233:81"'
12 12
})

+ 0 - 4
src/router/index.js

@ -174,7 +174,6 @@ export const asyncRouterMap = [
174 174
      name: 'specialExperts',
175 175
      redirect: 'noredirect',
176 176
      // alwaysShow: true,
177
      meta: { title: '特约专家' },
178 177
      children: [
179 178
        {
180 179
          path: 'expertslist',
@ -190,7 +189,6 @@ export const asyncRouterMap = [
190 189
      name: 'cooperationAgency',
191 190
      redirect: 'noredirect',
192 191
      // alwaysShow: true,
193
      meta: { title: '合作机构' },
194 192
      children: [
195 193
        {
196 194
          path: 'agencylist',
@ -212,7 +210,6 @@ export const asyncRouterMap = [
212 210
          component: () => import('@/views/companyCen/noactive/index'),
213 211
          name: 'noactive',
214 212
          redirect: { name: 'noactiveList' },
215
          meta: { title: '未激活企业' },
216 213
          children: [
217 214
            {
218 215
              path: 'noactiveList',
@ -257,7 +254,6 @@ export const asyncRouterMap = [
257 254
      name: 'platinfo',
258 255
      redirect: 'noredirect',
259 256
      // alwaysShow: true,
260
      meta: { title: '平台信息' },
261 257
      children: [
262 258
        {
263 259
          path: 'platUpdate',

+ 1 - 1
src/views/cooperationAgency/agencySort.vue

@ -17,7 +17,7 @@
17 17
          {{form.city}}
18 18
        </el-form-item>
19 19
        <el-form-item :label-width="formLabelWidth" prop="level">
20
          <div class='labelBox'>合作机构平台序号</div></span>
20
          <div class='labelBox'>合作机构平台序号</div>
21 21
          <el-input type="number" v-model.number="form.level" placeholder="最多三位数字" class="conBox" maxlength="3"></el-input>
22 22
        </el-form-item>
23 23
        <el-form-item class="modiaB">

+ 11 - 9
src/views/demandCen/previewExpert.vue

@ -99,15 +99,17 @@
99 99
            var h = 0
100 100
            if (obj.length > 0) {
101 101
              for (let i = 0; i < obj.length; ++i) {
102
                h++
103
                crossDomain.getUserInfo(obj[i].uid, data => {
104
                  h--
105
                  Object.assign(obj[i], data)
106
                })
107
                if (h === 0) {
108
                  that.tableData = obj
109
                  that.total = res.data.total
110
                }
102
                (function(item, h) {
103
                  h++
104
                  crossDomain.getUserInfo(item.uid, data => {
105
                    h--
106
                    Object.assign(item, data)
107
                  })
108
                })(obj[i], h)
109
              }
110
              if (h === 0) {
111
                that.tableData = obj
112
                that.total = res.data.total
111 113
              }
112 114
              comTable.gapFilling(that.tableData)
113 115
            }