qinzhipeng_v 5 年之前
父節點
當前提交
6d40a95a54
共有 2 個文件被更改,包括 16 次插入9 次删除
  1. 10 8
      src/views/projectManage/taskList/taskIndex.vue
  2. 6 1
      src/views/projectManage/taskList/taskViewDetails.vue

+ 10 - 8
src/views/projectManage/taskList/taskIndex.vue

@@ -166,13 +166,15 @@
             <span style="float: right; color: #8492a6; font-size: 13px,">{{ item.idap }}</span>
           </el-option>
         </el-select>
-        <el-button
-          type="primary"
-          size="mini"
-          style="float: right"
-          @click="get_taskList(form_task)"
-        >查询</el-button>
-        <el-button size="mini" style="float: right;" @click="query_Reset">重置</el-button>
+        <span style="display:flex;align-items: center;justify-content: space-between;">
+          <el-button
+            type="primary"
+            size="mini"
+            style="margin-right:1%;"
+            @click="get_taskList(form_task)"
+          >查询</el-button>
+          <el-button size="mini" @click="query_Reset">重置</el-button>
+        </span>
       </el-header>
 
       <el-main class="bgborder" style=" margin: 0 1% 1%;min-height: 86vh;padding:0 !important">
@@ -203,7 +205,7 @@
             </template>
           </el-table-column>
           <el-table-column label="归属项目" min-width="100" align="center" show-overflow-tooltip>
-            <template slot-scope="scope">{{ scope.row.ProjectName }}</template>
+            <template slot-scope="scope">{{ scope.row.projectName }}</template>
           </el-table-column>
           <el-table-column label="归属需求" min-width="100" align="center" show-overflow-tooltip>
             <template slot-scope="scope">{{ scope.row.requireName }}</template>

+ 6 - 1
src/views/projectManage/taskList/taskViewDetails.vue

@@ -396,7 +396,10 @@
         <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
       </span>
     </el-dialog>
-    <el-dialog title="新建事件" :visible.sync="dialogFormVisible">
+    <el-dialog :visible.sync="dialogFormVisible">
+      <div style="margin: 0% 7% 3% 2%; font-size: 18px; white-space: nowrap;color:rgba(51,59,74,1);">
+        <b style="color: #409EFF;margin: 0 0.5%;font-weight: 600; ">I</b>{{ even }}
+      </div>
       <el-form ref="form" :model="form" :rules="form_rules" :label-width="formLabelWidth">
         <el-form-item label="事件类型" prop="type">
           <el-select
@@ -814,6 +817,7 @@ export default {
     },
     event_query(e) {
       // 编辑事件(添加事件)
+      this.even = '编辑事件'
       var eventID = {}
       this.arr_event.map(item => {
         item.id === e ? (eventID = item) : ''
@@ -1017,6 +1021,7 @@ export default {
     },
     add_Event() {
       // 添加事件(排期)
+      this.even = '新建事件'
       this.dialogFormVisible = true
       this.form = {}
       this.$nextTick(() => {