Commit 578ced36 by caoyanzhi

fix: lint fix

parent 642d533f
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
v-if="item.isShow == 1" v-if="item.isShow == 1"
:class="['tab-left-list-cell p-l-14', {'active-tab': item.uri === activeTab}]" :class="['tab-left-list-cell p-l-14', {'active-tab': item.uri === activeTab}]"
:key="item.id" :key="item.id"
@click="selectTab(item)" @click="selectTab(item)">
>
<!-- <i class="my-icon" :class="['iconfont', item.icon, !!item.onlyIconActive ? 'iconActive' : '']"></i> --> <!-- <i class="my-icon" :class="['iconfont', item.icon, !!item.onlyIconActive ? 'iconActive' : '']"></i> -->
{{ item.menuName }} {{ item.menuName }}
<i v-if="item.nodeChildren && item.nodeChildren.length" :class="[item.collapsFlag ? 'el-icon-arrow-up' : 'el-icon-arrow-down']"></i> <i v-if="item.nodeChildren && item.nodeChildren.length" :class="[item.collapsFlag ? 'el-icon-arrow-up' : 'el-icon-arrow-down']"></i>
...@@ -18,8 +17,7 @@ ...@@ -18,8 +17,7 @@
v-if="childitem.isShow == 1" v-if="childitem.isShow == 1"
:class="['tab-left-list-cell p-l-40', {'active-tab': childitem.uri == activeTab}]" :class="['tab-left-list-cell p-l-40', {'active-tab': childitem.uri == activeTab}]"
:key="childitem.id" :key="childitem.id"
@click="selectTab(childitem)" @click="selectTab(childitem)">
>
{{ childitem.menuName }} {{ childitem.menuName }}
<i v-if="childitem.nodeChildren && childitem.nodeChildren.length" :class="[childitem.collapsFlag ? 'el-icon-arrow-up' : 'el-icon-arrow-down']"></i> <i v-if="childitem.nodeChildren && childitem.nodeChildren.length" :class="[childitem.collapsFlag ? 'el-icon-arrow-up' : 'el-icon-arrow-down']"></i>
</li> </li>
...@@ -29,8 +27,7 @@ ...@@ -29,8 +27,7 @@
v-if="thirditem.isShow == 1" v-if="thirditem.isShow == 1"
:class="['tab-left-list-cell p-l-60', {'active-tab': thirditem.uri === activeTab }]" :class="['tab-left-list-cell p-l-60', {'active-tab': thirditem.uri === activeTab }]"
:key="thirditem.id" :key="thirditem.id"
@click="selectTab(thirditem)" @click="selectTab(thirditem)">
>
{{ thirditem.menuName }} {{ thirditem.menuName }}
</li> </li>
</template> </template>
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
clearable clearable
v-model.trim="search.search" v-model.trim="search.search"
@change="onSearch" @change="onSearch"></el-input>
></el-input>
<el-select style="margin-left: 10px;width: 106px" placeholder="全部版本" clearable v-model="search.version" @change="onSearch"> <el-select style="margin-left: 10px;width: 106px" placeholder="全部版本" clearable v-model="search.version" @change="onSearch">
<el-option v-for="el in versionList" :key="el.value" :value="el.value" :label="el.label"></el-option> <el-option v-for="el in versionList" :key="el.value" :value="el.value" :label="el.label"></el-option>
</el-select> </el-select>
...@@ -51,8 +50,7 @@ ...@@ -51,8 +50,7 @@
:page-size="pager.pageSize" :page-size="pager.pageSize"
:current-page="pager.currentPage" :current-page="pager.currentPage"
@size-change="onSizeChange" @size-change="onSizeChange"
@current-change="onCurrentChange" @current-change="onCurrentChange"></el-pagination>
></el-pagination>
</div> </div>
</template> </template>
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
clearable clearable
v-model.trim="search" v-model.trim="search"
@change="onSearch" @change="onSearch"></el-input>
></el-input>
<el-button style="float: right" type="primary" @click="editOperation.show = true">新建操作项</el-button> <el-button style="float: right" type="primary" @click="editOperation.show = true">新建操作项</el-button>
<el-table style="margin-top: 20px" :data="operationList"> <el-table style="margin-top: 20px" :data="operationList">
<el-table-column label="操作项名称" prop="operationItemName" :formatter="(row, col, val) => val || '--'"></el-table-column> <el-table-column label="操作项名称" prop="operationItemName" :formatter="(row, col, val) => val || '--'"></el-table-column>
...@@ -31,8 +30,7 @@ ...@@ -31,8 +30,7 @@
:page-size="pager.pageSize" :page-size="pager.pageSize"
:current-page="pager.currentPage" :current-page="pager.currentPage"
@size-change="onSizeChage" @size-change="onSizeChage"
@current-change="onCurrentChange" @current-change="onCurrentChange"></el-pagination>
></el-pagination>
<el-dialog :visible.sync="editOperation.show" :title="editOperation.operationItemId ? '编辑操作项' : '新建操作项'" width="590px" @closed="onEditOperationClose"> <el-dialog :visible.sync="editOperation.show" :title="editOperation.operationItemId ? '编辑操作项' : '新建操作项'" width="590px" @closed="onEditOperationClose">
<el-form :model="editOperation" :rules="editOperationRule" ref="editOperation" label-width="110px" @submit.native.prevent> <el-form :model="editOperation" :rules="editOperationRule" ref="editOperation" label-width="110px" @submit.native.prevent>
<el-form-item label="节点" prop="menuId"> <el-form-item label="节点" prop="menuId">
...@@ -63,8 +61,7 @@ ...@@ -63,8 +61,7 @@
style="width: 440px" style="width: 440px"
maxlength="20" maxlength="20"
show-word-limit show-word-limit
v-model.trim="editOperation.operationItemName" v-model.trim="editOperation.operationItemName"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="操作项code" prop="operationItemCode"> <el-form-item label="操作项code" prop="operationItemCode">
<el-input <el-input
...@@ -72,8 +69,7 @@ ...@@ -72,8 +69,7 @@
style="width: 440px" style="width: 440px"
maxlength="40" maxlength="40"
show-word-limit show-word-limit
v-model.trim="editOperation.operationItemCode" v-model.trim="editOperation.operationItemCode"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="请求URL"> <el-form-item label="请求URL">
<el-input <el-input
...@@ -81,8 +77,7 @@ ...@@ -81,8 +77,7 @@
style="width: 440px" style="width: 440px"
maxlength="200" maxlength="200"
show-word-limit show-word-limit
v-model.trim="editOperation.operationItemUrl" v-model.trim="editOperation.operationItemUrl"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="生成权限项"> <el-form-item label="生成权限项">
<el-switch :value="editOperation.authItemFlag == 1" @change="editOperation.authItemFlag = editOperation.authItemFlag == 1 ? 0 : 1"></el-switch> <el-switch :value="editOperation.authItemFlag == 1" @change="editOperation.authItemFlag = editOperation.authItemFlag == 1 ? 0 : 1"></el-switch>
......
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
style="width: 440px" style="width: 440px"
maxlength="20" maxlength="20"
show-word-limit show-word-limit
v-model.trim="editAuth.authItemName" v-model.trim="editAuth.authItemName"></el-input>
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="包含操作项" prop="operationItemIds"> <el-form-item label="包含操作项" prop="operationItemIds">
<el-select v-model="editAuth.operationItemIds" collapse-tags multiple clearable style="width:332px"> <el-select v-model="editAuth.operationItemIds" collapse-tags multiple clearable style="width:332px">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment