编码规则前端代码修改
This commit is contained in:
parent
accb5d33a6
commit
0a3695a54d
@ -49,19 +49,3 @@ export function delRule(ruleId) {
|
|||||||
method: 'delete'
|
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']"
|
v-hasPermi="['system:autocode:rule:remove']"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</el-col>
|
</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>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
@ -189,7 +179,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<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 {
|
export default {
|
||||||
name: "autoCodeRule",
|
name: "autoCodeRule",
|
||||||
|
Loading…
Reference in New Issue
Block a user