qinzhipeng_v 5 年之前
父节点
当前提交
54a81d27fb
共有 6 个文件被更改,包括 50 次插入316 次删除
  1. 2 2
      src/apiConfig/api.js
  2. 2 2
      src/apiConfig/mock.js
  3. 46 47
      src/router/index.js
  4. 0 117
      src/views/Platform/workbench.vue
  5. 0 4
      src/views/mock/httpmock.vue
  6. 0 144
      src/views/mock/httprule.vue

+ 2 - 2
src/apiConfig/api.js

@@ -1,6 +1,6 @@
 /*eslint-disable*/   //规避eslint的检查,如没有eslint可不写
-export const mockUrl = 'http://10.179.24.176:8980' // 线下
-// export const mockUrl = 'http://10.179.24.123:8980' // 线上
+// export const mockUrl = 'http://10.179.24.176:8980' // 线下
+export const mockUrl = 'http://10.179.24.123:8980' // 线上
 
 // export const mockUrl = 'http://172.23.162.48:8980' // 美双姐本地
 

+ 2 - 2
src/apiConfig/mock.js

@@ -1,4 +1,4 @@
 /*eslint-disable*/   //规避eslint的检查,如没有eslint可不写
-export const mockUrl = 'http://10.179.88.110:8089' // stable
-// export const mockUrl = 'http://mock.Intra.xiaojukeji.com' // 线上
+// export const mockUrl = 'http://10.179.88.110:8089' // stable
+export const mockUrl = 'http://mock.Intra.xiaojukeji.com' // 线上
 // export const mockUrl = 'http://10.179.101.226:8089' // test

+ 46 - 47
src/router/index.js

@@ -94,6 +94,7 @@ export const constantRoutes = [
       {
         path: '/Platform/useCasePage',
         name: '用例管理',
+        hidden: true,
         component: () => import('@/views/Platform/useCasePage'),
         meta: { title: '用例管理' },
         children: [
@@ -129,7 +130,7 @@ export const constantRoutes = [
           {
             path: 'testPageData',
             name: '测试计划管理',
-            // hidden: true,
+            hidden: true,
             component: () => import('@/views/Platform/presentation/testPage.vue'),
             meta: { title: '测试计划管理' }
           },
@@ -227,30 +228,28 @@ export const constantRoutes = [
         path: '/Platform/defectManagement',
         name: '缺陷管理',
         component: () => import('@/views/Platform/defectManagement'),
-        meta: { title: '缺陷管理' },
-        children: [
-          {
-            path: 'bugCreate',
-            name: '新建Bug',
-            hidden: true,
-            component: () => import('@/views/Platform/bugManage/bugCreate'),
-            meta: { title: '新建Bug' }
-          },
-          {
-            path: 'bugQuery',
-            name: '查看Bug',
-            hidden: true,
-            component: () => import('@/views/Platform/bugManage/bugQuery'),
-            meta: { title: '查看Bug' }
-          },
-          {
-            path: 'bugUpdate',
-            name: '更新Bug',
-            hidden: true,
-            component: () => import('@/views/Platform/bugManage/bugUpdate'),
-            meta: { title: '更新Bug' }
-          }
-        ]
+        meta: { title: '缺陷管理' }
+      },
+      {
+        path: '/Platform/defectManagement/bugCreate',
+        name: '新建Bug',
+        hidden: true,
+        component: () => import('@/views/Platform/bugManage/bugCreate'),
+        meta: { title: '新建Bug' }
+      },
+      {
+        path: '/Platform/defectManagement/bugQuery',
+        name: '查看Bug',
+        hidden: true,
+        component: () => import('@/views/Platform/bugManage/bugQuery'),
+        meta: { title: '查看Bug' }
+      },
+      {
+        path: '/Platform/defectManagement/bugUpdate',
+        name: '更新Bug',
+        hidden: true,
+        component: () => import('@/views/Platform/bugManage/bugUpdate'),
+        meta: { title: '更新Bug' }
       },
       {
         path: '/Platform/setUp',
@@ -421,28 +420,28 @@ export const constantRoutes = [
     ]
   },
 
-  {
-    path: '/virtualDevices',
-    component: Layout,
-    redirect: '/virtualDevices/HTvehicle',
-    name: '虚拟硬件',
-    meta: { title: '虚拟硬件', icon: 'module' },
-    children: [
-      {
-        path: 'HTvehicle',
-        name: '单车',
-        component: () => import('@/views/virtualDevices/HTvehicle'),
-        meta: { title: '单车' }
-      },
-      {
-        path: 'HTvehicl1e',
-        name: '电单车'
-        // hidden: true,
-        // component: () => import('@/views/virtualDevices/HTvehicle'),
-        // meta: { title: '电单车' }
-      }
-    ]
-  },
+  // {
+  //   path: '/virtualDevices',
+  //   component: Layout,
+  //   redirect: '/virtualDevices/HTvehicle',
+  //   name: '虚拟硬件',
+  //   meta: { title: '虚拟硬件', icon: 'module' },
+  //   children: [
+  //     {
+  //       path: 'HTvehicle',
+  //       name: '单车',
+  //       component: () => import('@/views/virtualDevices/HTvehicle'),
+  //       meta: { title: '单车' }
+  //     },
+  //     {
+  //       path: 'HTvehicl1e',
+  //       name: '电单车'
+  //       // hidden: true,
+  //       // component: () => import('@/views/virtualDevices/HTvehicle'),
+  //       // meta: { title: '电单车' }
+  //     }
+  //   ]
+  // },
 
   {
     path: '/online-quality',

+ 0 - 117
src/views/Platform/workbench.vue

@@ -33,54 +33,6 @@
             </el-select>
             主题 <el-input v-model="bugOrTask1.titles" size="medium" placeholder="主题" clearable style="width: 14%; margin: 2% 5% 2% 1%;" />
 
-<<<<<<< HEAD
-  <div style="background:#F2F3F6">
-    <div style="background:#F2F3F6;font-size:0.9rem;margin: 0% 4% 0% 4%;">
-      <el-tabs v-model="activeName" @tab-click="handleClick">
-        <el-tab-pane label="待处理" name="first">
-          <div style="white-space:nowrap;margin:1% 0;"><img v-show="img" style="width:10px;height:10px;margin: 0 1% 0.45% 0" :src="imgUrl"><span class="titStyle">近期代办</span></div>
-          <div style="height:44em;">
-            <el-badge v-show="show1" :value="num1" class="item"><el-button type="primary" class="itemName" size="small" style="overflow: hidden; text-overflow:ellipsis;" plain @click="clickNum(1)">{{ oneData.name }}</el-button></el-badge>
-            <el-badge v-show="show2" :value="num2" class="item"><el-button type="primary" class="itemName" size="small" style="overflow: hidden; text-overflow:ellipsis;" plain @click="clickNum(2)">{{ oneData1.name }}</el-button></el-badge>
-            <el-badge v-show="show3" :value="num3" class="item"><el-button type="primary" class="itemName" size="small" style="overflow: hidden; text-overflow:ellipsis;" plain @click="clickNum(3)">{{ oneData2.name }}</el-button></el-badge>
-            <el-badge v-show="show1" style="margin-bottom:24px;"><el-button type="primary" size="small" @click="clickNum(4)"> 更 多 </el-button></el-badge>
-            <div align="center" style="background:#FFFFFF; height:60vh%; text-align:center; border-radius:8px;">
-              <div align="center" style="height:35em;">
-                类型
-                <el-select v-model="bugOrTask1.isBugOrTask" size="small" style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="类型" @change="getstatus(bugOrTask1.isBugOrTask)">
-                  <el-option v-for="item in bugTask" :key="item.value" :label="item.name" :value="item.value" />
-                </el-select>
-                状态
-                <el-select v-model="bugOrTask1.status" size="small" multiple collapse-tags style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="状态">
-                  <el-option v-for="item in bugStatusStr1" :key="item.code" :label="item.name" :value="item.code" />
-                </el-select>
-                优先级
-                <el-select v-model="bugOrTask1.priority" size="small" style="width: 13%;margin: 2% 5% 2% 1%;" clearable placeholder="优先级">
-                  <el-option v-for="item in bugLevelStr" :key="item.code" :label="item.name" :value="item.code" />
-                </el-select>
-                主题 <el-input v-model="bugOrTask1.title" size="small" placeholder="主题" clearable style="width: 14%;margin: 2% 5% 2% 1%;" />
-
-                <el-button type="primary" size="small" style="margin:2% 0%;" @click="clickQuery(bugOrTask1)">查询</el-button>
-
-                <el-table v-if="bug" :data="tableType" border max-height="390" :header-cell-style="getRowClass" style="width:95%;" align="center" @row-click="clickQueryTableTask">
-                  <el-table-column type="index" label="序号" width="150" align="center" />
-                  <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
-                  <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
-                  <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
-                  <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
-                  <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
-                </el-table>
-                <el-table v-if="task" :data="tableType" border max-height="390" :header-cell-style="getRowClass" style="width: 95%" align="center" @row-click="clickQueryTableTask">
-                  <el-table-column type="index" label="序号" width="150" align="center" />
-                  <el-table-column label="类型" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.isBugOrTask }}</template></el-table-column>
-                  <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
-                  <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
-                  <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
-                  <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
-                </el-table>
-              </div>
-            </div>
-=======
             <el-button type="primary" size="small" style="margin:2% 0%;" @click="clickQuery(bugOrTask1)">查询</el-button>
 
             <el-table v-if="bug" :data="tableType" border max-height="335" :header-cell-style="getRowClass" style="width:95%;cursor:pointer" align="center" @row-click="clickQueryTableTask">
@@ -99,7 +51,6 @@
               <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
               <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
             </el-table>
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
           </div>
 
         </div>
@@ -138,21 +89,6 @@
               <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
             </el-table>
 
-<<<<<<< HEAD
-                <el-table v-if="bugShow" :data="tableData" :header-cell-style="getRowClass" border max-height="390" style="width: 95%" align="center" @row-click="clickQueryTableTask">
-                  <el-table-column type="index" label="序号" width="150" align="center" />
-                  <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
-                  <el-table-column label="进展" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.stageName }}</template></el-table-column>
-                  <el-table-column label="优先级" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
-                  <el-table-column label="状态" min-width="100" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
-                  <el-table-column label="最近更新时间" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
-                </el-table>
-              </div>
-            </div>
-          </div>
-        </el-tab-pane>
-      </el-tabs>
-=======
             <el-table v-if="bugShow" :data="tableData" :header-cell-style="getRowClass" border max-height="335" style="width: 95%;cursor:pointer" align="center" @row-click="clickQueryTableTask">
               <el-table-column type="index" label="序号" width="150" align="center" />
               <el-table-column label="主题" min-width="100" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
@@ -165,7 +101,6 @@
         </div>
       </el-tab-pane>
     </el-tabs>
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
 
     <!-- 项目展示 -->
     <el-dialog tltle="详情" :visible.sync="dialogTableVisible" width="70%">
@@ -179,33 +114,6 @@
       </el-table>
     </el-dialog>
 
-<<<<<<< HEAD
-      <!-- 任务展示 -->
-      <el-dialog tltle="详情" :visible.sync="dialogTableVisible1" width="70%">
-        <el-table :data="gridData1" max-height="390" :header-cell-style="getRowClass" @row-click="clickQueryTable2">
-          <el-table-column type="index" label="序号" min-width="120" align="center" />
-          <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.name }}</template></el-table-column>
-          <el-table-column label="进展" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.stageString }}</template></el-table-column>
-          <el-table-column label="平台类型" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.typeString }}</template></el-table-column>
-          <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityString }}</template></el-table-column>
-          <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.statusString }}</el-tag></template></el-table-column>
-          <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.modifyTime }}</template></el-table-column>
-        </el-table>
-      </el-dialog>
-
-      <!-- 缺陷展示 -->
-      <el-dialog tltle="详情" :visible.sync="dialogTableVisibleTow" width="70%">
-        <el-table :data="gridData2" max-height="390" :header-cell-style="getRowClass" @row-click="clickQueryTable3">
-          <el-table-column type="index" label="序号" min-width="120" align="center" />
-          <el-table-column label="主题" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugName }}</template></el-table-column>
-          <el-table-column label="类型" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.bugTypeName }}</template></el-table-column>
-          <el-table-column label="优先级" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.priorityName }}</template></el-table-column>
-          <el-table-column label="状态" min-width="120" align="center"><template slot-scope="scope"><el-tag type="success">{{ scope.row.bugStatusName }}</el-tag></template></el-table-column>
-          <el-table-column label="最近更新时间" min-width="120" align="center"><template slot-scope="scope">{{ scope.row.gmtModify }}</template></el-table-column>
-        </el-table>
-      </el-dialog>
-    </div>
-=======
     <!-- 项目转任务 -->
     <el-dialog tltle="详情" :visible.sync="dialogTableVisible0" width="70%">
       <el-table :data="gridData3" max-height="390" style="cursor:pointer" @row-click="clickQueryTable1">
@@ -243,7 +151,6 @@
       </el-table>
     </el-dialog>
 
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
   </div>
 </template>
 <script>
@@ -312,16 +219,6 @@ export default {
             start.setTime(start.getTime() - 3600 * 1000 * 24 * 7)
             picker.$emit('pick', [start, end])
           }
-<<<<<<< HEAD
-        // }, {
-        //   text: '最近一个月',
-        //   onClick(picker) {
-        //     const end = new Date()
-        //     const start = new Date()
-        //     start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)
-        //     picker.$emit('pick', [start, end])
-        //   }
-=======
         }, {
           text: '最近一个月',
           onClick(picker) {
@@ -331,7 +228,6 @@ export default {
             start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)
             picker.$emit('pick', [start, end])
           }
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
         }]
       }
     }
@@ -504,13 +400,8 @@ export default {
         if (e.value2 !== '') {
           var obj = {
             bizId: this.bizJson,
-<<<<<<< HEAD
-            timeType: 0,
-            // status: e.status,
-=======
             timeType: this.selectData,
             status: e.status,
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
             isBugOrTask: e.isBugOrTask,
             startTime: e.value2[0],
             endTime: e.value2[1],
@@ -570,22 +461,14 @@ export default {
       this.$router.push({ path: '/Platform/presentation/taskQuery', query: { id: e.id }})
     },
     clickQueryTable3(e) {
-<<<<<<< HEAD
-      // this.$router.push({ path: '/Platform/presentation/defectManageQuery', query: { id: e.id }})
-=======
       this.$router.push({ path: '/Platform/defectManagement/bugQuery', query: { id: e.id }})
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
     },
     clickQueryTableTask(e) {
       if (e.isBugOrTask === '任务') {
         this.$router.push({ path: '/Platform/presentation/taskQuery', query: { id: e.id }})
       }
       if (e.isBugOrTask === '缺陷') {
-<<<<<<< HEAD
-        // this.$router.push({ path: '/Platform/presentation/defectManageQuery', query: { id: e.id }})
-=======
         this.$router.push({ path: '/Platform/defectManagement/bugQuery', query: { id: e.id }})
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
       }
     }
   }

+ 0 - 4
src/views/mock/httpmock.vue

@@ -506,11 +506,7 @@ export default {
             method: ele.method,
             actualUrl: this.serviceData.actualUrl,
             status: this.serviceData.status,
-<<<<<<< HEAD
-            creator: this.serviceData.creator,
-=======
             updator: this.userNames,
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
             returnDataType: '512',
             mockUrl: this.serviceData.mockUrl,
             redirect: this.serviceData.redirect

+ 0 - 144
src/views/mock/httprule.vue

@@ -2,11 +2,7 @@
   <div class="app-container">
     <el-header style="height:auto;!improtant">
       <div class="filter-container" style="padding-bottom: 20px;!improtant">
-<<<<<<< HEAD
-        <el-input v-model="listQuery.ruleDesc" placeholder="规则描述" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
-=======
         <el-input v-model="listQuery.ruleDesc" placeholder="描述" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
         <el-input v-model="listQuery.execSort" placeholder="优先级" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
         <el-select v-model="listQuery.status" class="filter-item" filterable clearable placeholder="状态">
           <el-option v-for="item in ruleStatus" :key="item.key" :label="item.display_name" :value="item.key" />
@@ -19,23 +15,9 @@
         <el-button style="float: right;" type="primary" @click="prev"> 返回 </el-button>
       </div>
     </el-header>
-<<<<<<< HEAD
-    <el-table
-      :key="tableKey"
-      v-loading="listLoading"
-      :data="list"
-      fit
-      highlight-current-row
-      style="width: 100%;"
-      :header-cell-style="styleObj"
-      @sort-change="sortChange"
-    >
-      <el-table-column label="规则ID" prop="id" sortable="custom" align="center" min-width="80px">
-=======
     <el-table :key="tableKey" v-loading="listLoading" :data="list" fit highlight-current-row style="width: 100%;">
 
       <el-table-column label="结果ID" prop="id" sortable="custom" align="center" min-width="80px">
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
         <template slot-scope="scope">
           <el-popover trigger="hover" placement="top">
             <p>创建人: {{ scope.row.creator }}</p>
@@ -61,13 +43,7 @@
       </el-table-column>
 
       <el-table-column label="接口ID" min-width="80px" align="center">
-<<<<<<< HEAD
-        <!-- <template slot-scope="scope"> -->
-        <span>{{ this.$route.path.split('/')[3] }}</span>
-        <!-- </template> -->
-=======
         {{ this.$route.path.split('/')[3] }}
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
       </el-table-column>
 
       <!--<el-table-column label="方法协议" min-width="150px" align="center">-->
@@ -81,10 +57,6 @@
       <!--&lt;!&ndash; <el-tag>{{ row.type | typeFilter }}</el-tag> &ndash;&gt;-->
       <!--</template>-->
       <!--</el-table-column>-->
-<<<<<<< HEAD
-=======
-
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
       <el-table-column label="优先级" min-width="110px" align="center">
         <template slot-scope="scope">{{ scope.row.execSort }}</template>
       </el-table-column>
@@ -127,15 +99,6 @@
     </el-table>
 
     <pagination v-show="total>0" :total="total" :page.sync="listQuery.curIndex" :limit.sync="listQuery.pageSize" @pagination="getList" />
-<<<<<<< HEAD
-    <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" width="65%" @open="returnMessageData">
-      <el-form ref="ruleDataForm" :rules="roleDataRules" :model="ruleData" label-position="left" label-width="120px" style="width: 500px; margin-left:80px;">
-        <el-form-item label="规则" prop="whenScript">
-          <el-input v-model="ruleData.whenScript" placeholder="any" disabled />
-        </el-form-item>
-        <el-form-item label="规则描述" prop="ruleDesc">
-          <el-input v-model="ruleData.ruleDesc" placeholder="请输入规则描述" />
-=======
 
     <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" width="65%" @open="isNotAnyRequest">
 
@@ -174,7 +137,6 @@
         </el-form-item>
         <el-form-item label="描述" prop="ruleDesc" style="width:52vw; white-space:nowrap;">
           <el-input v-model="ruleForm.ruleDesc" placeholder="请输入描述" />
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
         </el-form-item>
         <el-form-item label="优先级" prop="execSort">
           <el-tooltip class="item" effect="light" content="值越大,优先级越高" placement="right">
@@ -187,17 +149,8 @@
       </el-form>
 
       <div slot="footer" class="dialog-footer">
-<<<<<<< HEAD
-        <el-button @click="clear(), dialogFormVisible = false">
-          取消
-        </el-button>
-        <el-button v-if="showSubmit" type="primary" @click="dialogStatus==='create'?createData():updateData()">
-          确定
-        </el-button>
-=======
         <el-button @click="dialogFormVisible = false"> 取消 </el-button>
         <el-button v-if="showSubmit" type="primary" @click=" dialogStatus === 'create'?createData(ruleForm):updateData(ruleForm)"> 确定 </el-button>
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
       </div>
     </el-dialog>
   </div>
@@ -217,15 +170,7 @@ export default {
   directives: { waves },
   filters: {
     statusFilter(status) {
-<<<<<<< HEAD
-      const statusMap = {
-        1: 'success',
-        draft: 'info',
-        0: 'danger'
-      }
-=======
       const statusMap = { 1: 'success', draft: 'info', 0: 'danger' }
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
       return statusMap[status]
     },
     lengthFilter(value) {
@@ -281,13 +226,9 @@ export default {
         methodName: '',
         methodProtocol: 'http',
         ruleDesc: '',
-<<<<<<< HEAD
-        ruleDescSeen: false
-=======
         ruleDescSeen: false,
         formLabelWidths: '7px',
         paramtions: {}
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
       },
       showSubmit: true,
       jsonTit: `{ 'code': 200, 'data': { 'crowdComposition': 'U_866', 'campaignId': 789, 'id': 4606, 'class': 'com.didi.prado.config.api.dto.CampaignCrowdDTO'}}`,
@@ -297,54 +238,17 @@ export default {
       expressOptionWithutAny: [],
       // statusOptions: ['published', 'draft', 'deleted'],
       showReviewer: false,
-<<<<<<< HEAD
-      ruleData: {
-        methodId: 0,
-        updator: '',
-        methodName: '',
-        execSort: 1,
-        whenScript: '',
-        ruleDesc: '',
-        returnMessage: '',
-        curIndex: 1,
-        pageSize: 20,
-        methodProtocol: 'http'
-      },
-=======
       metaRule: [],
       showRules: false,
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
       dialogFormVisible: false,
       showguiz: true,
       dialogStatus: '',
       textMap: {
         update: '编辑',
-<<<<<<< HEAD
-        create: '新增规则'
-      },
-      dialogPvVisible: false,
-      pvData: [],
-      roleDataRules: {
-        whenScript: [{ required: true, message: '规则不能为空', trigger: 'change' }],
-        execSort: [{ required: true, message: '优先级1-100', trigger: 'change' }],
-        returnMessage: [{ required: true, message: '不能为空', trigger: 'change' }],
-        ruleDesc: [{ required: true, message: '规则描述不能为空', trigger: 'change' }]
-        // interfaceName: [{ required: true, message: '接口名称不能为空', trigger: 'change' }],
-        // serviceVersion: [{ required: true, message: '服务版本不能为空', trigger: 'change' }],
-        // protocol: [{ required: true, message: '请选择协议类型', trigger: 'change' }],
-        // consumerIds: [{ required: false, message: '请选择消费者', trigger: 'change' }],
-        // methodName: [{ required: true, message: '方法名称不能为空', trigger: 'change' }],
-        // methodParamsTypes: [{ required: true, message: '入参类型不能为空', trigger: 'change' }],
-        // returnDataStructure: [{ required: true, message: '返回值类型不能为空', trigger: 'change' }]
-      },
-      downloadLoading: false,
-      desc: true
-=======
         create: '新增'
       },
       desc: true,
       dataFrom: {}
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
     }
   },
   created() {
@@ -588,62 +492,15 @@ export default {
       changeStatus(statusData).then(response => {
         if (response.code === 200) {
           row.status = status
-<<<<<<< HEAD
-          this.$message({
-            message: '规则ID:' + row.id.toString() + ' 操作成功!',
-            type: 'success'
-          })
-        } else {
-          this.$message({
-            message: '规则ID:' + row.id.toString() + ' 操作失败!',
-            type: 'danger'
-          })
-=======
           this.$message({ message: row.id.toString() + ' 操作成功!', type: 'success' })
         } else {
           this.$message({ message: row.id.toString() + ' 操作失败!', type: 'danger' })
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
         }
       })
     },
 
     // 复制Data
     handleCopy(row) {
-<<<<<<< HEAD
-      // this.ruleData = {
-      //   // id: row.id,
-      //   customName: row.customName,
-      //   httpUrl: row.httpUrl,
-      //   execSort: row.execSort,
-      //   whenScript: row.whenScript,
-      //   methodProtocol: row.methodProtocol,
-      //   status: row.status,
-      //   returnMessage: row.returnMessage
-      // }
-      this.ruleData = Object.assign({}, row) // copy obj
-      this.ruleData.timestamp = new Date(this.ruleData.timestamp)
-      this.dialogStatus = 'create'
-      this.dialogFormVisible = true
-      this.showSubmit = true
-      this.$nextTick(() => {
-        this.$refs['ruleDataForm'].clearValidate()
-      })
-    },
-    updateData() {
-      this.$refs['ruleDataForm'].validate((valid) => {
-        if (valid) {
-          //   const tempData = Object.assign({}, this.ruleData)
-          const tempData = {
-            id: this.ruleData.id,
-            methodId: parseInt(this.$route.path.split('/')[3]),
-            updator: '',
-            execSort: this.ruleData.execSort,
-            whenScript: this.ruleData.whenScript,
-            returnMessage: this.ruleData.returnMessage,
-            mehtodName: this.$route.query.methodName,
-            methodProtocol: this.$route.query.methodProtocol,
-            ruleDesc: this.ruleData.ruleDesc
-=======
       var queryData = { id: row.id }
       fetchRuleById(queryData).then(response => {
         this.ruleForm = response.data.mockRuleList[0]
@@ -659,7 +516,6 @@ export default {
             this.$set(this.ruleForm, 'expression2', a.expression.split('.')[1])
             this.$set(this.ruleForm, 'judgeType', a.judgeType)
             this.$set(this.ruleForm, 'judgeValue', a.judgeValue)
->>>>>>> 35077813b17465e1ad88ec639629e669deba7849
           }
         }
         this.dialogStatus = 'create'