Browse Source

modify

master
slj 3 years ago
parent
commit
f33a03fda1
  1. 84
      pages/topics/reportDemand/index.js

84
pages/topics/reportDemand/index.js

@ -314,48 +314,48 @@ Page({
name: this.data.username name: this.data.username
} }
console.log('报需求-->',data) console.log('报需求-->',data)
// topicModel.addTalents(data, res => { topicModel.addTalents(data, res => {
// const id = res.result; const id = res.result;
// if (res.code === 200) { if (res.code === 200) {
// this.setData({ this.setData({
// messageDetail: '', messageDetail: '',
// streetID: '', streetID: '',
// typeCode: '', typeCode: '',
// files: [], files: [],
// }, () => { }, () => {
// wx.showModal({ wx.showModal({
// title: '提交成功', title: '提交成功',
// content: '问题已收到!', content: '问题已收到!',
// cancelText: '知道了', cancelText: '知道了',
// confirmText: '查看进度', confirmText: '查看进度',
// success(res) { success(res) {
// if (res.confirm) { if (res.confirm) {
// wx.redirectTo({ wx.redirectTo({
// url: '/pages/user/myWhistle/whistleDetail/index?id=' + id, url: '/pages/user/myWhistle/whistleDetail/index?id=' + id,
// }) })
// } else if (res.cancel) { // 点击知道了 } else if (res.cancel) { // 点击知道了
// if (th.properties.type == '') { if (th.properties.type == '') {
// setTimeout(function () { setTimeout(function () {
// th.setData({ th.setData({
// textareaValue: '' textareaValue: ''
// }) })
// }, 500); }, 500);
// } else { } else {
// console.log(1212); console.log(1212);
// wx.navigateBack({ wx.navigateBack({
// delta: 1 delta: 1
// }) })
// } }
// } }
// } }
// }) })
// }) })
// } }
// }) })
// this.setData({ this.setData({
// streetsIndex: 0, streetsIndex: 0,
// typeListIndex: 0, typeListIndex: 0,
// }) })
}, },
company: function (e) { company: function (e) {
var company = e.detail.value; var company = e.detail.value;

Loading…
Cancel
Save