Kaynağa Gözat

线上bug修改

qinzhipeng_v 5 yıl önce
ebeveyn
işleme
b7aaafd1ab

+ 21 - 0
src/views/projectManage/bugList/css/index.css

@@ -202,3 +202,24 @@
   bottom: 25px;
   left: 2.5%;
 }
+/* 剧中显示弹窗 */
+.el-dialog{
+  display: flex;
+  flex-direction: column;
+  margin:0 !important;
+  position:absolute;
+  top:50%;
+  left:50%;
+  transform:translate(-50%,-50%);
+  max-height:calc(100% - 30px);
+  max-width:calc(100% - 30px);
+}
+.el-dialog .el-dialog__body{
+  flex:1;
+  overflow: auto;
+}
+.descr{
+  display: flex;
+  justify-content: center;
+}
+

+ 1 - 0
src/views/projectManage/bugList/details/index.vue

@@ -899,6 +899,7 @@ export default {
           if (res.data.bizId !== Number(localStorage.getItem('bizId'))) {
             Utils.$emit('demo', res.data.bizId)
           }
+          console.log(res.data, 'cdscdcs')
           this.bug = res.data
           this.bugModel = JSON.parse(JSON.stringify(res.data))
           this.bugDescribe = this.bug.bugDescribe

+ 7 - 2
src/views/projectManage/bugList/file/createdBug.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="Parent">
-    <el-dialog :visible.sync="modalShow" width="60%" top="4vh" :close-on-click-modal="false" @close="modalClose">
+    <el-dialog :visible.sync="modalShow" width="70%" top="4vh" :close-on-click-modal="false" @close="modalClose">
       <el-form ref="formInline" label-position="left" :model="formInline" :rules="rules" label-width="90px">
         <el-row style="margin: 0 4% 2% 4%;">
           <el-col :span="24">
@@ -10,7 +10,7 @@
             </div>
           </el-col>
         </el-row>
-        <div style="height: 500px; overflow:scroll; overflow-x: hidden">
+        <div class="soll" style="height: 460px; overflow:scroll; overflow-x: hidden">
           <div>
             <el-row style="margin: 0 4%;">
               <el-col :span="24">
@@ -400,3 +400,8 @@ export default {
 }
 </script>
 
+<style>
+.soll::-webkit-scrollbar{
+  width:0;
+  }
+</style>

+ 2 - 2
src/views/projectManage/dialog_vue.vue

@@ -41,7 +41,7 @@
               </el-select>
             </el-form-item>
             <el-form-item label="开发负责人">
-              <el-select v-model="task_form.rdOwner" filterable remote reserve-keyword placeholder="请输入姓名或邮箱前缀" :remote-method="remoteMethod" :loading="loading" style="width: 100%">
+              <el-select v-model="task_form.rdOwner" filterable clearable remote reserve-keyword placeholder="请输入姓名或邮箱前缀" :remote-method="remoteMethod" :loading="loading" style="width: 100%">
                 <el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
                   <div style="display: flex;justify-content: start;">
                     <div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>
@@ -63,7 +63,7 @@
               <el-cascader v-model="task_form.moduleIds" clearable collapse-tags :props="props" :options="business_platform_Modular" placeholder="请选择" style="width: 20vw" @click.native="bugDataGet" />
             </el-form-item>
             <el-form-item label="测试负责人">
-              <el-select v-model="task_form.qaOwner" filterable remote reserve-keyword placeholder="请输入姓名或邮箱前缀" :remote-method="remoteMethod" :loading="loading" style="width: 20vw">
+              <el-select v-model="task_form.qaOwner" filterable clearable remote reserve-keyword placeholder="请输入姓名或邮箱前缀" :remote-method="remoteMethod" :loading="loading" style="width: 20vw">
                 <el-option v-for="item in options" :key="item.idap" :label="item.name" :value="test2(item, 0)">
                   <div style="display: flex;justify-content: start;">
                     <div style="min-width:100px;color: #8492a6; font-size: 13px; overflow:hidden">{{ item.deptName }}</div>