Merge branch 'bjxz-dev' of http://139.9.66.234:18023/dhp/zhgdyun into bjxz-dev
This commit is contained in:
commit
ca8c5b4352
@ -87,7 +87,7 @@ if (process.env.NODE_ENV == "development") {
|
|||||||
// axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
// axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
||||||
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
||||||
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
|
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
|
||||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
||||||
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
|
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
|
||||||
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头
|
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头
|
||||||
// axios.defaults.baseURL ='http://101.43.164.214:11111/' // 百色三标段项目
|
// axios.defaults.baseURL ='http://101.43.164.214:11111/' // 百色三标段项目
|
||||||
|
|||||||
@ -48,13 +48,13 @@ export default new Vuex.Store({
|
|||||||
PAGESIZRS: [10, 20, 30, 50],
|
PAGESIZRS: [10, 20, 30, 50],
|
||||||
// UPLOADURL:' http://101.43.164.214:11111/upload/image/',// 百色
|
// UPLOADURL:' http://101.43.164.214:11111/upload/image/',// 百色
|
||||||
// FILEURL:' http://101.43.164.214:11111/image/',// 百色
|
// FILEURL:' http://101.43.164.214:11111/image/',// 百色
|
||||||
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',
|
UPLOADURL:'http://182.90.224.237:51234/upload/image/',
|
||||||
// FILEURL:'http://182.90.224.237:51234/image/',
|
FILEURL:'http://182.90.224.237:51234/image/',
|
||||||
// UPLOADURL: "http://192.168.34.155:19111/upload/image/", // 洁本地
|
// UPLOADURL: "http://192.168.34.155:19111/upload/image/", // 洁本地
|
||||||
// FILEURL: "http://192.168.34.155:19111/image/", //洁本地
|
// FILEURL: "http://192.168.34.155:19111/image/", //洁本地
|
||||||
UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
|
// UPLOADURL:'http://192.168.34.221:9111/upload/image/',// 郭圣雄本地
|
||||||
FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
|
// FILEURL:'http://192.168.34.221:9111/image/',//郭圣雄本地
|
||||||
WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
|
// WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
|
||||||
// WORKFLOWURL: "http://192.168.34.126:88/#/workspace/forms", //罗峰工作流地址(本地)
|
// WORKFLOWURL: "http://192.168.34.126:88/#/workspace/forms", //罗峰工作流地址(本地)
|
||||||
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',// 郭圣雄远程
|
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',// 郭圣雄远程
|
||||||
// FILEURL:'http://182.90.224.237:51234/image/',//郭圣雄远程
|
// FILEURL:'http://182.90.224.237:51234/image/',//郭圣雄远程
|
||||||
|
|||||||
@ -90,7 +90,11 @@
|
|||||||
style="width: 100%; color: #737996"
|
style="width: 100%; color: #737996"
|
||||||
@selection-change="handleCheckedCitiesChange"
|
@selection-change="handleCheckedCitiesChange"
|
||||||
>
|
>
|
||||||
<el-table-column prop="questionName" label="试题内容"></el-table-column>
|
<el-table-column prop="questionName" label="试题内容">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<div v-html="scope.row.questionName"></div>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column prop="type" width="100px" label="题目类型">
|
<el-table-column prop="type" width="100px" label="题目类型">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.type && typeArr[scope.row.type - 1].name }}</div>
|
<div>{{ scope.row.type && typeArr[scope.row.type - 1].name }}</div>
|
||||||
@ -656,7 +660,7 @@ export default {
|
|||||||
// + '&endReceiveTime=' + this.time[1] + '&startReceiveTime=' + this.time[0] + '&devName=' + this.devName, {
|
// + '&endReceiveTime=' + this.time[1] + '&startReceiveTime=' + this.time[0] + '&devName=' + this.devName, {
|
||||||
// fetch(this.$http.defaults.baseURL + 'exam/questionBank/exportXls?&projectSn=' + this.projectSn + "&subjectId=" + this.subjectId,{
|
// fetch(this.$http.defaults.baseURL + 'exam/questionBank/exportXls?&projectSn=' + this.projectSn + "&subjectId=" + this.subjectId,{
|
||||||
let data = {
|
let data = {
|
||||||
projectSn:this.projectSn,
|
projectSn:this.$store.state.projectSn,
|
||||||
subjectId:this.subjectId
|
subjectId:this.subjectId
|
||||||
}
|
}
|
||||||
fetch(this.$http.defaults.baseURL + 'exam/questionBank/exportXls',{
|
fetch(this.$http.defaults.baseURL + 'exam/questionBank/exportXls',{
|
||||||
@ -739,7 +743,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getExamSubjectList() { // 获取科目类型列表
|
getExamSubjectList() { // 获取科目类型列表
|
||||||
let data = {
|
let data = {
|
||||||
sn: this.projectSn,
|
projectSn: this.$store.state.projectSn,
|
||||||
}
|
}
|
||||||
// listTreeExamSubjectApi(data).then((res) => {
|
// listTreeExamSubjectApi(data).then((res) => {
|
||||||
listExamSubjectApi(data).then((res) => {
|
listExamSubjectApi(data).then((res) => {
|
||||||
@ -752,10 +756,10 @@ export default {
|
|||||||
//获取列表数据
|
//获取列表数据
|
||||||
getExamSubjectTreeList() {
|
getExamSubjectTreeList() {
|
||||||
let data = {
|
let data = {
|
||||||
sn: this.$store.state.projectSn,
|
// projectSn: this.$store.state.projectSn,
|
||||||
}
|
}
|
||||||
listTreeExamSubjectApi(data).then((res) => {
|
// listTreeExamSubjectApi(data).then((res) => {
|
||||||
// listExamSubjectApi(data).then((res) => {
|
listExamSubjectApi(data).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.level1CompanyData = res.result;
|
this.level1CompanyData = res.result;
|
||||||
console.log('11111111111111',res);
|
console.log('11111111111111',res);
|
||||||
@ -777,6 +781,7 @@ export default {
|
|||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
questionName: this.tableParameter.name,
|
questionName: this.tableParameter.name,
|
||||||
subjectId: this.subjectId,
|
subjectId: this.subjectId,
|
||||||
|
projectSn: this.$store.state.projectSn
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
console.log(result);
|
console.log(result);
|
||||||
@ -872,7 +877,8 @@ export default {
|
|||||||
optionList:tempOptions,
|
optionList:tempOptions,
|
||||||
options:this.questionForm.type == 1 ? this.questionForm.options : multiOptions,
|
options:this.questionForm.type == 1 ? this.questionForm.options : multiOptions,
|
||||||
score:this.questionForm.score,
|
score:this.questionForm.score,
|
||||||
subjectId:this.subjectId,
|
subjectId:this.questionForm.subjectId,
|
||||||
|
projectSn:this.$store.state.projectSn
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.$message.success(result.message);
|
this.$message.success(result.message);
|
||||||
@ -914,7 +920,7 @@ export default {
|
|||||||
options:this.questionForm.type == 1 ? option : multiOptions,
|
options:this.questionForm.type == 1 ? option : multiOptions,
|
||||||
score:this.questionForm.score,
|
score:this.questionForm.score,
|
||||||
subjectId:this.subjectId,
|
subjectId:this.subjectId,
|
||||||
projectSn: this.projectSn,
|
projectSn: this.$store.state.projectSn,
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
console.log('信息添加成功', result);
|
console.log('信息添加成功', result);
|
||||||
@ -941,7 +947,8 @@ export default {
|
|||||||
// 预览
|
// 预览
|
||||||
previewDialog(item) {
|
previewDialog(item) {
|
||||||
detailIdQuestionBankApi({
|
detailIdQuestionBankApi({
|
||||||
id: item.id
|
id: item.id,
|
||||||
|
projectSn: this.$store.state.projectSn
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.questionForm = result.result;
|
this.questionForm = result.result;
|
||||||
@ -1144,7 +1151,8 @@ export default {
|
|||||||
|
|
||||||
moveQuestionBankApi({
|
moveQuestionBankApi({
|
||||||
id:this.editQuestion.id,
|
id:this.editQuestion.id,
|
||||||
subjectId:this.subjectId2
|
subjectId:this.subjectId2,
|
||||||
|
projectSn: this.$store.state.projectSn
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.$message.success(result.message);
|
this.$message.success(result.message);
|
||||||
|
|||||||
@ -139,7 +139,7 @@ export default {
|
|||||||
//获取列表数据
|
//获取列表数据
|
||||||
getExamSubjectList() {
|
getExamSubjectList() {
|
||||||
let data = {
|
let data = {
|
||||||
// sn: this.projectSn,
|
projectSn: this.projectSn,
|
||||||
pageNo: this.pagInfo.pageNo,
|
pageNo: this.pagInfo.pageNo,
|
||||||
pageSize: this.pagInfo.pageSize,
|
pageSize: this.pagInfo.pageSize,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user