Commit eef1442e authored by 姬鋆屾's avatar 姬鋆屾

parent 40f95244
...@@ -24,7 +24,12 @@ ...@@ -24,7 +24,12 @@
<h3>规则管理</h3> <h3>规则管理</h3>
<div class="search_box"> <div class="search_box">
<div class="left_search"> <div class="left_search">
<el-button type="primary" style="margin:20px 0" @click="addRules"> <el-button
type="primary"
style="margin:20px 0"
@click="addRules"
v-if="cateObj && cateObj.type"
>
+ 新增规则</el-button + 新增规则</el-button
> >
<el-switch <el-switch
......
...@@ -156,6 +156,7 @@ export default { ...@@ -156,6 +156,7 @@ export default {
this.reset(); this.reset();
// this.urls.currUrl = "perform/rules/add"; // this.urls.currUrl = "perform/rules/add";
// this.getData(); // this.getData();
this.form.type = obj.type;
this.dict = { this.dict = {
subAddType: { subAddType: {
"1": "增加", "1": "增加",
...@@ -222,7 +223,6 @@ export default { ...@@ -222,7 +223,6 @@ export default {
assoOwner: "", assoOwner: "",
ownerScore: 0.0, ownerScore: 0.0,
remark: "", remark: "",
type: "",
}; };
this.resetForm("form"); this.resetForm("form");
}, },
......
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