浏览代码

需求完成,修改

lyn7568 6 年之前
父节点
当前提交
bca1a9f231

+ 1 - 1
src/libs/axios.js

34
    }
34
    }
35
    if (!taR.success && taR.code === 1) {
35
    if (!taR.success && taR.code === 1) {
36
      store.dispatch('FedLogOut').then(() => {
36
      store.dispatch('FedLogOut').then(() => {
37
        Message.error('登录状态失效,请重新登录')
37
        location.reload()
38
      })
38
      })
39
    }
39
    }
40
    return taR
40
    return taR

+ 1 - 1
src/pages/center/views/myDemands/index.vue

127
          })
127
          })
128
        } else {
128
        } else {
129
          that.$axios.get('/ajax/demand/pq', {
129
          that.$axios.get('/ajax/demand/pq', {
130
            invalidDay: nav.wtype === 1 ? that.curTime : '',
130
            invalidDay: nav.wtype === '1' ? that.curTime : '',
131
            order: nav.order,
131
            order: nav.order,
132
            state: nav.wtype,
132
            state: nav.wtype,
133
            actived: 1,
133
            actived: 1,

+ 11 - 13
src/pages/demand/completeOperate.vue

105
              if (res.success) {
105
              if (res.success) {
106
                that.showStep = false
106
                that.showStep = false
107
                that.$parent.cooperateExpert()
107
                that.$parent.cooperateExpert()
108
                that.$parent.getdemandInfo()
108
              }
109
              }
109
            })
110
            })
110
          } else {
111
          } else {
120
        this.$refs['formTwo'].validate((valid) => {
121
        this.$refs['formTwo'].validate((valid) => {
121
          if (valid) {
122
          if (valid) {
122
            that.stepTwoLoading = true
123
            that.stepTwoLoading = true
123
            setTimeout(function() {
124
            that.$axios.post('/ajax/feedback', {
125
              target: that.demandId,
126
              type: 1,
127
              cnt: that.formTwo.textval
128
            }, function(res) {
124
              that.stepTwoLoading = false
129
              that.stepTwoLoading = false
125
              that.showStep = false
126
            }, 1000)
127
            // this.$http.post(addTask, {
128
            //   dataNum: that.dataBh,
129
            //   taskType: '1'
130
            // }, function(res) {
131
            //   that.stepOneLoading = false
132
            //   if (res.success) {
133
            //     console.log(res)
134
            //     that.$parent.getdemandInfo()
135
            //   }
136
            // })
130
              if (res.success) {
131
                that.showStep = false
132
                that.operDialogVisible = false
133
              }
134
            })
137
          } else {
135
          } else {
138
            return false;
136
            return false;
139
          }
137
          }

+ 2 - 2
src/pages/demand/show.vue

44
              <div class="con-item" v-for="item in cooperateExperts" :key="item.index">
44
              <div class="con-item" v-for="item in cooperateExperts" :key="item.index">
45
                <baseExpert v-if="item.owner" :itemSingle="item.owner"></baseExpert>
45
                <baseExpert v-if="item.owner" :itemSingle="item.owner"></baseExpert>
46
                <div class="dele">
46
                <div class="dele">
47
                  <contactChat :cantactOptions="{pid: item.uid}"></contactChat>
47
                  <contactChat :contactOptions="{oid: item.uid}"></contactChat>
48
                  <collectCo :watchOptions="{oid: item.uid, type: 1}"></collectCo>
48
                  <collectCo :watchOptions="{oid: item.uid, type: 1}"></collectCo>
49
                </div>
49
                </div>
50
              </div>
50
              </div>
56
                <div class="con-item" v-for="item in demandButtExperts" :key="item.index">
56
                <div class="con-item" v-for="item in demandButtExperts" :key="item.index">
57
                  <baseExpert v-if="item.owner" :itemSingle="item.owner"></baseExpert>
57
                  <baseExpert v-if="item.owner" :itemSingle="item.owner"></baseExpert>
58
                  <div class="dele">
58
                  <div class="dele">
59
                    <contactChat :cantactOptions="{pid: item.uid}"></contactChat>
59
                    <contactChat :contactOptions="{oid: item.uid}"></contactChat>
60
                    <collectCo :watchOptions="{oid: item.uid, type: 1}"></collectCo>
60
                    <collectCo :watchOptions="{oid: item.uid, type: 1}"></collectCo>
61
                  </div>
61
                  </div>
62
                  <div class="leavemsg">
62
                  <div class="leavemsg">

+ 2 - 2
static/plat-info.js

5
  'title': '邢台科技条件平台',
5
  'title': '邢台科技条件平台',
6
  'name': '邢台经济开发区',
6
  'name': '邢台经济开发区',
7
  'website': 'http://www.xtkfq.gov.cn',
7
  'website': 'http://www.xtkfq.gov.cn',
8
  'adminsite': 'http://www.xtkfq.gov.cn',
8
  'adminsite': 'http://localhost:7072',
9
  'address': '中国河北省邢台市中兴东大街1888号',
9
  'address': '中国河北省邢台市中兴东大街1888号',
10
  'tel': '010-62343359',
10
  'tel': '010-62343359',
11
  'fax': '86-319-3636111',
11
  'fax': '86-319-3636111',
20
    //   'imgUrl': '/static/xtkfq/ad/xtfh.jpg'
20
    //   'imgUrl': '/static/xtkfq/ad/xtfh.jpg'
21
    // }
21
    // }
22
  ],
22
  ],
23
  'foot_cl': '2016-2018 邢台市科智创新服务中心',
23
  'foot_cl': '2016-2019 邢台市科智创新服务中心',
24
  'foot_cn': '冀ICP备18020508号',
24
  'foot_cn': '冀ICP备18020508号',
25
  'foot_bl': '',
25
  'foot_bl': '',
26
  'foot_bn': ''
26
  'foot_bn': ''