Commit 0567b380 authored by 鲁鑫's avatar 鲁鑫

去掉权限验证

parent 483560cb
...@@ -7,7 +7,7 @@ import store from '@/store' ...@@ -7,7 +7,7 @@ import store from '@/store'
export default { export default {
inserted(el, binding, vnode) { inserted(el, binding, vnode) {
const { value } = binding /*const { value } = binding
const all_permission = "*:*:*"; const all_permission = "*:*:*";
const permissions = store.getters && store.getters.permissions const permissions = store.getters && store.getters.permissions
...@@ -23,6 +23,6 @@ export default { ...@@ -23,6 +23,6 @@ export default {
} }
} else { } else {
throw new Error(`请设置操作权限标签值`) throw new Error(`请设置操作权限标签值`)
} }*/
} }
} }
...@@ -1037,7 +1037,7 @@ export default { ...@@ -1037,7 +1037,7 @@ export default {
} else if (this.activeName === 'SapQAProperty') { } else if (this.activeName === 'SapQAProperty') {
this.$refs.SapQAProperty.init(2,'sapQA', this.form.itemId, this.form) this.$refs.SapQAProperty.init(2,'sapQA', this.form.itemId, this.form)
} else if (this.activeName === 'SapFinanceProperty') { } else if (this.activeName === 'SapFinanceProperty') {
this.$refs.SapFinanceProperty.init(2,'sapQA', this.form.itemId, this.form) this.$refs.SapFinanceProperty.init(2,'sapFinance', this.form.itemId, this.form)
} //else this.$refs[this.activeName].init && this.$refs[this.activeName].init(this.form) } //else this.$refs[this.activeName].init && this.$refs[this.activeName].init(this.form)
} }
}, },
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['md:clause:add']" v-hasPermi="['md:payment:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
size="mini" size="mini"
:disabled="single" :disabled="single"
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['md:clause:edit']" v-hasPermi="['md:payment:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['md:clause:remove']" v-hasPermi="['md:payment:remove']"
>删除</el-button> >删除</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['md:clause:export']" v-hasPermi="['md:payment:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...@@ -97,14 +97,14 @@ ...@@ -97,14 +97,14 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['md:clause:edit']" v-hasPermi="['md:payment:edit']"
>修改</el-button> >修改</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['md:clause:remove']" v-hasPermi="['md:payment:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download('md/clause/export', { this.download('md/payment/export', {
...this.queryParams ...this.queryParams
}, `clause_${new Date().getTime()}.xlsx`) }, `clause_${new Date().getTime()}.xlsx`)
} }
......
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