diff --git a/sgzb-ui/src/views/base/assetAttributeAllocation/index.vue b/sgzb-ui/src/views/base/assetAttributeAllocation/index.vue index fe4ecdb3..49ea107f 100644 --- a/sgzb-ui/src/views/base/assetAttributeAllocation/index.vue +++ b/sgzb-ui/src/views/base/assetAttributeAllocation/index.vue @@ -102,8 +102,13 @@ - - + + + + + @@ -135,7 +140,9 @@ /> - + + + @@ -221,34 +228,9 @@ export default { { key: 5, label: `状态`, visible: true }, { key: 6, label: `创建时间`, visible: true } ], - // 表单校验 - rules: { - userName: [ - { required: true, message: "用户名称不能为空", trigger: "blur" }, - { min: 2, max: 20, message: '用户名称长度必须介于 2 和 20 之间', trigger: 'blur' } - ], - nickName: [ - { required: true, message: "用户昵称不能为空", trigger: "blur" } - ], - password: [ - { required: true, message: "用户密码不能为空", trigger: "blur" }, - { min: 5, max: 20, message: '用户密码长度必须介于 5 和 20 之间', trigger: 'blur' } - ], - email: [ - { - type: "email", - message: "请输入正确的邮箱地址", - trigger: ["blur", "change"] - } - ], - phonenumber: [ - { - pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, - message: "请输入正确的手机号码", - trigger: "blur" - } - ] - } + dialogImageUrl: '', + dialogVisible: false, + uploadUrl: process.env.VUE_APP_BASE_API + "/system", // 上传的图片服务器地址 }; }, watch: { @@ -364,6 +346,11 @@ export default { } }, + //图片查看 + openImg(url){ + this.dialogImageUrl = this.uploadUrl + url; + this.dialogVisible = true; + }, /** 删除按钮操作 */ handleDelete(row) { const typeIds = row.typeId; diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue index 2142e258..e7b11fe3 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue @@ -1,5 +1,5 @@