产值计划
This commit is contained in:
@ -27,19 +27,11 @@
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['out:settlementValueOwner:add']">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['out:settlementValueOwner:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['out:settlementValueOwner:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['out:settlementValueOwner:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
</template>
|
||||
@ -88,7 +80,7 @@
|
||||
<el-dialog :title="dialog.title" v-model="dialog.visible" width="500px" append-to-body>
|
||||
<el-form ref="settlementValueOwnerFormRef" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form-item label="结算产值" prop="settlementValue">
|
||||
<el-input v-model="form.settlementValue" placeholder="请输入结算产值" />
|
||||
<el-input v-model="form.settlementValue" type="number" placeholder="请输入结算产值" />
|
||||
</el-form-item>
|
||||
<el-form-item label="产值类型" prop="valueType">
|
||||
<el-select v-model="form.valueType" placeholder="请选择产值类型">
|
||||
@ -261,16 +253,6 @@ const handleDelete = async (row?: SettlementValueOwnerVO) => {
|
||||
await getList();
|
||||
};
|
||||
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download(
|
||||
'out/settlementValueOwner/export',
|
||||
{
|
||||
...queryParams.value
|
||||
},
|
||||
`settlementValueOwner_${new Date().getTime()}.xlsx`
|
||||
);
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
getList();
|
||||
@ -289,4 +271,7 @@ const listeningProject = watch(
|
||||
onUnmounted(() => {
|
||||
listeningProject();
|
||||
});
|
||||
defineExpose({
|
||||
getList
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user