文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit db9b03c8 by convivae

Merge remote-tracking branch 'origin/develop' into develop

parents 3b451a8a 0bb032a0
...@@ -404,12 +404,13 @@ ...@@ -404,12 +404,13 @@
}], }],
dynamicValidateForm: { dynamicValidateForm: {
//domains--文本信息 //domains--文本信息
domains: [{ domains: [],
fileList:new Array(), // {
templateId:'',//模板ID // fileList:new Array(),
// templateName:'', // templateId:'',//模板ID
// createMode:false // // templateName:'',
}], //
// }
// //domains--表格信息 // //domains--表格信息
// tableDomains: [{ // tableDomains: [{
// fileList:new Array(), // fileList:new Array(),
...@@ -417,14 +418,16 @@ ...@@ -417,14 +418,16 @@
// pname:'', // pname:'',
// createMode:false // createMode:false
// }], // }],
pictureDomains:[{ pictureDomains:[],
fileList: new Array(), // //{
description:'', // fileList: new Array(),
}], // description:'',
layerDomains:[{ // }
fileList: new Array(), layerDomains:[],
description:'', // {
}], // fileList: new Array(),
// description:'',
// }
}, },
cardName : 'first', cardName : 'first',
createModeValue:'-1', createModeValue:'-1',
...@@ -461,6 +464,7 @@ ...@@ -461,6 +464,7 @@
} }
}) })
if(this.ins == 2){ if(this.ins == 2){
console.log("修改");
this.taskId = this.$route.params.taskId, this.taskId = this.$route.params.taskId,
this.axios({ this.axios({
method:'post', method:'post',
...@@ -469,8 +473,6 @@ ...@@ -469,8 +473,6 @@
}, },
url:'task/getTaskDetail' url:'task/getTaskDetail'
}).then(res=>{ }).then(res=>{
// console.log("ininininini");
// console.log(res);
if(res.code == 0){ if(res.code == 0){
alert('无法修改任务'); alert('无法修改任务');
} }
...@@ -719,6 +721,13 @@ ...@@ -719,6 +721,13 @@
submitForm(formName) { submitForm(formName) {
// console.log("测试id"); // console.log("测试id");
// console.log(this.dynamicValidateForm.domains); // console.log(this.dynamicValidateForm.domains);
if(this.dynamicValidateForm.domains.length > 0 && this.pOptions.length == 0){
this.$message({
type: 'info',
message: '请创建并选择模板'
})
return
}
setTimeout(()=>{ setTimeout(()=>{
this.axios({ this.axios({
method:"post", method:"post",
...@@ -793,7 +802,7 @@ ...@@ -793,7 +802,7 @@
if(ptype == 1){ if(ptype == 1){
this.dynamicValidateForm.domains.push({ this.dynamicValidateForm.domains.push({
fileList:new Array(), fileList:new Array(),
templateId:'', templateId:1,
templateName:'', templateName:'',
createMode:false, createMode:false,
key: Date.now() key: Date.now()
......
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment