wangziqian 5 роки тому
батько
коміт
29aefc3961

+ 12 - 0
src/components/input/textArea.vue

@@ -14,6 +14,10 @@
         <pre class="text-pre" @click="ImmediateAddition" v-html="value" />
       </div>
       <div :id="'inputUpload_'+id" style="display: none" @click.stop="blur_textarea" />
+      <div v-show="edit" class="control">
+        <el-button size="small" @click="edit=false">取消</el-button>
+        <el-button type="primary" size="small" @click.stop="blur_textarea">确定</el-button>
+      </div>
     </article>
   </div>
 </template>
@@ -121,6 +125,9 @@ export default {
 }
 </script>
 <style scoped lang="scss">
+article {
+  padding: 20px 30px;
+}
 .text-edit {
   height: 30vh;
   color: #666666;
@@ -141,4 +148,9 @@ export default {
   width: calc(100% - 40px);
   margin: auto;
 }
+.control {
+  display: flex;
+  justify-content: flex-end;
+  margin-top: 10px;
+}
 </style>

+ 0 - 1
src/views/projectManage/projectList/components/modifySchedule.vue

@@ -180,7 +180,6 @@ export default {
     selectTaskList: { // 已选择任务列表
       handler(newV, old) {
         if (newV && newV.length > 0) {
-          console.log(newV)
           this.tasksOptions = newV
           this.tasksDetailList = [...newV]
           this.form.taskList = newV.map(item => item.id)