档案合集导出,审核权限

master
wanglei 2 years ago
parent 3088f9c3dd
commit 2ec0ac4dd7

@ -200,6 +200,16 @@
v-hasPermi="['dangan:birthDJ:add']" v-hasPermi="['dangan:birthDJ:add']"
>新增手动识别</el-button> >新增手动识别</el-button>
</el-col> </el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['dangan:birthDJ:export']"
>导出</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>
@ -265,7 +275,7 @@
size="mini" size="mini"
type="text" type="text"
@click="handleShenHe(scope.row)" @click="handleShenHe(scope.row)"
v-hasPermi="['dangan:qyz:edit']" v-hasPermi="['dangan:qyz:audit']"
>审核</el-button> >审核</el-button>
<el-button <el-button
size="mini" size="mini"
@ -723,7 +733,6 @@
</el-table> </el-table>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
@ -966,6 +975,12 @@ export default {
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}).catch(() => {}); }).catch(() => {});
}, },
/** 导出按钮操作 */
handleExport() {
this.download('dangan/birthDJ/export', {
...this.queryParams
}, `birthDJ_${new Date().getTime()}.xlsx`)
},
/** 审核按钮操作 */ /** 审核按钮操作 */
handleShenHe(row) { handleShenHe(row) {
this.reset(); this.reset();

@ -405,7 +405,7 @@
size="mini" size="mini"
type="text" type="text"
@click="handleShenHe(scope.row)" @click="handleShenHe(scope.row)"
v-hasPermi="['dangan:czrkdj:edit']" v-hasPermi="['dangan:czrkdj:audit']"
>审核</el-button> >审核</el-button>
<el-button <el-button
size="mini" size="mini"

@ -216,6 +216,16 @@
v-hasPermi="['dangan:qyz:add']" v-hasPermi="['dangan:qyz:add']"
>新增手动识别</el-button> >新增手动识别</el-button>
</el-col> </el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['dangan:qyz:export']"
>导出</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>
@ -282,7 +292,7 @@
size="mini" size="mini"
type="text" type="text"
@click="handleShenHe(scope.row)" @click="handleShenHe(scope.row)"
v-hasPermi="['dangan:qyz:edit']" v-hasPermi="['dangan:qyz:audit']"
>审核</el-button> >审核</el-button>
<el-button <el-button
size="mini" size="mini"
@ -987,6 +997,12 @@ export default {
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}).catch(() => {}); }).catch(() => {});
}, },
/** 导出按钮操作 */
handleExport() {
this.download('dangan/qyz/export', {
...this.queryParams
}, `qyz_${new Date().getTime()}.xlsx`)
},
/** 审核按钮操作 */ /** 审核按钮操作 */
handleShenHe(row) { handleShenHe(row) {
this.reset(); this.reset();

@ -168,6 +168,16 @@
v-hasPermi="['dangan:ytzm:add']" v-hasPermi="['dangan:ytzm:add']"
>新增手动识别</el-button> >新增手动识别</el-button>
</el-col> </el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['dangan:ytzm:export']"
>导出</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>
@ -233,7 +243,7 @@
size="mini" size="mini"
type="text" type="text"
@click="handleShenHe(scope.row)" @click="handleShenHe(scope.row)"
v-hasPermi="['dangan:qyz:edit']" v-hasPermi="['dangan:qyz:audit']"
>审核</el-button> >审核</el-button>
<el-button <el-button
size="mini" size="mini"
@ -905,6 +915,12 @@ export default {
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}).catch(() => {}); }).catch(() => {});
}, },
/** 导出按钮操作 */
handleExport() {
this.download('dangan/ytzm/export', {
...this.queryParams
}, `ytzm_${new Date().getTime()}.xlsx`)
},
/** 审核按钮操作 */ /** 审核按钮操作 */
handleShenHe(row) { handleShenHe(row) {
this.reset(); this.reset();

@ -232,6 +232,16 @@
v-hasPermi="['dangan:zfnyhkcg:add']" v-hasPermi="['dangan:zfnyhkcg:add']"
>新增手动识别</el-button> >新增手动识别</el-button>
</el-col> </el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['dangan:zfnyhkcg:export']"
>导出</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>
@ -303,7 +313,7 @@
size="mini" size="mini"
type="text" type="text"
@click="handleShenHe(scope.row)" @click="handleShenHe(scope.row)"
v-hasPermi="['dangan:zfnyhkcg:edit']" v-hasPermi="['dangan:zfnyhkcg:audit']"
>审核</el-button> >审核</el-button>
<el-button <el-button
size="mini" size="mini"
@ -1045,6 +1055,12 @@ export default {
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");
}).catch(() => {}); }).catch(() => {});
}, },
/** 导出按钮操作 */
handleExport() {
this.download('dangan/zfnyhkcg/export', {
...this.queryParams
}, `zfnyhkcg_${new Date().getTime()}.xlsx`)
},
/** 审核按钮操作 */ /** 审核按钮操作 */
handleShenHe(row) { handleShenHe(row) {
this.reset(); this.reset();

@ -379,7 +379,7 @@
size="mini" size="mini"
type="text" type="text"
@click="handleShenHe(scope.row)" @click="handleShenHe(scope.row)"
v-hasPermi="['dangan:qyz:edit']" v-hasPermi="['dangan:qyz:audit']"
>审核</el-button> >审核</el-button>
<el-button <el-button
size="mini" size="mini"

Loading…
Cancel
Save