Explorar el Código

修改:账户选择

zhuxinbo hace 5 años
padre
commit
34bfc0e4e4

+ 1 - 19
src/views/modules/Statistics/components/Treeselect.vue

@@ -34,24 +34,7 @@ export default {
   data: () => ({
     value: null,
     valueConsistsOf: 'LEAF_PRIORITY',
-    options: [
-      {
-        id: 'success',
-        label: 'With children',
-        // Declare an unloaded branch node.
-        children: null
-      },
-      {
-        id: 'no-children',
-        label: 'With no children',
-        children: null
-      },
-      {
-        id: 'failure',
-        label: 'Demonstrates error handling',
-        children: null
-      }
-    ]
+    options: []
   }),
   components: { Treeselect },
   watch: {
@@ -88,7 +71,6 @@ export default {
       // Typically, do the AJAX stuff here.
       // Once the server has responded,
       // assign children options to the parent node & call the callback.
-      console.log(action)
       if (action === LOAD_CHILDREN_OPTIONS) {
         getAction('/ctop/userAllocation/getAccountListByProjectId', { projectId: parentNode.id }).then(res => {
           console.log(res)

+ 0 - 10
src/views/modules/advertiser/AdvertiserList.vue

@@ -206,16 +206,6 @@
         // 表头
         columns: [
           {
-            title: '#',
-            dataIndex: '',
-            key: 'rowIndex',
-            width: 60,
-            align: 'center',
-            customRender: function (t, r, index) {
-              return parseInt(index) + 1;
-            }
-          },
-          {
             title: '广告主名称',
             align: 'center',
             dataIndex: 'name'

+ 1 - 26
src/views/modules/appium/AppiumTaskLogList.vue

@@ -5,18 +5,7 @@
     <div class="table-page-search-wrapper">
       <a-form layout="inline">
         <a-row :gutter="24">
-
-          <a-col :md="6" :sm="8">
-            <a-form-item label="任务ID">
-              <a-input placeholder="请输入任务ID" v-model="queryParam.taskId"></a-input>
-            </a-form-item>
-          </a-col>
-          <a-col :md="6" :sm="8">
-            <a-form-item label="设备ID">
-              <a-input placeholder="请输入设备ID" v-model="queryParam.deviceId"></a-input>
-            </a-form-item>
-          </a-col>
-        <template v-if="toggleSearchStatus">
+        <template>
         <a-col :md="6" :sm="8">
             <a-form-item label="任务名称">
               <a-input placeholder="请输入任务名称" v-model="queryParam.taskName"></a-input>
@@ -37,10 +26,6 @@
             <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
               <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
               <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
-              <a @click="handleToggleSearch" style="margin-left: 8px">
-                {{ toggleSearchStatus ? '收起' : '展开' }}
-                <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
-              </a>
             </span>
           </a-col>
 
@@ -51,20 +36,10 @@
     <!-- 操作按钮区域 -->
     <div class="table-operator">
       <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
-      <a-dropdown v-if="selectedRowKeys.length > 0">
-        <a-menu slot="overlay">
-          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
-        </a-menu>
-        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
-      </a-dropdown>
     </div>
 
     <!-- table区域-begin -->
     <div>
-      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
-        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
-        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
-      </div>
 
       <a-table
         ref="table"