From 68df33aafaed8352f2b4fd956d3f3d9e3942eb92 Mon Sep 17 00:00:00 2001
From: hongchao <3228015117@qq.com>
Date: Sat, 5 Jul 2025 13:46:52 +0800
Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=97=AE=E9=A2=98=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D-=E8=8F=9C=E5=8D=95=E9=9A=90=E8=97=8F=EF=BC=8C?=
=?UTF-8?q?=E5=B7=A5=E7=A8=8B=E9=A1=B9=E7=9B=AE=E4=BF=AE=E6=AD=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/material/basic/bmProject/index.vue | 29 ++++--
src/views/material/basic/bmUnit/index.vue | 4 +-
.../repair-testing/one-machine/index.vue | 2 +-
src/views/system/user/index.vue | 92 +++++++++----------
4 files changed, 71 insertions(+), 56 deletions(-)
diff --git a/src/views/material/basic/bmProject/index.vue b/src/views/material/basic/bmProject/index.vue
index 6f00558c..b89dbe4f 100644
--- a/src/views/material/basic/bmProject/index.vue
+++ b/src/views/material/basic/bmProject/index.vue
@@ -74,6 +74,7 @@
+
@@ -209,33 +210,45 @@
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
-
-
-
+
item.id == val)
@@ -657,6 +671,7 @@ export default {
this.form.proCenter = current.textcol1
this.form.impUnit = this.impUnitList.find(item => item.label == current.oname)?.value
this.form.proStatus = this.proStatusOpts.find(item => item.label == current.stat)?.value
+ this.form.actualEndDate = current.factEndDt
}
}
}
diff --git a/src/views/material/basic/bmUnit/index.vue b/src/views/material/basic/bmUnit/index.vue
index 9d586dd2..7d7e9f0b 100644
--- a/src/views/material/basic/bmUnit/index.vue
+++ b/src/views/material/basic/bmUnit/index.vue
@@ -47,7 +47,7 @@
>新建
-
+
{
- // 调用 validateNewPassword 校验
- const errorMessage=function(error) {
- if (error) {
- return error.message;
- } else {
- console.log('验证通过');
- }
- };
- validateNewPassword(null, value, errorMessage);
- }
- }).then(({ value }) => {
- confirmPassword(value).then(response => {
- this.$modal.msgSuccess('验证成功')
+ // this.$prompt('请输入密码,鉴别用户', '提示', {
+ // confirmButtonText: '确定',
+ // cancelButtonText: '取消',
+ // closeOnClickModal: false,
+ // inputPattern: /^.{8,16}$/,
+ // inputErrorMessage: '用户密码长度必须介于 8 和 16 之间',
+ // inputValidator: (value) => {
+ // // 调用 validateNewPassword 校验
+ // const errorMessage=function(error) {
+ // if (error) {
+ // return error.message;
+ // } else {
+ // console.log('验证通过');
+ // }
+ // };
+ // validateNewPassword(null, value, errorMessage);
+ // }
+ // }).then(({ value }) => {
+ // confirmPassword(value).then(response => {
+ // this.$modal.msgSuccess('验证成功')
this.handleUpdate(row)
- })
- }).catch(() => {
- })
+ // })
+ // }).catch(() => {
+ // })
},
confirmResetPwd(row){
- this.$prompt('请输入密码,鉴别用户', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- closeOnClickModal: false,
- inputPattern: /^.{8,16}$/,
- inputErrorMessage: '用户密码长度必须介于 8 和 16 之间',
- inputValidator: (value) => {
- // 调用 validateNewPassword 校验
- const errorMessage=function(error) {
- if (error) {
- return error.message;
- } else {
- console.log('验证通过');
- }
- };
- validateNewPassword(null, value, errorMessage);
- }
- }).then(({ value }) => {
- confirmPassword(value).then(response => {
- this.$modal.msgSuccess('验证成功')
+ // this.$prompt('请输入密码,鉴别用户', '提示', {
+ // confirmButtonText: '确定',
+ // cancelButtonText: '取消',
+ // closeOnClickModal: false,
+ // inputPattern: /^.{8,16}$/,
+ // inputErrorMessage: '用户密码长度必须介于 8 和 16 之间',
+ // inputValidator: (value) => {
+ // // 调用 validateNewPassword 校验
+ // const errorMessage=function(error) {
+ // if (error) {
+ // return error.message;
+ // } else {
+ // console.log('验证通过');
+ // }
+ // };
+ // validateNewPassword(null, value, errorMessage);
+ // }
+ // }).then(({ value }) => {
+ // confirmPassword(value).then(response => {
+ // this.$modal.msgSuccess('验证成功')
this.handleResetPwd(row)
- })
- }).catch(() => {
- })
+ // })
+ // }).catch(() => {
+ // })
},
/** 重置密码按钮操作 */
handleResetPwd(row) {