|  | @@ -79,7 +79,7 @@
 | 
	
		
			
				|  |  |              <el-form-item
 | 
	
		
			
				|  |  |                label="是否逐题提交"
 | 
	
		
			
				|  |  |                prop="commitType"
 | 
	
		
			
				|  |  | -                class="memoWrapItem"
 | 
	
		
			
				|  |  | +              class="memoWrapItem"
 | 
	
		
			
				|  |  |                :rules="[
 | 
	
		
			
				|  |  |                  {
 | 
	
		
			
				|  |  |                    required: true,
 | 
	
	
		
			
				|  | @@ -88,14 +88,12 @@
 | 
	
		
			
				|  |  |                  },
 | 
	
		
			
				|  |  |                ]"
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  | -                   <template slot="label">
 | 
	
		
			
				|  |  | +              <template slot="label">
 | 
	
		
			
				|  |  |                  <p style="position: relative" class="titleCell">
 | 
	
		
			
				|  |  |                    <span style="color: #f56c6c; margin-right: 4px">*</span>
 | 
	
		
			
				|  |  |                    是否逐题提交
 | 
	
		
			
				|  |  |                    <el-tooltip placement="top" popper-class="mTooltip">
 | 
	
		
			
				|  |  | -                    <div slot="content">
 | 
	
		
			
				|  |  | -                      逐题模式下,所有问题默认必填
 | 
	
		
			
				|  |  | -                    </div>
 | 
	
		
			
				|  |  | +                    <div slot="content">逐题模式下,所有问题默认必填</div>
 | 
	
		
			
				|  |  |                      <i
 | 
	
		
			
				|  |  |                        class="el-icon-question"
 | 
	
		
			
				|  |  |                        style="
 | 
	
	
		
			
				|  | @@ -337,6 +335,23 @@
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |          </el-col>
 | 
	
		
			
				|  |  |        </el-row>
 | 
	
		
			
				|  |  | +      <el-row>
 | 
	
		
			
				|  |  | +        <el-col :xs="24"
 | 
	
		
			
				|  |  | +          :sm="24"
 | 
	
		
			
				|  |  | +          :md="24"
 | 
	
		
			
				|  |  | +          :lg="18"
 | 
	
		
			
				|  |  | +          :xl="18">
 | 
	
		
			
				|  |  | +                            <el-alert
 | 
	
		
			
				|  |  | +        v-if="disabled"
 | 
	
		
			
				|  |  | +        style="margin: 10px 0"
 | 
	
		
			
				|  |  | +        title="该问卷已存在提交数据,不可修改"
 | 
	
		
			
				|  |  | +        :closable="false"
 | 
	
		
			
				|  |  | +        type="error"
 | 
	
		
			
				|  |  | +      >
 | 
	
		
			
				|  |  | +      </el-alert>
 | 
	
		
			
				|  |  | +          </el-col>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      </el-row>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        <el-button type="primary" :disabled="disabled" @click="onSubmit">{{
 | 
	
		
			
				|  |  |          type == "create" ? "生成问卷" : "修改问卷"
 | 
	
	
		
			
				|  | @@ -398,7 +413,7 @@ export default {
 | 
	
		
			
				|  |  |          againCommitFlag: 1,
 | 
	
		
			
				|  |  |          questionnaireQuestionList: [{ questionnaireQuestionItemList: [{}] }],
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  | -      disabled:  false,
 | 
	
		
			
				|  |  | +      disabled: false,
 | 
	
		
			
				|  |  |        questionStatus: false,
 | 
	
		
			
				|  |  |        checkList: [],
 | 
	
		
			
				|  |  |      };
 | 
	
	
		
			
				|  | @@ -410,7 +425,7 @@ export default {
 | 
	
		
			
				|  |  |          this.form = res.data;
 | 
	
		
			
				|  |  |          this.questionList = res.data;
 | 
	
		
			
				|  |  |          this.settemplateType(res.data.templateType);
 | 
	
		
			
				|  |  | -        this.disabled = res.data.modifyFlag
 | 
	
		
			
				|  |  | +        this.disabled = !res.data.modifyFlag;
 | 
	
		
			
				|  |  |          // let list = res.data.questionnaireQuestionList || []
 | 
	
		
			
				|  |  |          // list.forEach((item, index) => {
 | 
	
		
			
				|  |  |          //     this.activeName.push(index)
 |