diff --git a/admin-web-master/src/components/dajuanTongji/index.vue b/admin-web-master/src/components/dajuanTongji/index.vue index 91940fe..9e5bd09 100644 --- a/admin-web-master/src/components/dajuanTongji/index.vue +++ b/admin-web-master/src/components/dajuanTongji/index.vue @@ -55,7 +55,7 @@ required: true }, index: { - type: Number, + type: String, required: true }, }, @@ -83,254 +83,255 @@ }, mounted() { - // this.initChart() + this.loadQuestionByIndex(this.index) this.tubiao() // this.processData() }, - onload(){ + onload() { }, methods: { - // init(){ - // this.tubiao() - // this.loadQuestionByIndex(this.index) - // }, - initChart() { - // this.dataList = this.tableData.groupKeys - // answer - // countAnswer - // percentage - // questionNumber - var groupkeys = this.tableData.groupKeys; - var groupkeylist = [] - var tiIndex = this.index + 1 - for (var key in groupkeys) { - - if (groupkeys[key] == tiIndex) { - var item = groupkeys[key]; - groupkeylist.push(item); - } - - } - - - - - let info2 = {} - let xzvalue = {...JSON.parse(this.tableData.cereQuestionnaireTable.cereQuestionManagements[this.index].optionSettings)} - var optionlist = [] - - for (var key in xzvalue) { - info2 = { - id: '', - tihao: 0, - title: '', - numci: 0, - baifenbi: 0 - } - info2.id = this.index - info2.tihao = key - info2.title = xzvalue[key] - info2.numci = 0 - info2.baifenbi = 0 - optionlist.push(info2); - - } - - - for (let i = 0; i < groupkeys.length; i++) { - - for (let j = 0; j < optionlist.length; j++) { - if (this.index == groupkeys[i].questionNumber) { - - if (optionlist[j].tihao == groupkeys[i].answer) { - optionlist[j].numci += groupkeys[i].countAnswer - optionlist[j].baifenbi = groupkeys[i].percentage - break - } - } - } - } - - this.tiList = optionlist; - - - // var data = this.tableData.cereQuestionnaireTable.cereQuestionManagements.map((res, index) => { - // // if (typeof res.optionSettings == 'string') { - // // res.optionSettings = JSON.parse(res.optionSettings) - - // // var optionlist = [] - // // for (var key in res.optionSettings){ - - // // optionlist.push({ - // // id: key, - // // title: res.optionSettings[key], - // // answer:groupkeylist.filter(o=>o.questionNumber == key) - // // }); - - // // } - - // return optionlist; - // // if (index == this.index) { - // // this.tiList[this.index] = Object.values(res.optionSettings) - // // } - - // } - - - // }) - - - // this.dataList = this.tableData.cereQuestionnaireTable.cereQuestionManagements - - - + init(data){ + this.tableData = data; + console.log('initdata',data); + this.loadQuestionByIndex(this.index) + this.tubiao() }, loadQuestionByIndex(index) { - var tiIndex = this.index + 1 + var tiIndex = Number(index); const { groupKeys, cereQuestionnaireTable } = this.tableData; - // 查找指定index的问题 - const question = cereQuestionnaireTable.cereQuestionManagements[this.index]; // 索引是从1开始的 - const optionStats = this.initOptionStats(question.optionSettings); - - // 统计选项选择次数 - groupKeys.forEach((group) => { - console.log(group.questionNumber) - if (group.questionNumber == tiIndex) { - const optionId = group.answer; - const countAnswer = group.countAnswer; - - // 如果选项存在,将选择次数累加,并计算百分比 - if (optionStats[optionId]) { - optionStats[optionId].countAnswer += countAnswer; - } else { - optionStats[optionId] = { - countAnswer, - percentage: group.percentage - }; - } - } + var list = []; // 用于存储结果 + + var table = JSON.parse(cereQuestionnaireTable.question); // 解析问卷中的问题数据 + + console.log(JSON.parse(cereQuestionnaireTable.question)); // 打印问题的原始数据 + // 遍历 groupKeys 中的每个条目 + // for (let i = 0; i < groupKeys.length; i++) { + // for (var key in table) { + // if (groupKeys[i].questionNumber == key) { // 匹配 questionNumber + // console.log(table[key]); // 打印当前匹配的问题 + + // // 确保该问题有选项,并且 options 数组不为空 + // if (table[key].options && table[key].options.length != 0) { + // // 遍历每个选项 + // for (let j = 0; j < table[key].options.length; j++) { + // // 如果当前选项索引和 groupKeys[i].answer 匹配 + // if (j + 1 == groupKeys[i].answer) { + // var info1 = {}; // 创建一个新的 info1 对象,避免引用问题 + // info1.title = table[key].options[j].answer; // 选项的答案 + // info1.numci = groupKeys[i].countAnswer; // 统计该选项的回答次数 + // info1.baifenbi = groupKeys[i].percentage; // 该选项的百分比 + // list.push(info1); // 将 info1 添加到 list 数组 + // } + // } + // } + // } + // } + // } + + var list = [{}]; + for (let key in table) { + + var itemdata = {}; + var timu = table[parseInt(key)]; + var option = {}; + // if(timu.type =='文本') continue; + for (let o in timu.options) + { + option[parseInt( o )+ 1] = timu.options[o].answer; + } + // option.push({ + // index: parseInt( o )+ 1, + // answer: timu.options[o].answer + // }); + // itemdata[key] = {tikuTitle:timu.title,optionSettings: JSON.stringify(option)}; + list.push({tikuTitle:timu.title,optionSettings: JSON.stringify(option)}) + // list.push(itemdata) - }); - // 设置为当前选择的问题 - this.selectedQuestion = { - ...question, - optionStats + } + console.log('list',list) + + // var querytabel = Object.keys(table).map((key, index) => { + // const item = table[key]; + + // const optionSettings = item.options.map((acc, index) => { + // index = acc.answer; + // return acc; + // }, {}); + // const score = item.options.reduce((acc, option) => { + // acc[option.score] = option.score; + // return acc; + // }, {}); + + + + + // return { + // id: (index + 1).toString(), + // questionType: item.type, + // questionBank: index === 0 ? "用户端题库" : "公共端题库", + // isRequired: item.required, + // questionDescription: "", + // optionSettings: JSON.stringify(optionSettings), + // tikuTitle: item.title, + // createDate: new Date().toISOString().slice(0, 19).replace("T", " "), + // createUser: "", + // questionCode: "", + // score: JSON.stringify(score), + // pageSize: 0, + // pageNumber: 0 + // }; + // }); + + // const filteredQueryTable = Object.values(querytabel); + // 假设 this.index 是从1开始的序号 + const arrayIndex = Number(this.index); // 将序号转换为数组索引 + + const question = list[arrayIndex]; // 索引是从1开始的 + + const optionStats = this.initOptionStats(question.optionSettings); + + // 统计选项选择次数 + groupKeys.forEach((group) => { + + if (group.questionNumber == tiIndex) { + const optionId = group.answer; + const countAnswer = group.countAnswer; + + // 如果选项存在,将选择次数累加,并计算百分比 + if (optionStats[optionId]) { + optionStats[optionId].countAnswer += countAnswer; + } else { + optionStats[optionId] = { + countAnswer, + percentage: group.percentage + }; + } } - const optionlist = [] - this.selectedQuestion.optionStats - for (var key in this.selectedQuestion.optionStats) { - const info2 = { - tihao: 0, - title: '', - numci: 0, - baifenbi: 0 - } + }); - const optionSettings ={...JSON.parse(this.selectedQuestion.optionSettings)} - info2.tihao = key - info2.title = optionSettings[key] - info2.numci = this.selectedQuestion.optionStats[key] + // 设置为当前选择的问题 + this.selectedQuestion = { + ...question, + optionStats + } - optionlist.push(info2); + const optionlist = [] + // this.selectedQuestion.optionStats + for (var key in this.selectedQuestion.optionStats) { + const info2 = { + tihao: 0, + title: '', + numci: 0, + baifenbi: 0 } + const optionSettings = { + ...JSON.parse(this.selectedQuestion.optionSettings) + } + info2.tihao = key + info2.title = optionSettings[key] + info2.numci = this.selectedQuestion.optionStats[key] + console.log(this.selectedQuestion.optionStats[key], info2) + optionlist.push(info2); - this.tiList =[]; - this.tiList = optionlist - - }, - // 初始化选项统计,确保每个选项都有统计数据 - initOptionStats(optionSettings) { + } - const options = JSON.parse(optionSettings); // 解析 JSON 字符串 + this.tiList = []; + this.tiList = optionlist - const optionStats = {}; - for (const key in options) { - optionStats[key] = 0; // 初始值为0 - } + }, + // 初始化选项统计,确保每个选项都有统计数据 + initOptionStats(optionSettings) { + console.log('1111111111111111111', optionSettings) + const options = JSON.parse(optionSettings); // 解析 JSON 字符串 + + const optionStats = {}; + for (const key in options) { + optionStats[key] = 0; // 初始值为0 + } - return optionStats; + return optionStats; - }, + }, - // 根据选项ID获取选项描述 - getOptionDescription(optionId) { - const optionSettings = JSON.parse(this.selectedQuestion.optionSettings); - return optionSettings[optionId] || "无描述"; // 如果没有描述,返回"无描述" - }, + // 根据选项ID获取选项描述 + getOptionDescription(optionId) { + const optionSettings = JSON.parse(this.selectedQuestion.optionSettings); + return optionSettings[optionId] || "无描述"; // 如果没有描述,返回"无描述" + }, - tubiao() { - const res = this.tiList.map(function(item) { - return { - name: item.title, - value: item.numci.countAnswer || 0 ///// - } - }) - const option = { - tooltip: { - trigger: 'item' + tubiao() { + const res = this.tiList.map(function(item) { + return { + name: item.title, + value: item.numci.countAnswer || 0 ///// + } + }) + const option = { + tooltip: { + trigger: 'item' + }, + legend: { + // bottom: '30', + // left: 'center', + x: 'right', // 可设定图例在左、右、居中 + y: 'bottom', // 可设定图例在上、下、居中 + left: 'center' + }, + series: [{ + type: 'pie', + radius: ['40%', '70%'], + avoidLabelOverlap: false, + itemStyle: { + borderRadius: 10, + borderColor: '#fff', + borderWidth: 2 }, - legend: { - // bottom: '30', - // left: 'center', - x: 'right', // 可设定图例在左、右、居中 - y: 'bottom', // 可设定图例在上、下、居中 - left: 'center' + label: { + show: false, + position: 'center', + }, - series: [{ - type: 'pie', - radius: ['40%', '70%'], - avoidLabelOverlap: false, - itemStyle: { - borderRadius: 10, - borderColor: '#fff', - borderWidth: 2 - }, + emphasis: { label: { - show: false, - position: 'center', - - }, - emphasis: { - label: { - show: true, - fontSize: 20, - fontWeight: 'bold' - } - }, - labelLine: { - show: false - }, - color: ['#3f9b6a', 'rgb(61,182,211)', 'rgb(126, 211, 146)', 'rgb(200, 40, 211)', 'rgb(171, 184, 211)', - 'rgb(211, 169, 150)', 'rgb(185, 211, 16)' - ], - data: res, - }] - } - const chartDom = this.$refs.chart; - const myChart = echarts.init(chartDom); - option && myChart.setOption(option); + show: true, + fontSize: 20, + fontWeight: 'bold' + } + }, + labelLine: { + show: false + }, + color: ['#3f9b6a', 'rgb(61,182,211)', 'rgb(126, 211, 146)', 'rgb(200, 40, 211)', 'rgb(171, 184, 211)', + 'rgb(211, 169, 150)', 'rgb(185, 211, 16)' + ], + data: res, + }] } - }, - beforeDestroy() { - if (this.$refs.chart) { - const myChart = echarts.getInstanceByDom(this.$refs.chart); - if (myChart) { - window.removeEventListener('resize', myChart.resize); - myChart.dispose(); - } + const chartDom = this.$refs.chart; + const myChart = echarts.init(chartDom); + option && myChart.setOption(option); + } + }, + beforeDestroy() { + if (this.$refs.chart) { + const myChart = echarts.getInstanceByDom(this.$refs.chart); + if (myChart) { + window.removeEventListener('resize', myChart.resize); + myChart.dispose(); } } + } }; diff --git a/admin-web-master/src/layout/index.vue b/admin-web-master/src/layout/index.vue index 1737ef0..2e91143 100644 --- a/admin-web-master/src/layout/index.vue +++ b/admin-web-master/src/layout/index.vue @@ -254,12 +254,12 @@ export default { } } return { - // msg:['招商服务系统'], - msg:['招商服务系统','推广策划系统','在线商城系统','支付服务模块','票务'], + msg:['招商服务系统'], + // msg:['招商服务系统','推广策划系统','在线商城系统','支付服务模块','票务'], listMune:[], list:[ - // ['招商问卷调查'], - ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','招商过程管理','招商问卷调查','商户寻租管理','轮播图设置','平台活动','客服配置'], + ['问卷调查'], + // ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','招商过程管理','问卷调查','商户寻租管理','轮播图设置','平台活动','客服配置'], ['品牌策划','活动策划','氛围策划','媒体推广'], ['订单管理','积分管理','消息中心','会员管理','评论管理','商品管理','库存管理','销售统计','平台活动'], ['联机交易'], @@ -636,8 +636,8 @@ this.listMune[0] = All let list5=[] this.listMune = [] this.list=[ - ['招商问卷调查'], - ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','招商过程管理','招商问卷调查','商户寻租管理','轮播图设置','平台活动','客服配置'], + ['问卷调查'], + // ['招商资源监测','商家管理','招商方案管理','招商租赁管理','广告服务','客服服务管理','系统设置','商铺租赁服务','招商过程管理','问卷调查','商户寻租管理','轮播图设置','平台活动','客服配置'], ['品牌策划','活动策划','氛围策划','媒体推广'], ['订单管理',,'积分管理','消息中心','会员管理','评论管理','商品管理','库存管理','销售统计','平台活动'], ['联机交易'], diff --git a/admin-web-master/src/main.js b/admin-web-master/src/main.js index 47de59c..56df78f 100644 --- a/admin-web-master/src/main.js +++ b/admin-web-master/src/main.js @@ -26,7 +26,7 @@ import '@/permission' // permission control */ Vue.prototype.$echarts = echarts Vue.prototype.$API = 'https://jy.scjysm.asia:18086/meserver/api' -// https://jy.scjysm.asia:18086/meserver/api http://172.16.61.126:8080/meserver/api +// https://jy.scjysm.asia:18086 http://172.16.61.126:8080 http://8.130.38.56:8027 // if (process.env.NODE_ENV === 'production') { // const { mockXHR } = require('../mock') // mockXHR() diff --git a/admin-web-master/src/utils/request.js b/admin-web-master/src/utils/request.js index 2f9914d..d0538aa 100644 --- a/admin-web-master/src/utils/request.js +++ b/admin-web-master/src/utils/request.js @@ -12,12 +12,12 @@ import { const host = window.location.host; let PREFIX; if (host == '172.16.61.48' || host == '172.16.61.49 :5173' || host =='172.16.61.123:9003') { - PREFIX = 'https://jy.scjysm.asia:18086/meserver/admin-server'; - // PREFIX = 'http://172.16.61.126:8080/meserver/admin-server'; + // PREFIX = 'https://jy.scjysm.asia:18086/meserver/admin-server'; + PREFIX = 'http://172.16.61.126:8080/meserver/admin-server'; }else if( host == 'localhost:9528' || host == '8.130.38.56:8027' || host == 'localhost:9529'){ // 其他情况的默认值 - // PREFIX = 'http://8.130.38.56:8027/admin-server'; - PREFIX = 'https://jy.scjysm.asia:18086/meserver/admin-server'; + PREFIX = 'http://8.130.38.56:8027/admin-server'; + // PREFIX = 'https://jy.scjysm.asia:18086/meserver/admin-server'; // PREFIX = 'http://172.16.61.126:8080/meserver/admin-server'; }else{ diff --git a/admin-web-master/src/views/customer/icManagement/index.vue b/admin-web-master/src/views/customer/icManagement/index.vue index 11e9f60..7e140a6 100644 --- a/admin-web-master/src/views/customer/icManagement/index.vue +++ b/admin-web-master/src/views/customer/icManagement/index.vue @@ -204,7 +204,7 @@ > - + +
- + - + - +
- - - +
+
- {{secondData.reviewStatus == '1'?'待发布':secondData.reviewStatus == '2'?'待审批':secondData.reviewStatus == '3'?'审核通过':secondData.reviewStatus == '4'?'不通过':''}} + {{secondData.reviewStatus == '1'?'待提交':secondData.reviewStatus == '2'?'待审核':secondData.reviewStatus == '3'?'审核通过':secondData.reviewStatus == '4'?'不通过':''}} diff --git a/admin-web-master/src/views/investigation/index.vue b/admin-web-master/src/views/investigation/index.vue index 516a026..54f6be5 100644 --- a/admin-web-master/src/views/investigation/index.vue +++ b/admin-web-master/src/views/investigation/index.vue @@ -2,7 +2,7 @@
-
招商问卷调查 > 问卷调查 > 问卷管理
@@ -23,11 +23,11 @@ - + - + @@ -74,18 +74,18 @@ - + - + - + - + - + @@ -677,7 +704,7 @@
{{ key }}:{{ value }} @@ -698,7 +725,7 @@ :close-on-click-modal="false" append-to-body @close="quxiao(1)">
- 新增题型 + 新增题目
@@ -732,7 +759,7 @@ - + @@ -844,6 +871,31 @@ + + + 必填 + 不填 + + + + + 必填 + 不填 + + + + + 必填 + 不填 + + + + + + 必填 + 不填 + +
@@ -901,9 +953,9 @@ {{scope.$index + 1}} - + - + @@ -1018,7 +1070,7 @@
{{ key }}:{{ value }} @@ -1039,7 +1091,7 @@ :close-on-click-modal="false" append-to-body @close="quxiao(2)">
- 新增题型 + 新增题目
@@ -1070,7 +1122,7 @@ 非必填 - + @@ -1115,17 +1167,17 @@ - +
-
下架
+
禁用
- - + + @@ -1176,7 +1228,7 @@ - + {{val.answer}} @@ -1223,20 +1275,22 @@
--> -
+
- - + + - + - + - + @@ -1324,9 +1378,13 @@ rewardForParticipation: '不设置奖励', questionId: '', responseStatus: '', - reviewStatus: '1' + reviewStatus: '1', + needName: '必填', + needPhone: '必填', + needGender: '必填', + needOpinion: '必填', }, - Xin_Time: this.getCurrentDateRange(), + Xin_Time: [], plan_Time: [], followUpTime: [], tableData: [], @@ -1370,7 +1428,7 @@ // { index: 1, name: '男', readonly: true }, // { index: 2, name: '女', readonly: true } ], - tikuAdd: false, //新增题型 + tikuAdd: false, //新增题目 tongjiBox: false, //统计 daxiangData: {}, daxiangBox: false, @@ -1812,16 +1870,13 @@ this.secondData.cereQuestionManagements.map((res, index) => { if (typeof res.optionSettings == 'string') { res.optionSettings = JSON.parse(res.optionSettings) - } - this.secondData.cereQuestionManagements[index].ziduan = [] }) const postData = { questionnaireId: item.id, - } const postList = { @@ -1850,22 +1905,58 @@ // } - // let NewArr = response.data.data.cereQuestionnaireTable.cereQuestionManagements.filter((res, index) => { + // let NewArr = obj.cereQuestionnaireTable.cereQuestionManagements.filter((res, index) => { // return res.questionType != '文本'; // }) // obj.cereQuestionnaireTable.cereQuestionManagements = NewArr - // let groundkey = response.data.data.groupKeys.filter((res, index) => { - // return res.answer != ''; - // }) - // obj.groupKeys = groundkey + // let groundkey = response.data.data.groupKeys.filter((res, index) => { + // return res.answer != ''; + // }) + // obj.groupKeys = groundkey this.tongjiTu = obj - this.tuwent = response.data.data.cereQuestionnaireTable.cereQuestionManagements - // this.tuwent = this.tuwent.filter((res, index) => { - // return res.questionType != '文本'; - // }) - console.log('111111111111',this.tongjiTu) + var tuwent = [], + tlist = []; + if (typeof response.data.data.cereQuestionnaireTable.question == 'string') { + this.tuwent = JSON.parse(response.data.data.cereQuestionnaireTable.question) + } + + // console.log('11111111111111111111111',this.tuwent); + // var i = 1; + // for(item in tuwent){ + // var tm = tuwent[item]; + // if(tm.type !='文本') { + // var titem = {}; + // titem[i] = tm; tlist.push(titem); + + // } + // } + this.tongjiBox = true + var that = this; + + this.$nextTick(function() { + try { + if(that.tuwent) + for (var i in that.tuwent) { + try { + that.$refs['chat' + i][0].init(obj) + } catch (e) { + console.error('chat refs init error',e); + } + + } + else { + console.log('tuwent is null',that.tuwent) + } + } catch (e) { + console.error('chat error',e); + } + + + }); + // this.tuwent = tlist; + // console.log('tlist=',tlist); + // this.tuwent = Object.values(this.tuwent).filter(res => res.type !== '文本'); }) - this.tongjiBox = true }, xuanxiang(obj) { @@ -2084,7 +2175,7 @@ this.$msgbox({ title: '消息', message: h('p', null, [ - h('span', null, '是否发布 '), + h('span', null, '是否提交 '), ]), showCancelButton: true, showClose: false, @@ -2113,7 +2204,7 @@ async downShowCheck() { if (this.opinionDel.opinionDelisting == '') { this.$message({ - message: '请输入下架原因', + message: '请输入禁用原因', }) return; } @@ -2189,7 +2280,7 @@ } const host = window.location.host - if (host == '172.16.61.126:8080') { + if (host == '172.16.61.126:8080' || host == '8.130.38.56:8027') { this.wenjuanUrl = `http://${host}/cdwlMall/meh5/pages_category_page1/question/question?ids=${item.id}` } else { this.wenjuanUrl = `https://${host}/cdwlMall/meh5/pages_category_page1/question/question?ids=${item.id}` @@ -2213,14 +2304,18 @@ rewardForParticipation: '不设置奖励', questionId: '', responseStatus: '', - reviewStatus: '1' + reviewStatus: '1', + needName: '必填', + needPhone: '必填', + needGender: '必填', + needOpinion: '必填', } this.xuanzheData = [] const today = new Date(); const startOfToday = new Date(today.getFullYear(), today.getMonth(), today.getDate()); const endOfToday = new Date(today.getFullYear(), today.getMonth(), today.getDate()); - this.Xin_Time = [startOfToday, endOfToday] + this.Xin_Time = [this.getCurrentDate(),this.getNextDayDate()] this.wenConstData = [] this.ggXin = true }, @@ -2367,30 +2462,23 @@ ) }, - // getCurrentDateRange() { - // const today = new Date(); - // const startOfToday = new Date(today.getFullYear(), today.getMonth(), today.getDate()); - // const endOfToday = new Date(today.getFullYear(), today.getMonth(), today.getDate()); - // return [this.formatDate(startOfToday), this.formatDate(endOfToday)]; - // }, - getCurrentDateRange() { - const today = new Date(); - const startOfToday = new Date(today.getFullYear(), today.getMonth(), today.getDate()); - const endOfTomorrow = new Date(today.getFullYear(), today.getMonth(), today.getDate() + 2); // 第二天 - - return [ - this.formatDate(startOfToday), - this.formatDate(endOfTomorrow) - ] - }, - + getCurrentDate() { + const now = new Date(); + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以要+1 + const day = String(now.getDate()).padStart(2, '0'); + return `${year}-${month}-${day}`; +}, + + getNextDayDate() { + const now = new Date(); + now.setDate(now.getDate() + 1); // 设置到下一天 + const year = now.getFullYear(); + const month = String(now.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以要+1 + const day = String(now.getDate()).padStart(2, '0'); + return `${year}-${month}-${day}`; +}, - formatDate(date) { - const year = date.getFullYear(); - const month = ('0' + (date.getMonth() + 1)).slice(-2); - const day = ('0' + date.getDate()).slice(-2); - return `${year}-${month}-${day}`; - }, validateScore(row) { // 如果输入的不是数字或者是NaN,则重置为1 diff --git a/admin-web-master/src/views/investigation/question.vue b/admin-web-master/src/views/investigation/question.vue index 0be34b8..40f86b5 100644 --- a/admin-web-master/src/views/investigation/question.vue +++ b/admin-web-master/src/views/investigation/question.vue @@ -2,7 +2,7 @@
-
招商问卷调查 > 问卷调查 > 题库管理
@@ -143,7 +143,7 @@
-
新增题型
+
新增题目
diff --git a/admin-web-master/src/views/scheme/planningBz.vue b/admin-web-master/src/views/scheme/planningBz.vue index e3b560c..c1361ad 100644 --- a/admin-web-master/src/views/scheme/planningBz.vue +++ b/admin-web-master/src/views/scheme/planningBz.vue @@ -411,6 +411,7 @@ this.total = res.data.content.length message: '请选择实施时间', }) + return } if(this.fileList.length !=0){ this.form.annex = JSON.stringify(this.fileList[0])