diff --git a/package.json b/package.json
index d34108e..fded66f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ant-design-pro",
- "version": "4.5.49",
+ "version": "4.5.50",
"private": true,
"description": "An out-of-box UI solution for enterprise applications",
"scripts": {
diff --git a/public/static/uploadPhoto/index.html b/public/static/uploadPhoto/index.html
index d5fb8b9..0262db0 100644
--- a/public/static/uploadPhoto/index.html
+++ b/public/static/uploadPhoto/index.html
@@ -2,24 +2,24 @@
-
-
-
- 图片上传
-
-
-
-
-
+
+
+
+ 图片上传
+
+
+
+
+
-
-
+
+
-
-
-
+
+
+
-
+
@@ -42,9 +42,9 @@
@click="submitUpload">保存单据
-
+
@@ -61,13 +61,33 @@
预览
+ xmlns="http://www.w3.org/2000/svg" p-id="3120" width="20" height="20">
+
+
+ 预览
+ xmlns="http://www.w3.org/2000/svg" p-id="2158" width="20" height="18">
+
+
+
+
+
删除
@@ -77,7 +97,7 @@
-
@@ -113,7 +133,7 @@
const tableType = getreqstr('tabletype');
const deleteType = getreqstr('deletetype');
const readonly = getreqstr('readonly') ? true : false;
- const actions = 'https://api.eshangtech.com/EShangApiMain'
+ const actions = 'https://ahyd.eshangtech.com/EShangApiMain'
let uploadRef = ref(null)
let showPreviewRef = ref(null)
let filename = ref('')
@@ -206,20 +226,20 @@
const handleRemove = (file) => {
var msg = "您真的确定要删除吗?\n\n请确认!";
if (confirm(msg)) {
- loading.value = true
- // const index = url.value.findIndex(n => n === file.ImageUrl)
- axios.get(actions + '/Picture/DeletePicture?imageid=' + file.ImageId + '&TableName=' +
- tableName + '&TableType=' + deleteType + '&ImagePath=' + file.ImagePath).then(res => {
- const data = res.data
- imageList.value = []
- if (data.Result_Code === 100) {
- getImages(tableId)
- ElMessage({
- type: 'success',
- message: '删除成功!'
- })
- }
- })
+ loading.value = true
+ // const index = url.value.findIndex(n => n === file.ImageUrl)
+ axios.get(actions + '/Picture/DeletePicture?imageid=' + file.ImageId + '&TableName=' +
+ tableName + '&TableType=' + deleteType + '&ImagePath=' + file.ImagePath).then(res => {
+ const data = res.data
+ imageList.value = []
+ if (data.Result_Code === 100) {
+ getImages(tableId)
+ ElMessage({
+ type: 'success',
+ message: '删除成功!'
+ })
+ }
+ })
}
}
// 获取图片列表
@@ -273,4 +293,4 @@
-
+