编码规则前端代码修改
This commit is contained in:
parent
accb5d33a6
commit
0a3695a54d
@ -48,20 +48,4 @@ export function delRule(ruleId) {
|
||||
url: '/system/autocode/rule/' + ruleId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 刷新字典缓存
|
||||
export function refreshCache() {
|
||||
return request({
|
||||
url: '/system/autocode/rule/refreshCache',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取字典选择框列表
|
||||
export function optionselect() {
|
||||
return request({
|
||||
url: '/system/autocode/rule/optionselect',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
@ -73,16 +73,6 @@
|
||||
v-hasPermi="['system:autocode:rule:remove']"
|
||||
>删除</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-refresh"
|
||||
size="mini"
|
||||
@click="handleRefreshCache"
|
||||
v-hasPermi="['system:autocode:rule:remove']"
|
||||
>刷新缓存</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
@ -189,7 +179,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { listRule, getRule, delRule, addRule, updateRule, refreshCache } from "@/api/system/autocode/rule";
|
||||
import { listRule, getRule, delRule, addRule, updateRule } from "@/api/system/autocode/rule";
|
||||
|
||||
export default {
|
||||
name: "autoCodeRule",
|
||||
|
Loading…
Reference in New Issue
Block a user