diff --git a/package-lock.json b/package-lock.json index ed1880871..c672b1df7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3596,23 +3596,6 @@ "upath": "^1.1.1" } }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "optional": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "optional": true - }, "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -13784,6 +13767,94 @@ "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.22.4.tgz", "integrity": "sha512-XLI5s0AdqMP2Lf4I4CmdmOq8kjb5DDFGR77wAuxCfpEuYSfhTRyyx6MetgZMiL6Lxa0DasjBOiOcciU3NkL3/Q==" }, + "vue-loader-v16": { + "version": "npm:vue-loader@16.8.3", + "resolved": "https://registry.npmmirror.com/vue-loader/download/vue-loader-16.8.3.tgz", + "integrity": "sha1-1D5nXe9bqTRdbH8FkUwT2GGZcIc=", + "dev": true, + "optional": true, + "requires": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "loader-utils": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1618995651629&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz", + "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", + "dev": true, + "optional": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.nlark.com/chalk/download/chalk-4.1.2.tgz?cache=0&sync_timestamp=1627646697260&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz", + "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", + "dev": true, + "optional": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.nlark.com/color-name/download/color-name-1.1.4.tgz", + "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", + "dev": true, + "optional": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz?cache=0&sync_timestamp=1626715907927&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhas-flag%2Fdownload%2Fhas-flag-4.0.0.tgz", + "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", + "dev": true, + "optional": true + }, + "hash-sum": { + "version": "2.0.0", + "resolved": "https://registry.npm.taobao.org/hash-sum/download/hash-sum-2.0.0.tgz", + "integrity": "sha1-gdAbtd6OpKIUrV1urRtSNGCwtFo=", + "dev": true, + "optional": true + }, + "loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/loader-utils/download/loader-utils-2.0.2.tgz?cache=0&sync_timestamp=1636687952028&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Floader-utils%2Fdownload%2Floader-utils-2.0.2.tgz", + "integrity": "sha1-1uO0+4GHByGuTghoqxHdY4NowSk=", + "dev": true, + "optional": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/download/supports-color-7.2.0.tgz", + "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", + "dev": true, + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "vue-router": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.0.tgz", diff --git a/public/static/onlyOffice/editor.html b/public/static/onlyOffice/editor.html index 3de05e8c2..4ff974662 100644 --- a/public/static/onlyOffice/editor.html +++ b/public/static/onlyOffice/editor.html @@ -1,6 +1,8 @@ + + @@ -8,7 +10,7 @@ 在线编辑 - + @@ -36,7 +38,7 @@ var filePath = GetQueryValue('filePath') var fileName = GetQueryValue('fileName') var fileUrl = GetQueryValue('fileUrl') - var standNo = GetQueryValue('standNo') + var oldFileName = GetQueryValue('oldFileName') var key = GetQueryValue('key') // var attId = GetQueryValue('attId') var fileSuffix = GetQueryValue('fileType') @@ -100,7 +102,7 @@ "download":true,//是否可以下载 "print":true //是否可以打印 }, - "fileType": 'pptx', + "fileType": fileSuffix, "key": key, "title": oldFileName, "url": fileUrl @@ -108,7 +110,7 @@ "documentType": documentType, // 文档类word-text、表格类excel-spreadsheet、ppt类-presentation "editorConfig": { // 此处配置回调地址 - "callbackUrl": `127.0.0.1:8080/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`, + "callbackUrl": `http://10.100.5.116:4202/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`, "mode":"edit", "lang":"zh-CN", // "customization": { diff --git a/public/static/onlyOffice/onlinePreview.html b/public/static/onlyOffice/onlinePreview.html index 619506812..013abf4a9 100644 --- a/public/static/onlyOffice/onlinePreview.html +++ b/public/static/onlyOffice/onlinePreview.html @@ -1,6 +1,7 @@ + @@ -8,7 +9,7 @@ 在线预览 - + @@ -34,7 +35,7 @@ var fileName = GetQueryValue('fileName') var filePath = GetQueryValue('filePath') var fileUrl = GetQueryValue('fileUrl') - var standNo = GetQueryValue('standNo') + var oldFileName = GetQueryValue('oldFileName') var key = GetQueryValue('key') // var attId = GetQueryValue('attId') var fileSuffix = GetQueryValue('fileType') @@ -100,13 +101,13 @@ }, "fileType": fileSuffix, "key": key, - "title": fileName, + "title": oldFileName, "url": fileUrl }, "documentType": documentType, "editorConfig": { // 此处配置回调地址 - "callbackUrl": `127.0.0.1:8080/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`, + "callbackUrl": `http://10.100.5.116:4202/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`, "mode":"edit", "lang":"zh-CN", // "customization": { diff --git a/public/static/pdf/web/viewer.js b/public/static/pdf/web/viewer.js index 31be3f39b..eba501d1c 100644 --- a/public/static/pdf/web/viewer.js +++ b/public/static/pdf/web/viewer.js @@ -6648,19 +6648,41 @@ var PDFPageView = function () { var defaultSettings = { watermark_txt: msg, watermark_x: 50,//水印起始位置x轴坐标 - watermark_y: 0,//水印起始位置Y轴坐标 - watermark_rows: 7,//水印行数 - watermark_cols: 5,//水印列数 - watermark_x_space: 80,//水印x轴间隔 - watermark_y_space: 120,//水印y轴间隔 + watermark_y: -100,//水印起始位置Y轴坐标 + watermark_rows: 13,//水印行数 + watermark_cols: 7,//水印列数 + watermark_x_space: 18,//水印x轴间隔 + watermark_y_space: 20,//水印y轴间隔 watermark_color: 'rgba(192, 192, 192)',//水印字体颜色 watermark_alpha: 0.3,//水印透明度 - watermark_fontsize: '30px',//水印字体大小 + watermark_fontsize: '40px',//水印字体大小 watermark_font: '微软雅黑',//水印字体 watermark_width: 120,//水印宽度 watermark_height: 80,//水印长度 watermark_angle: 40//水印倾斜度数 }; + //判断分辨率 + if (screen.width+"*"+screen.height === '800*600' ){ + defaultSettings = { + watermark_txt: msg, + watermark_x: 80,//水印起始位置x轴坐标 + watermark_y: -100,//水印起始位置Y轴坐标 + watermark_rows: 11,//水印行数 + watermark_cols: 6,//水印列数 + watermark_x_space: 2,//水印x轴间隔 + watermark_y_space: 27,//水印y轴间隔 + watermark_color: 'rgba(192, 192, 192)',//水印字体颜色 + watermark_alpha: 0.3,//水印透明度 + watermark_fontsize: '40px',//水印字体大小 + watermark_font: '微软雅黑',//水印字体 + watermark_width: 120,//水印宽度 + watermark_height: 80,//水印长度 + watermark_angle: 40//水印倾斜度数 + }; + } + + + var oTemp = document.createDocumentFragment(); //获取页面最大宽度 @@ -6670,23 +6692,24 @@ var PDFPageView = function () { //获取页面最大长度 var page_height = Math.max(document.body.scrollHeight, document.body.clientHeight+350); var pdf_page =document.getElementById("viewer"); + //2021/12/5 分辨率不同的情况会出现问题 //如果将水印列数设置为0,或水印列数设置过大,超过页面最大宽度,则重新计算水印列数和水印x轴间隔 - if (defaultSettings.watermark_cols == 0 || (parseInt(defaultSettings.watermark_x + defaultSettings.watermark_width * defaultSettings.watermark_cols + defaultSettings.watermark_x_space * (defaultSettings.watermark_cols - 1)) > page_width)) { - defaultSettings.watermark_cols = parseInt((page_width - defaultSettings.watermark_x + defaultSettings.watermark_x_space) / (defaultSettings.watermark_width + defaultSettings.watermark_x_space))-1; - console.log("------------------------------------") - console.log(defaultSettings.watermark_cols) - defaultSettings.watermark_x_space = parseInt((page_width - defaultSettings.watermark_x - defaultSettings.watermark_width * defaultSettings.watermark_cols) / (defaultSettings.watermark_cols - 1)); - console.log(defaultSettings.watermark_x_space) - } - //如果将水印行数设置为0,或水印行数设置过大,超过页面最大长度,则重新计算水印行数和水印y轴间隔 - if (defaultSettings.watermark_rows == 0 || (parseInt(defaultSettings.watermark_y + defaultSettings.watermark_height * defaultSettings.watermark_rows + defaultSettings.watermark_y_space * (defaultSettings.watermark_rows - 1)) > page_height)) { - defaultSettings.watermark_rows = parseInt((defaultSettings.watermark_y_space + page_height - defaultSettings.watermark_y) / (defaultSettings.watermark_height + defaultSettings.watermark_y_space))-3; - defaultSettings.watermark_y_space = parseInt(((page_height - defaultSettings.watermark_y) - defaultSettings.watermark_height * defaultSettings.watermark_rows) / (defaultSettings.watermark_rows - 1)); - console.log("------------------------------------") - console.log(defaultSettings.watermark_rows+10) - console.log(defaultSettings.watermark_y_space) - - } + // if (defaultSettings.watermark_cols == 0 || (parseInt(defaultSettings.watermark_x + defaultSettings.watermark_width * defaultSettings.watermark_cols + defaultSettings.watermark_x_space * (defaultSettings.watermark_cols - 1)) > page_width)) { + // defaultSettings.watermark_cols = parseInt((page_width - defaultSettings.watermark_x + defaultSettings.watermark_x_space) / (defaultSettings.watermark_width + defaultSettings.watermark_x_space))-1; + // console.log("------------------------------------") + // console.log(defaultSettings.watermark_cols) + // defaultSettings.watermark_x_space = parseInt((page_width - defaultSettings.watermark_x - defaultSettings.watermark_width * defaultSettings.watermark_cols) / (defaultSettings.watermark_cols - 1)); + // console.log(defaultSettings.watermark_x_space) + // } + // //如果将水印行数设置为0,或水印行数设置过大,超过页面最大长度,则重新计算水印行数和水印y轴间隔 + // if (defaultSettings.watermark_rows == 0 || (parseInt(defaultSettings.watermark_y + defaultSettings.watermark_height * defaultSettings.watermark_rows + defaultSettings.watermark_y_space * (defaultSettings.watermark_rows - 1)) > page_height)) { + // defaultSettings.watermark_rows = parseInt((defaultSettings.watermark_y_space + page_height - defaultSettings.watermark_y) / (defaultSettings.watermark_height + defaultSettings.watermark_y_space))-3; + // defaultSettings.watermark_y_space = parseInt(((page_height - defaultSettings.watermark_y) - defaultSettings.watermark_height * defaultSettings.watermark_rows) / (defaultSettings.watermark_rows - 1)); + // console.log("------------------------------------") + // console.log(defaultSettings.watermark_rows+10) + // console.log(defaultSettings.watermark_y_space) + // + // } var x; var y; for (var i = 0; i < defaultSettings.watermark_rows; i++) { diff --git a/public/static/ueditor/ADT/attachment/attachment.css b/public/static/ueditor/ADT/attachment/attachment.css index e1ff867cc..9d0ec4b5f 100644 --- a/public/static/ueditor/ADT/attachment/attachment.css +++ b/public/static/ueditor/ADT/attachment/attachment.css @@ -96,7 +96,6 @@ #upload .placeholder .webuploader-pick { font-size: 18px; background: #00b7ee; - 3px; line-height: 44px; padding: 0 30px; *width: 120px; @@ -198,7 +197,6 @@ overflow: hidden; z-index: 50; margin: 0; - 0; background: none; -webkit-box-shadow: 0 0 0; } @@ -317,7 +315,6 @@ height: 113px; background: url(./images/image.png) no-repeat center 12px; border: 1px solid #eeeeee; - 0; } #upload .filelist li.filePickerBlock div.webuploader-pick { width: 100%; @@ -447,7 +444,6 @@ color: #565656; padding: 0 18px; display: inline-block; - 3px; margin-left: 10px; cursor: pointer; font-size: 14px; diff --git a/src/api/linkApi.js b/src/api/linkApi.js new file mode 100644 index 000000000..9ee01f0ba --- /dev/null +++ b/src/api/linkApi.js @@ -0,0 +1,10 @@ +import axios from "@/common/axiosV2"; + +export function getImg (data) { + return axios({ + url: 'api/sarUrl/tsUrl/getIconImg', + method: 'get', + params: data, + responseType: 'arraybuffer' + }) +} diff --git a/src/assets/styles/common.less b/src/assets/styles/common.less index 111d1293c..fd4c13f29 100644 --- a/src/assets/styles/common.less +++ b/src/assets/styles/common.less @@ -1,6 +1,8 @@ /*liuyan 全局公共样式*/ @import './style'; @import './mixins'; +// 移动端公共样式 +@import './phone'; // 左侧菜单样式 @import './navMenu'; // tree组件父组件内样式 diff --git a/src/assets/styles/phone.less b/src/assets/styles/phone.less new file mode 100644 index 000000000..d73daf347 --- /dev/null +++ b/src/assets/styles/phone.less @@ -0,0 +1,9 @@ +.phoneBox { + width: 100%; + height: 100%; +} +@media screen and (max-width: 1366px) { + .el-message { + min-width: 200px !important; + } +} diff --git a/src/assets/styles/reset.css b/src/assets/styles/reset.css index 1599c94dc..bebcef1bc 100644 --- a/src/assets/styles/reset.css +++ b/src/assets/styles/reset.css @@ -18,7 +18,12 @@ mark{background-color:transparent} a,ins,s,u,del{text-decoration:none} sup,sub{vertical-align:baseline} html {width:100%;height: 100%;font-size: 50px;-webkit-tap-highlight-color: transparent;} -body {font-family: 'PingFang SC', 'Microsoft Yahei', '微软雅黑', Arial, sans-serif !important;color: #333;font-size: 14px;line-height: 1;-webkit-text-size-adjust: none;width:100%;height:100%;min-width:1280px;overflow-x:auto;} +@media screen and (min-width: 1366px) { + body { + min-width:1280px; + } +} +body {font-family: 'PingFang SC', 'Microsoft Yahei', '微软雅黑', Arial, sans-serif !important;color: #333;font-size: 14px;line-height: 1;-webkit-text-size-adjust: none;width:100%;height:100%;overflow-x:auto;} hr {height: .02rem;margin: .1rem 0;border: medium none;border-top: .02rem solid #cacaca;} a {text-decoration: none;} /*意见反馈页面富文本表格宽度*/ diff --git a/src/components/CustomFormComponents/File.vue b/src/components/CustomFormComponents/File.vue index 8cda1ed67..a7c8735a7 100644 --- a/src/components/CustomFormComponents/File.vue +++ b/src/components/CustomFormComponents/File.vue @@ -38,7 +38,6 @@ class="form-upload-btn" > - 上传 { console.log(res) @@ -381,12 +385,6 @@ export default { console.log(e) this.$message.warning('文件不存在,预览失败') }) - } else { - if (attId) { - window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId - } else { - this.$message.warning('文件不存在,下载失败') - } } }, diff --git a/src/components/CustomFormComponents/SelectArray.vue b/src/components/CustomFormComponents/SelectArray.vue index d7ffd381a..e7be6f10c 100644 --- a/src/components/CustomFormComponents/SelectArray.vue +++ b/src/components/CustomFormComponents/SelectArray.vue @@ -16,6 +16,7 @@ multiple @change="handleChange" > + @@ -106,7 +106,7 @@ export default { width: 18vm; height: 40px; color: #333333; - font-size: 14px; + font-size: 15px; border: 0; border-radius: 3px; background-color: #FFFFFF; diff --git a/src/pages/home2/components/solicitopinions/index.vue b/src/pages/home2/components/solicitopinions/index.vue index 01d59e84a..1b36284bd 100644 --- a/src/pages/home2/components/solicitopinions/index.vue +++ b/src/pages/home2/components/solicitopinions/index.vue @@ -21,7 +21,7 @@ label="序号" type="index" align="center" - width="50"> + width="55"> .solicitopinions { + /deep/.el-table th > .cell { + font-size: 15px; + } + /deep/.el-table td > .cell{ + font-size: 13px; + } height: 100%; width: 100%; .time-title { diff --git a/src/pages/home2/components/todoList/index.vue b/src/pages/home2/components/todoList/index.vue index 965aa38b1..b7faa2136 100644 --- a/src/pages/home2/components/todoList/index.vue +++ b/src/pages/home2/components/todoList/index.vue @@ -10,7 +10,8 @@
  • - {{ item.prcName }} + {{ item.prcName }} + {{ item.prcName.substring(0,25)+'...' }}
