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

Commit 317a8530 by 李严凡

修改任务显示模板

parent 7c1e8464
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<el-col span="6"> <el-col span="6">
<el-select v-model="domain.pvalue" placeholder="模板选择" > <el-select v-model="domain.pvalue" placeholder="模板选择" >
<el-option <el-option
v-for="i in domain.piecesOptions" v-for="i in piecesOptions"
:key="i.pvalue" :key="i.pvalue"
:label="i.plabel" :label="i.plabel"
:value="i.pvalue"> :value="i.pvalue">
...@@ -323,21 +323,22 @@ ...@@ -323,21 +323,22 @@
desc: '' desc: ''
}, },
formLabelWidth: '120px', formLabelWidth: '120px',
piecesOptions: [{
pvalue: '1',
plabel: '模板1'
}, {
pvalue: '2',
plabel: '模板2'
}, {
pvalue: '3',
plabel: '模板3'
}],
dynamicValidateForm: { dynamicValidateForm: {
//domains--文本信息 //domains--文本信息
domains: [{ domains: [{
fileList:new Array(), fileList:new Array(),
piecesOptions: [{ pvalue:'',//模板ID
pvalue: '1', pname:'',
plabel: '模板1'
}, {
pvalue: '2',
plabel: '模板2'
}, {
pvalue: '3',
plabel: '模板3'
}],
pvalue:'',
createMode:false createMode:false
}], }],
pictureDomains:[{ pictureDomains:[{
...@@ -382,6 +383,7 @@ ...@@ -382,6 +383,7 @@
else{ else{
// alert(res.data.taskId); // alert(res.data.taskId);
this.dynamicValidateForm.domains = res.data.domains; this.dynamicValidateForm.domains = res.data.domains;
// this.dynamicValidateForm.domains[0].pvalue = '1';
this.dynamicValidateForm.pictureDomains = res.data.pictureDomains; this.dynamicValidateForm.pictureDomains = res.data.pictureDomains;
this.dynamicValidateForm.layerDomains = res.data.layerDomains; this.dynamicValidateForm.layerDomains = res.data.layerDomains;
this.taskName = res.data.taskName; this.taskName = res.data.taskName;
...@@ -608,17 +610,8 @@ ...@@ -608,17 +610,8 @@
if(ptype == 1){ if(ptype == 1){
this.dynamicValidateForm.domains.push({ this.dynamicValidateForm.domains.push({
fileList:new Array(), fileList:new Array(),
piecesOptions: [{
pvalue: '1',
plabel: '模板1'
}, {
pvalue: '2',
plabel: '模板2'
}, {
pvalue: '3',
plabel: '模板3'
}],
pvalue:'1', pvalue:'1',
pname:'',
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
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