332777428@qq.com пре 1 месец
родитељ
комит
fd59ccc1da
2 измењених фајлова са 1 додато и 62 уклоњено
  1. 0 27
      src/views/operation/channel/index.vue
  2. 1 35
      src/views/operation/channels/index.vue

+ 0 - 27
src/views/operation/channel/index.vue

@@ -30,33 +30,6 @@
         show-overflow-tooltip
       />
 
-      <!-- <el-table-column label="序号" align="center">
-        <template slot-scope="scope">
-          <div v-if="editData.currentEditIndex !== scope.$index">
-            <span style="margin-right: 8px">
-              {{ scope.row.indexNum }}
-              <!-- {{ scope.$index + 1 }} -->
-              <!-- {{ scope.row.sort || "" }} -->
-            </span>
-            <svg-icon
-              icon-class="edit"
-              @click.native="handleEditClick(scope.row, scope.$index)"
-            />
-          </div>
-          <el-input
-            v-else
-            v-model="scope.row.indexNum"
-            size="mini"
-            style="width: 60px"
-            type="number"
-            @blur="onNumberBlur(scope.row, scope.$index)"
-            @keyup.enter.native="onNumberBlurEnter(scope.row, scope.$index)"
-            placeholder="序号"
-            ref="numberInput"
-          />
-        </template>
-      </el-table-column> -->
-
       <el-table-column label="操作" align="center">
         <template slot-scope="scope">
           <el-button

+ 1 - 35
src/views/operation/channels/index.vue

@@ -26,40 +26,6 @@
 
       <!-- <el-table-column label="序号" align="center" prop="sort" /> -->
 
-      <!-- <el-table-column label="序号" align="center">
-        <template slot-scope="scope">
-          <div v-if="editData.currentEditIndex !== scope.$index">
-            <span style="margin-right: 8px">
-              {{ scope.row.indexNum }}
-            </span>
-            <svg-icon
-              icon-class="edit"
-              @click.native="handleEditClick(scope.row, scope.$index)"
-            />
-          </div>
-
-
-          <el-input
-            v-else
-            v-model="scope.row.indexNum"
-            size="mini"
-            style="width: 60px"
-            type="number"
-            @blur="onNumberBlur(scope.row, scope.$index)"
-            @keyup.enter.native="onNumberBlurEnter(scope.row, scope.$index)"
-            placeholder="序号"
-            ref="numberInput"
-          />
-        </template>
-      </el-table-column> -->
-
-      <!-- <el-table-column label="序号" align="center">
-        <template slot-scope="scope">
-          <el-button type="text">{{ scope.row.sort }}</el-button>
-          <el-button type="text" icon="el-icon-edit" />
-        </template>
-      </el-table-column> -->
-
       <el-table-column label="操作" align="center">
         <template slot-scope="scope">
           <el-button type="text" @click="getDialog(scope.row, true)"
@@ -321,7 +287,7 @@ dev,
 edit,
 list,
 remove,
-submit
+submit,
 } from "@/api/operation/channels";
 
 import { dialogCallBack } from "@/utils/DialogUtil";