@@ -614,7 +615,7 @@ export default { break //项目清单确认流程 case '10' : - if(row.taskInfo === '确认人确认'){ + if(row.taskInfo === '产品工程经理分发清单'){ this.$router.push({ name: 'xmqdqrStep2', query: { @@ -625,7 +626,7 @@ export default { prcType: row.prcType } }) - } else if (row.taskInfo === '标准法规部经理审批') { + } else if (row.taskInfo === '确认人确认') { this.$router.push({ name: 'xmqdqrStep3', query: { @@ -636,6 +637,17 @@ export default { prcType: row.prcType } }) + }else if(row.taskInfo === '标准法规部经理审批'){ + this.$router.push({ + name: 'xmqdqrStep5', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) } break case '14': @@ -1284,9 +1296,10 @@ export default { display: inline-block; margin: 15px; color: #333333; - font-size: 14px; + font-size: 15px; } .more { + font-size: 15px; float: right; color: #4788c0; margin: 15px 15px; diff --git a/src/pages/home2/index.vue b/src/pages/home2/index.vue index ee56d41a2..508740324 100644 --- a/src/pages/home2/index.vue +++ b/src/pages/home2/index.vue @@ -29,9 +29,7 @@
- -
@@ -142,7 +140,7 @@ export default { } ::v-deep { .el-tabs__item { - font-size: 14px; + font-size: 15px; font-weight: 600; /*color: #333333;*/ } @@ -172,7 +170,7 @@ export default { .right_wrapper { display: flex; flex-direction: column; - width: 37vw; + width: 30vw; height: 100%; } .search-condition { @@ -185,7 +183,7 @@ export default { /deep/.el-card__body { padding: 0; } - .footer { + .home_footer { height: 70px; line-height: 33px; //margin-top: 0.3vh; diff --git a/src/pages/localTool/standAutoSplit/index.vue b/src/pages/localTool/standAutoSplit/index.vue index 8ebea20ce..86d86d981 100644 --- a/src/pages/localTool/standAutoSplit/index.vue +++ b/src/pages/localTool/standAutoSplit/index.vue @@ -50,6 +50,7 @@