|
|
@ -8,7 +8,8 @@ |
|
|
|
size="mini" |
|
|
|
@click="handleAdd" |
|
|
|
v-hasPermi="[`bzj:${type}:add`]" |
|
|
|
>新增</el-button |
|
|
|
>新增 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="success" |
|
|
@ -17,7 +18,8 @@ |
|
|
|
:disabled="single" |
|
|
|
@click="handleUpdate" |
|
|
|
v-hasPermi="[`bzj:${type}:edit`]" |
|
|
|
>修改</el-button |
|
|
|
>修改 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
type="danger" |
|
|
@ -26,7 +28,8 @@ |
|
|
|
:disabled="multiple" |
|
|
|
@click="handleDelete" |
|
|
|
v-hasPermi="[`bzj:${type}:remove`]" |
|
|
|
>删除</el-button |
|
|
|
>删除 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<right-toolbar |
|
|
|
:showSearch.sync="showSearch" |
|
|
@ -85,7 +88,8 @@ |
|
|
|
>搜索</el-button |
|
|
|
> --> |
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" |
|
|
|
>重置</el-button |
|
|
|
>重置 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
@ -192,7 +196,8 @@ |
|
|
|
icon="el-icon-edit" |
|
|
|
@click="handleUpdate(scope.row)" |
|
|
|
v-hasPermi="[`bzj:${type}:edit`]" |
|
|
|
>修改</el-button |
|
|
|
>修改 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
size="mini" |
|
|
@ -200,7 +205,8 @@ |
|
|
|
icon="el-icon-delete" |
|
|
|
@click="handleDelete(scope.row)" |
|
|
|
v-hasPermi="[`bzj:${type}:remove`]" |
|
|
|
>删除</el-button |
|
|
|
>删除 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -244,7 +250,7 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="12" v-if="!hasFive"> |
|
|
|
<el-form-item label="缴存单位" prop="guaranteeBankName"> |
|
|
|
<el-input |
|
|
|
v-model="form.guaranteeBankName" |
|
|
@ -252,7 +258,7 @@ |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<!-- ===========不共有============== --> |
|
|
|
<!-- 1、现金存储 --> |
|
|
@ -516,12 +522,26 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
<!--免缴保证金--> |
|
|
|
<el-col :span="12" v-if="hasFive"> |
|
|
|
<el-form-item |
|
|
|
label="说明" |
|
|
|
prop="remark" |
|
|
|
> |
|
|
|
<el-input |
|
|
|
v-model="form.remark" |
|
|
|
placeholder="请输入说明" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
<!-- ===========共有============== --> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="附件材料" prop="cashStorageFile"> |
|
|
|
<myUpload :fileList="fileList"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
</el-row> |
|
|
|
|
|
|
@ -577,7 +597,8 @@ |
|
|
|
size="mini" |
|
|
|
@click="importTemplate" |
|
|
|
style="font-size: 14px" |
|
|
|
>模版下载</el-button |
|
|
|
>模版下载 |
|
|
|
</el-button |
|
|
|
> |
|
|
|
<span style="font-size: 16px; color: red; margin-left: 20px" |
|
|
|
>提示:仅允许导入“xls”或“xlsx”格式文件! |
|
|
@ -752,6 +773,13 @@ export default { |
|
|
|
}, |
|
|
|
{max: 250, message: "字符长度最大为250", trigger: "blur"}, |
|
|
|
], |
|
|
|
remark: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "请输入说明", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
|
|
|
|
depositAmount: [ |
|
|
|
{ |
|
|
@ -923,6 +951,9 @@ export default { |
|
|
|
hasFour() { |
|
|
|
return this.form.depositMethods?.some((res) => res == 3); |
|
|
|
}, |
|
|
|
hasFive() { |
|
|
|
return this.form.depositMethods?.some((res) => res == 4); |
|
|
|
}, |
|
|
|
dialogTitle() { |
|
|
|
let res; |
|
|
|
switch (this.type) { |
|
|
@ -1361,7 +1392,8 @@ export default { |
|
|
|
this.getList(); |
|
|
|
this.msgSuccess("删除成功"); |
|
|
|
}) |
|
|
|
.catch(function () {}); |
|
|
|
.catch(function () { |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.$message.warning("请选择要删除的数据!!"); |
|
|
|
} |
|
|
@ -1386,13 +1418,15 @@ export default { |
|
|
|
this.downloadFile(response, true, response.msg); |
|
|
|
// this.download(response.msg); |
|
|
|
}) |
|
|
|
.catch(function () {}); |
|
|
|
.catch(function () { |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|
@import "@/assets/css/dialog.scss"; |
|
|
|
|
|
|
|
::v-deep { |
|
|
|
.el-dialog { |
|
|
|
margin-top: 10vh !important; |
|
|
|