Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html style="height: 100%">
|
||||
<head>
|
||||
<head id="vue">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"/>
|
||||
@@ -8,8 +8,10 @@
|
||||
<meta name="mobile-web-app-capable" content="yes"/>
|
||||
<title>在线编辑</title>
|
||||
<!-- 此处配置onlyOffice地址 -->
|
||||
<script type="text/javascript" src="http://106.2.13.189:9001/web-apps/apps/api/documents/api.js"></script>
|
||||
<!-- <script type="text/javascript" src="http://172.20.10.5/web-apps/apps/api/documents/api.js"></script>-->
|
||||
<script type="text/javascript" src="http://127.0.0.1:9011/web-apps/apps/api/documents/api.js"></script>
|
||||
<!-- <script src="js/vue.min.js"></script>-->
|
||||
|
||||
<!-- <script type="text/javascript" src="http://172.20.10.5/web-apps/apps/api/documents/api.js"></script>-->
|
||||
|
||||
</head>
|
||||
<body style="height: 100%">
|
||||
@@ -17,12 +19,46 @@
|
||||
<div id="iframeEditor"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
import { baseUrl } from '@/sysConfig'
|
||||
|
||||
// var preview = GetQueryValue('preview')
|
||||
// var vm = new Vue({
|
||||
// el: '#vue',
|
||||
// data: {
|
||||
// titleName: preview ? "在线预览":"在线编辑",
|
||||
// },
|
||||
// methods: {
|
||||
// details: function() {
|
||||
// return this.site + " - 学的不仅是技术,更是梦想!";
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
var oldFileName = GetQueryValue('oldFileName')
|
||||
var filePath = GetQueryValue('filePath')
|
||||
var fileName = GetQueryValue('fileName')
|
||||
var fileUrl = GetQueryValue('fileUrl')
|
||||
var standNo = GetQueryValue('standNo')
|
||||
var key = GetQueryValue('key')
|
||||
// var attId = GetQueryValue('attId')
|
||||
var fileSuffix = GetQueryValue('fileType')
|
||||
// 文档类word-text、表格类excel-spreadsheet、ppt类-presentation
|
||||
var documentType = ''
|
||||
var arr_data_ppt = ['pdf', 'PDF', 'pptx', 'PPTX', 'ppt', 'PPT'];
|
||||
var arr_data_word = ['pdf', 'PDF', 'doc','DOC', 'docx','DOCX'];
|
||||
var arr_data_xls = ['xls', 'XLS', 'xlsx', 'XLSX','.xls', '.XLS', '.xlsx', '.XLSX'];
|
||||
|
||||
arr_data_ppt.find(function(value) {
|
||||
if(value === fileSuffix) {
|
||||
documentType = 'presentation'
|
||||
}})
|
||||
arr_data_word.find(function(value) {
|
||||
if(value === fileSuffix) {
|
||||
documentType = 'text'
|
||||
}})
|
||||
arr_data_xls.find(function(value) {
|
||||
if(value === fileSuffix) {
|
||||
documentType = 'spreadsheet'
|
||||
}})
|
||||
//将文件后缀处理掉
|
||||
// fileSuffix = fileSuffix.split(".").join("");
|
||||
var docEditor;
|
||||
@@ -60,15 +96,20 @@
|
||||
// const fileUrl = 'http://172.20.10.2:9090/conver.docx'
|
||||
var config = {
|
||||
"document": {
|
||||
"fileType": 'docx',
|
||||
"permissions": {
|
||||
"edit": true, //是否可以编辑: 只能查看,传false
|
||||
"download":true,//是否可以下载
|
||||
"print":true //是否可以打印
|
||||
},
|
||||
"fileType": 'pptx',
|
||||
"key": key,
|
||||
"title": fileName,
|
||||
"title": oldFileName,
|
||||
"url": fileUrl
|
||||
},
|
||||
"documentType": "text",
|
||||
"documentType": documentType, // 文档类word-text、表格类excel-spreadsheet、ppt类-presentation
|
||||
"editorConfig": {
|
||||
// 此处配置回调地址
|
||||
"callbackUrl": `http://39.98.140.126:10005/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${standNo}`,
|
||||
"callbackUrl": baseUrl+`/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
|
||||
"mode":"edit",
|
||||
"lang":"zh-CN",
|
||||
// "customization": {
|
||||
@@ -135,8 +176,10 @@
|
||||
// "frameEditorId": "iframeEditor",
|
||||
// "parentOrigin": "http://172.20.10.2:8081"
|
||||
// }
|
||||
|
||||
console.log(config)
|
||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||
console.log(docEditor)
|
||||
|
||||
|
||||
/**
|
||||
* [通过参数名获取url中的参数值]
|
||||
|
||||
+6
File diff suppressed because one or more lines are too long
@@ -0,0 +1,199 @@
|
||||
<!DOCTYPE html>
|
||||
<html style="height: 100%">
|
||||
<head id="vue">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"/>
|
||||
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
||||
<meta name="mobile-web-app-capable" content="yes"/>
|
||||
<title>在线预览</title>
|
||||
<!-- 此处配置onlyOffice地址 -->
|
||||
<script type="text/javascript" src="http://127.0.0.1:9011/web-apps/apps/api/documents/api.js"></script>
|
||||
|
||||
<!-- <script type="text/javascript" src="http://172.20.10.5/web-apps/apps/api/documents/api.js"></script>-->
|
||||
|
||||
</head>
|
||||
<body style="height: 100%">
|
||||
<div class="form" style="height: 100%">
|
||||
<div id="iframeEditor"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
import { baseUrl } from '@/sysConfig'
|
||||
|
||||
// var preview = GetQueryValue('preview')
|
||||
// var vm = new Vue({
|
||||
// el: '#vue',
|
||||
// data: {
|
||||
// titleName: preview ? "在线预览":"在线编辑",
|
||||
// },
|
||||
// methods: {
|
||||
// details: function() {
|
||||
// return this.site + " - 学的不仅是技术,更是梦想!";
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
var fileName = GetQueryValue('fileName')
|
||||
var filePath = GetQueryValue('filePath')
|
||||
var fileUrl = GetQueryValue('fileUrl')
|
||||
var standNo = GetQueryValue('standNo')
|
||||
var key = GetQueryValue('key')
|
||||
// var attId = GetQueryValue('attId')
|
||||
var fileSuffix = GetQueryValue('fileType')
|
||||
// 文档类word-text、表格类excel-spreadsheet、ppt类-presentation
|
||||
var documentType = ''
|
||||
var arr_data_ppt = ['pdf', 'PDF', 'pptx', 'PPTX', 'ppt', 'PPT'];
|
||||
var arr_data_word = ['pdf', 'PDF', 'doc','DOC', 'docx','DOCX'];
|
||||
var arr_data_xls = ['xls', 'XLS', 'xlsx', 'XLSX','.xls', '.XLS', '.xlsx', '.XLSX'];
|
||||
|
||||
arr_data_ppt.find(function(value) {
|
||||
if(value === fileSuffix) {
|
||||
documentType = 'presentation'
|
||||
}})
|
||||
arr_data_word.find(function(value) {
|
||||
if(value === fileSuffix) {
|
||||
documentType = 'text'
|
||||
}})
|
||||
arr_data_xls.find(function(value) {
|
||||
if(value === fileSuffix) {
|
||||
documentType = 'spreadsheet'
|
||||
}})
|
||||
//将文件后缀处理掉
|
||||
// fileSuffix = fileSuffix.split(".").join("");
|
||||
var docEditor;
|
||||
|
||||
var innerAlert = function (message) {
|
||||
if (console && console.log)
|
||||
console.log(message);
|
||||
};
|
||||
|
||||
var onAppReady = function () {
|
||||
innerAlert("Document editor ready");
|
||||
};
|
||||
|
||||
var onDocumentStateChange = function (event) {
|
||||
var title = document.title.replace(/\*$/g, "");
|
||||
document.title = title + (event.data ? "*" : "");
|
||||
};
|
||||
|
||||
var onRequestEditRights = function () {
|
||||
location.href = location.href.replace(RegExp("mode=view\&?", "i"), "");
|
||||
};
|
||||
|
||||
var onError = function (event) {
|
||||
if (event)
|
||||
innerAlert(event.data);
|
||||
};
|
||||
|
||||
var onOutdatedVersion = function (event) {
|
||||
location.reload(true);
|
||||
};
|
||||
// console.log(key)
|
||||
// console.log(fileUrl)
|
||||
// console.log(attId)
|
||||
// console.log(fileName)
|
||||
// const fileUrl = 'http://172.20.10.2:9090/conver.docx'
|
||||
var config = {
|
||||
"document": {
|
||||
"permissions": {
|
||||
"edit": false, //是否可以编辑: 只能查看,传false
|
||||
"download":true,//是否可以下载
|
||||
"print":true //是否可以打印
|
||||
},
|
||||
"fileType": fileSuffix,
|
||||
"key": key,
|
||||
"title": fileName,
|
||||
"url": fileUrl
|
||||
},
|
||||
"documentType": documentType,
|
||||
"editorConfig": {
|
||||
// 此处配置回调地址
|
||||
"callbackUrl": baseUrl+`/api/att/attFile/recieveFile?fileNm=${fileName}&standNo=${filePath}`,
|
||||
"mode":"edit",
|
||||
"lang":"zh-CN",
|
||||
// "customization": {
|
||||
// "forcesave": "true"
|
||||
// }
|
||||
}
|
||||
};
|
||||
|
||||
// var config = {
|
||||
// "type": "desktop",
|
||||
// "mode": "edit",
|
||||
// "documentType": "text",
|
||||
// "document": {
|
||||
// "title": "new.docx",
|
||||
// "url": "http://172.20.10.2:9090/conver.docx",
|
||||
// "fileType": "docx",
|
||||
// "key": "-1988670278",
|
||||
// "permissions": {
|
||||
// "comment": true,
|
||||
// "download": true,
|
||||
// "edit": true,
|
||||
// "fillForms": true,
|
||||
// "modifyFilter": true,
|
||||
// "modifyContentControl": true,
|
||||
// "review": true
|
||||
// }
|
||||
// },
|
||||
// "editorConfig": {
|
||||
// "mode": "edit",
|
||||
// "callbackUrl": "http://39.98.140.126:10005/api/IndexServlet?type=track&fileName=new.docx&userAddress=172.20.10.2",
|
||||
// "lang": "zh",
|
||||
// "user": {
|
||||
// "id": "uid-1",
|
||||
// "name": "John Smith"
|
||||
// },
|
||||
// "customization": {
|
||||
// "goback": {
|
||||
// "url": "http://39.98.140.126:10005/api/IndexServlet"
|
||||
// },
|
||||
// "about": true,
|
||||
// "feedback": false
|
||||
// },
|
||||
// "canCoAuthoring": true,
|
||||
// "canUseHistory": false,
|
||||
// "canHistoryClose": false,
|
||||
// "canHistoryRestore": false,
|
||||
// "canSendEmailAddresses": false,
|
||||
// "canRequestEditRights": true,
|
||||
// "canRequestClose": false,
|
||||
// "canRename": false,
|
||||
// "canMakeActionLink": true,
|
||||
// "canRequestUsers": false,
|
||||
// "canRequestSendNotify": false,
|
||||
// "canRequestSaveAs": false,
|
||||
// "canRequestInsertImage": false,
|
||||
// "canRequestMailMergeRecipients": false,
|
||||
// "canRequestCompareFile": false,
|
||||
// "canRequestSharingSettings": false,
|
||||
// "canRequestCreateNew": false
|
||||
// },
|
||||
// "width": "100%",
|
||||
// "height": "100%",
|
||||
// "events": {},
|
||||
// "frameEditorId": "iframeEditor",
|
||||
// "parentOrigin": "http://172.20.10.2:8081"
|
||||
// }
|
||||
console.log(config)
|
||||
docEditor = new DocsAPI.DocEditor("iframeEditor", config);
|
||||
console.log(docEditor)
|
||||
|
||||
|
||||
/**
|
||||
* [通过参数名获取url中的参数值]
|
||||
* 示例URL:http://htmlJsTest/getrequest.html?uid=admin&rid=1&fid=2&name=小明
|
||||
* @param {[string]} queryName [参数名]
|
||||
* @return {[string]} [参数值]
|
||||
*/
|
||||
function GetQueryValue(queryName) {
|
||||
var query = decodeURI(window.location.search.substring(1));
|
||||
var vars = query.split("&");
|
||||
for (var i = 0; i < vars.length; i++) {
|
||||
var pair = vars[i].split("=");
|
||||
if (pair[0] == queryName) { return pair[1]; }
|
||||
}
|
||||
return null;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -604,6 +604,15 @@ export function getConvertFileByAttId(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 获取openOffice 在线预览文件
|
||||
export function getBusStandFileByAttId(data) {
|
||||
return axios({
|
||||
url: 'api/att/attFile/getBusStandFileByAttId',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
// 未符合项跟踪修改状态
|
||||
export function updateBaseInfo(data) {
|
||||
return axios({
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
:value-format="valueFormat"
|
||||
format="yyyy-MM-dd"
|
||||
:value="value"
|
||||
type="date"
|
||||
type="dates"
|
||||
:editable="true"
|
||||
:disabled="disabled"
|
||||
:placeholder="placeholder"
|
||||
@@ -74,5 +74,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
/deep/ .el-input__inner {
|
||||
padding-left: 30px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -67,7 +67,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getConvertFileByAttId } from 'api/process'
|
||||
import { getConvertFileByAttId,getBusStandFileByAttId } from 'api/process'
|
||||
let Base64 = require('js-base64').Base64;
|
||||
export default {
|
||||
name: 'CustomFile',
|
||||
data() {
|
||||
@@ -335,29 +336,43 @@ export default {
|
||||
handlePreview(file) {
|
||||
const attId = file.response.data.id
|
||||
if (this.preview) {
|
||||
this.getConvertFileByAttId(attId)
|
||||
.then(res => {
|
||||
switch (res.convertState) {
|
||||
case 'ERROR':
|
||||
this.$message.warning('文档转换失败')
|
||||
break
|
||||
case 'LODING':
|
||||
this.$message.info('文档转换中,请稍后查看')
|
||||
break
|
||||
case 'SUCCESS':
|
||||
const { convertFileInfo } = res
|
||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + convertFileInfo.id))
|
||||
break
|
||||
}
|
||||
}).catch(e => {
|
||||
this.$message.warning('文档转换失败')
|
||||
})
|
||||
if (attId) {
|
||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||
} else {
|
||||
this.$message.warning('文件不存在,下载失败')
|
||||
}
|
||||
} else {
|
||||
if (attId) {
|
||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||
} else {
|
||||
this.$message.warning('文件不存在,下载失败')
|
||||
}
|
||||
this.getBusStandFileByAttId(attId)
|
||||
.then(res => {
|
||||
console.log(res)
|
||||
if(res){
|
||||
const editFileInfo = res
|
||||
console.log(editFileInfo)
|
||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
||||
}else {
|
||||
const nowTime = new Date().getTime()
|
||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
||||
}
|
||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||
}
|
||||
// switch (res.convertState) {
|
||||
// case 'ERROR':
|
||||
// this.$message.warning('文档转换失败')
|
||||
// break
|
||||
// case 'LODING':
|
||||
// this.$message.info('文档转换中,请稍后查看')
|
||||
// break
|
||||
// case 'SUCCESS':
|
||||
// const { convertFileInfo } = res
|
||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + convertFileInfo.id))
|
||||
// break
|
||||
// }
|
||||
}).catch(e => {
|
||||
console.log(e)
|
||||
this.$message.warning('文件不存在,预览失败')
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -377,6 +392,21 @@ export default {
|
||||
})
|
||||
})
|
||||
},
|
||||
getBusStandFileByAttId(attId) {
|
||||
return new Promise((resolve, reject) => {
|
||||
getBusStandFileByAttId({
|
||||
attId
|
||||
}).then(res => {
|
||||
if (res.ok) {
|
||||
resolve(res.data)
|
||||
} else {
|
||||
reject()
|
||||
}
|
||||
}).catch(e => {
|
||||
reject(e)
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* @description: 获取展示的文件
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -175,7 +175,7 @@
|
||||
|
||||
if (node.level >= 1) {
|
||||
setTimeout(() => {
|
||||
this.getChildByList(node.data.level,node.data.vppsCode, resolve);
|
||||
this.getChildByList(node.data.level,node.data.id, resolve);
|
||||
}, 500);
|
||||
return resolve([]); // 加上这个,防止在该节点没有子节点时一直转圈的问题发生。
|
||||
}
|
||||
@@ -192,8 +192,8 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
getChildByList( level,vppsCode,resolve) { // 获取子节点请求
|
||||
let params = {level : level,vppsCode :vppsCode,type : this.type};
|
||||
getChildByList( level,id,resolve) { // 获取子节点请求
|
||||
let params = {level : level,id :id,type : this.type};
|
||||
this.$http.get(this.urlChild, params, {
|
||||
_this: this
|
||||
}, res => {
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<!--符合性详情-->
|
||||
<template>
|
||||
<div id="complianceDetails">
|
||||
<!--不满足-->
|
||||
<el-divider content-position="left" v-if="unfit.length">不满足</el-divider>
|
||||
<!-- v-if="unfit.length"不满足-->
|
||||
<el-divider content-position="left" >不满足</el-divider>
|
||||
<el-table
|
||||
v-if="unfit.length"
|
||||
ref="selection"
|
||||
:data="unfit"
|
||||
tooltip-effect="dark"
|
||||
@@ -13,65 +12,57 @@
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}">
|
||||
<el-table-column
|
||||
prop="sarNumber"
|
||||
label="标准号/条款号"
|
||||
prop="standNumber"
|
||||
label="标准号"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="nonConfomity"
|
||||
label="不满足内容"
|
||||
prop="itemsNumber"
|
||||
label="条款号"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop=""
|
||||
label="评估人"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop=""
|
||||
label="评估时间"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop=""
|
||||
label="不合规项目"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="current"
|
||||
label="我司现状"
|
||||
prop=""
|
||||
label="应对措施"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="changeScheme"
|
||||
label="更改方案"
|
||||
prop=""
|
||||
label="完成时间"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="estimatedChangeCycle"
|
||||
label="预估更改周期"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="estimatedCost"
|
||||
label="预估成本"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="compPersonName"
|
||||
label="评估人员"
|
||||
align="center"
|
||||
width="100px"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="compTime"
|
||||
label="评估时间"
|
||||
align="center"
|
||||
width="100px"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="prcNum"
|
||||
label="流程"
|
||||
align="center"
|
||||
width="170px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span class="table-jump" @click="processCenterClick(scope.row)">{{ scope.row.prcNum }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
<!-- prop="prcNum"-->
|
||||
<!-- label="流程"-->
|
||||
<!-- align="center"-->
|
||||
<!-- width="170px"-->
|
||||
<!-- >-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span class="table-jump" @click="processCenterClick(scope.row)">{{ scope.row.prcNum }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
</el-table>
|
||||
<!--待验证-->
|
||||
<el-divider content-position="left" v-if="check.length">待验证</el-divider>
|
||||
@@ -151,41 +142,45 @@
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}">
|
||||
<el-table-column
|
||||
prop="sarNumber"
|
||||
label="标准号/条款号"
|
||||
align="center"
|
||||
prop="standNumber"
|
||||
label="标准号"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="justified"
|
||||
label="符合理由"
|
||||
align="center"
|
||||
prop="itemsNumber"
|
||||
label="条款号"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="compPersonName"
|
||||
label="评估人员"
|
||||
align="center"
|
||||
width="100px"
|
||||
prop=""
|
||||
label="评估人"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="compTime"
|
||||
label="评估时间"
|
||||
align="center"
|
||||
width="100px"
|
||||
prop=""
|
||||
label="评估时间"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="prcNum"
|
||||
label="流程"
|
||||
prop=""
|
||||
label="合规"
|
||||
align="center"
|
||||
width="170px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span class="table-jump" @click="processCenterClick(scope.row)">{{ scope.row.prcNum }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
<!-- prop="prcNum"-->
|
||||
<!-- label="流程"-->
|
||||
<!-- align="center"-->
|
||||
<!-- width="170px"-->
|
||||
<!-- >-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span class="table-jump" @click="processCenterClick(scope.row)">{{ scope.row.prcNum }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
</el-table>
|
||||
<!--不涉及-->
|
||||
<el-divider content-position="left" v-if="notInvolve.length">不涉及</el-divider>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
style="border-top:none;position: absolute;right: 36px;">
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" style="color: #f56c6c;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" style="color: #4788c0;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新记录</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2369,7 +2369,6 @@ export default {
|
||||
padding: 0;
|
||||
border: none;
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
style="border-top:none;position: absolute;right: 36px;border: none">
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" style="color: #f56c6c;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" style="color: #4788c0;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新LOG</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2279,7 +2279,6 @@ export default {
|
||||
padding: 0;
|
||||
border: none;
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)"
|
||||
title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off"
|
||||
title="取消收藏" class="collection-btn" icon="el-icon-star-off" style="color: #f56c6c;" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" style="color: #4788c0;"
|
||||
:loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新记录</el-button>
|
||||
<!-- <el-button class="relation-btn" @click="knowledgeSharing">标准问答</el-button>-->
|
||||
@@ -3465,7 +3465,6 @@
|
||||
border: none;
|
||||
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
@@ -488,7 +488,8 @@ export default {
|
||||
statusId: '',
|
||||
itemsNum1: '',
|
||||
itemsName1: '',
|
||||
oldNumber: ''
|
||||
oldNumber: '',
|
||||
fileType: '',
|
||||
},
|
||||
formRules: {
|
||||
itemsNum: [
|
||||
@@ -722,6 +723,7 @@ export default {
|
||||
this.standId = bringData[0].standId
|
||||
this.statusId = bringData[0].id
|
||||
this.form.statusId = bringData[0].id
|
||||
this.form.fileType = bringData[0].fileType
|
||||
this.listModel = false;
|
||||
this.listModel2 = true
|
||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
||||
|
||||
@@ -164,13 +164,13 @@
|
||||
<ProcessTitle v-show="verifySarStandard">
|
||||
<template slot="title">实施日期</template>
|
||||
</ProcessTitle>
|
||||
<div class="prc-content-border" v-show="verifySarStandard" >
|
||||
<div class="prc-content-border content_input" v-show="verifySarStandard" >
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="实施日期(标准文本)" prop="ssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.ssrq"
|
||||
type="date"
|
||||
type="dates"
|
||||
placeholder="请选择标准实施日期(标准文本)"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
@@ -178,7 +178,7 @@
|
||||
<el-form-item label="在产车实施日期(标准文本)" prop="zccssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.zccssrq"
|
||||
type="date"
|
||||
type="dates"
|
||||
placeholder="请选择在产车实施日期(标准文本)"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
@@ -188,7 +188,7 @@
|
||||
<el-form-item label="新车型实施日期(标准文本)" prop="xcxssrq" class="add-form-item form-item-disabled">
|
||||
<el-date-picker
|
||||
v-model="form.xcxssrq"
|
||||
type="date"
|
||||
type="dates"
|
||||
placeholder="请选择新车型实施日期(标准文本"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
@@ -554,6 +554,7 @@
|
||||
:drawerTitle="drawerTitle"
|
||||
:show-checkBox="showCheckBox"
|
||||
:url="url"
|
||||
:type="'car'"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs" @popoverHideCancel="popoverHideBusVsCancel"></tree-select-new>
|
||||
@@ -570,6 +571,7 @@
|
||||
:drawerTitle="drawerTitle"
|
||||
:show-checkBox="showCheckBox"
|
||||
:url="url"
|
||||
:type="'truck'"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs" @popoverHideCancel="popoverHideCarVsCancel"></tree-select-new>
|
||||
@@ -1281,6 +1283,7 @@
|
||||
zbjbdFileList: [],
|
||||
kwjFileList: [],
|
||||
glwjFileList: [],
|
||||
nodeList5: [],
|
||||
filterText:'',
|
||||
textStatusMap: {}, // 文本状态id与name对应
|
||||
standardDrawer: false,
|
||||
@@ -1404,9 +1407,9 @@
|
||||
standSystemName: '',// 标准体系名称
|
||||
gxhbq: '', // 标签
|
||||
// 实施日期
|
||||
ssrq: '', // 实施日期(标准文本)
|
||||
xcxssrq: '', // 新车型实施日期(标准文本)
|
||||
zccssrq: '', // 在产车实施日期(标准文本)
|
||||
ssrq: [], // 实施日期(标准文本)
|
||||
xcxssrq: [], // 新车型实施日期(标准文本)
|
||||
zccssrq: [], // 在产车实施日期(标准文本)
|
||||
ssrqgj: '', // 实施日期(国际)
|
||||
xcxssrqgj: '', // 新车型实施日期(国际)
|
||||
zccssrqgj: '', // 在产车实施日期(国际)
|
||||
@@ -1464,6 +1467,8 @@
|
||||
zrUserName: '',
|
||||
jlUserId: '',
|
||||
jlUserName: '',
|
||||
wssmr: '',
|
||||
wssmrId: '',
|
||||
applyUpdUserId: this.$store.getters.userInfo.userId,
|
||||
applyUpdUserName: this.$store.getters.userInfo.userName,
|
||||
prcCreateUser: this.$store.getters.userInfo.userId,
|
||||
@@ -2799,6 +2804,11 @@
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.prc-content-border {
|
||||
/deep/ .el-input__inner {
|
||||
padding-left: 30px;
|
||||
}
|
||||
}
|
||||
/deep/ .el-dialog__body {
|
||||
padding: 0 20px 10px;
|
||||
color: #606266;
|
||||
|
||||
@@ -791,6 +791,7 @@
|
||||
:modalShowFlag="modalShowFlag2"
|
||||
:drawerTitle="drawerTitle"
|
||||
:url="url"
|
||||
:type="'car'"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs" @popoverHideCancel="popoverHideBusVsCancel" ></tree-select-new>
|
||||
@@ -805,6 +806,7 @@
|
||||
:modalShowFlag="modalShowFlag3"
|
||||
:drawerTitle="drawerTitle"
|
||||
:url="url"
|
||||
:type="'truck'"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs" @popoverHideCancel="popoverHideCarVsCancel"></tree-select-new>
|
||||
|
||||
@@ -25,6 +25,22 @@
|
||||
>
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="分解单来源" class="add-form-item form-item-disabled">
|
||||
<el-select
|
||||
@change="fileTypeChange"
|
||||
v-model="listForm.fileType"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in decomposeOptions"
|
||||
:value="item.attrField"
|
||||
:key="item.id"
|
||||
:label="item.attrName"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="选择标准" prop="orgName" class="add-form-item form-item-disabled">
|
||||
<el-button size="mini" type="primary" style="margin-left: 10px;" @click="choiceShow">选择已拆分标准</el-button>
|
||||
</el-form-item>
|
||||
@@ -522,7 +538,7 @@ export default {
|
||||
// 查询相关参数
|
||||
searching: false,
|
||||
commentText:'',
|
||||
fileType: 'FBGBJBD',
|
||||
fileType: '',
|
||||
standardSearch: {
|
||||
standType: "",
|
||||
standName: ""
|
||||
@@ -531,6 +547,7 @@ export default {
|
||||
productLine: '',
|
||||
uname: '',
|
||||
},
|
||||
decomposeOptions: [], //分解单来源数据
|
||||
standardTypeOptions: [
|
||||
{
|
||||
value: "INLAND",
|
||||
@@ -717,7 +734,12 @@ export default {
|
||||
this.standardSearch.standType = type;
|
||||
},
|
||||
choiceShow() {
|
||||
this.ListModel = true;
|
||||
if(!this.fileType){
|
||||
this.$message.warning('请先选择分解单来源')
|
||||
}else{
|
||||
this.getStandData();
|
||||
this.ListModel = true;
|
||||
}
|
||||
},
|
||||
drawerCheck(data) {
|
||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||
@@ -913,7 +935,7 @@ export default {
|
||||
this.listForm.id = this.selectedList[0].id;
|
||||
this.$http.get("SarStandItems/sar-stand-items/findAllItems", {
|
||||
ids: this.listForm.id,
|
||||
type: "FBGBJBD"
|
||||
type: this.fileType
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
@@ -1002,6 +1024,9 @@ export default {
|
||||
this.page = 1;
|
||||
this.getStandData();
|
||||
},
|
||||
fileTypeChange(type){
|
||||
this.fileType = type
|
||||
},
|
||||
//获取标准数据
|
||||
getStandData() {
|
||||
this.$http.post("SarStandItems/sar-stand-items/findStand", {
|
||||
@@ -1050,10 +1075,19 @@ export default {
|
||||
this.standStateOptions = res.data.WBZTCLASS; // 文本状态
|
||||
this.setMap(this.standStateOptions);
|
||||
});
|
||||
//查找分解单来源数据
|
||||
this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
|
||||
_this: this
|
||||
}, res => {
|
||||
res.data.forEach(item => {
|
||||
if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
|
||||
this.decomposeOptions.push(item)
|
||||
}
|
||||
})
|
||||
})
|
||||
this.getData();
|
||||
this.getTree();
|
||||
this.getProductData();
|
||||
this.getStandData();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -25,6 +25,22 @@
|
||||
>
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="分解单来源" class="add-form-item form-item-disabled">
|
||||
<el-select
|
||||
@change="fileTypeChange"
|
||||
v-model="listForm.fileType"
|
||||
placeholder="请选择"
|
||||
filterable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in decomposeOptions"
|
||||
:value="item.attrField"
|
||||
:key="item.id"
|
||||
:label="item.attrName"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="选择标准" prop="orgName" class="add-form-item form-item-disabled">
|
||||
<el-button size="mini" type="primary" style="margin-left: 10px;" @click="choiceShow">选择已拆分标准</el-button>
|
||||
</el-form-item>
|
||||
@@ -261,6 +277,7 @@
|
||||
custom-class="demo-drawer"
|
||||
>
|
||||
<div class="demo-drawer-content">
|
||||
<loading :loading="tableLoading">数据获取中</loading>
|
||||
<div style="position: absolute;bottom: 48px;top:60px;left: 0;right: 0">
|
||||
<div style="position: absolute;bottom: 55px;top: 0;right: 0;left: 0">
|
||||
<div class="left">
|
||||
@@ -500,6 +517,7 @@ import ProcessHeader from "../../components/ProcessHeader";
|
||||
import ProcessFooter from "../../components/ProcessFooter";
|
||||
import ProcessTitle from "../../components/ProcessTitle";
|
||||
import { saveTaskFirst } from "api/process";
|
||||
import file from "@/pages/knowledgeGraph/components/file";
|
||||
|
||||
export default {
|
||||
name: "xmpgStep1",
|
||||
@@ -516,6 +534,7 @@ export default {
|
||||
satisfyFlag: true,
|
||||
active: "1",
|
||||
standModel: false,
|
||||
tableLoading: false,
|
||||
sarAccessListDatas: [],
|
||||
productData: [], //添加抽屉的数据
|
||||
standList: [], //新添加的标准
|
||||
@@ -524,7 +543,7 @@ export default {
|
||||
drawerTitle: "", //drawer标题
|
||||
// 查询相关参数
|
||||
searching: false,
|
||||
fileType: "FBGBJBD",
|
||||
fileType: "",
|
||||
projectSearch: {
|
||||
productLine: '',
|
||||
uname: '',
|
||||
@@ -533,6 +552,7 @@ export default {
|
||||
standType: "",
|
||||
standName: ""
|
||||
},
|
||||
decomposeOptions: [], //分解单数据
|
||||
standardTypeOptions: [
|
||||
{
|
||||
value: "INLAND",
|
||||
@@ -710,7 +730,13 @@ export default {
|
||||
this.standardSearch.standType = type;
|
||||
},
|
||||
choiceShow() {
|
||||
this.ListModel = true;
|
||||
if(!this.fileType){
|
||||
this.$message.warning('请先选择分解单来源')
|
||||
}else{
|
||||
this.getStandData();
|
||||
this.ListModel = true;
|
||||
}
|
||||
|
||||
},
|
||||
drawerCheck(data) {
|
||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||
@@ -906,7 +932,7 @@ export default {
|
||||
this.listForm.id = this.selectedList[0].id;
|
||||
this.$http.get("SarStandItems/sar-stand-items/findAllItems", {
|
||||
ids: this.listForm.id,
|
||||
type: "FBGBJBD"
|
||||
type: this.fileType
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
@@ -999,8 +1025,12 @@ export default {
|
||||
this.page = 1;
|
||||
this.getStandData();
|
||||
},
|
||||
fileTypeChange(type){
|
||||
this.fileType = type
|
||||
},
|
||||
//获取标准数据
|
||||
getStandData() {
|
||||
this.tableLoading = true
|
||||
this.$http.post("SarStandItems/sar-stand-items/findStand", {
|
||||
page: this.page,
|
||||
size: this.pageSize,
|
||||
@@ -1011,6 +1041,7 @@ export default {
|
||||
}, res => {
|
||||
this.sarAccessListDatas = res.records;
|
||||
this.total = res.total;
|
||||
this.tableLoading = false
|
||||
}, e => {
|
||||
|
||||
});
|
||||
@@ -1047,9 +1078,18 @@ export default {
|
||||
this.standStateOptions = res.data.WBZTCLASS; // 文本状态
|
||||
this.setMap(this.standStateOptions);
|
||||
});
|
||||
//查找分解单来源数据
|
||||
this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
|
||||
_this: this
|
||||
}, res => {
|
||||
res.data.forEach(item => {
|
||||
if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
|
||||
this.decomposeOptions.push(item)
|
||||
}
|
||||
})
|
||||
})
|
||||
this.getTree();
|
||||
this.getProductData();
|
||||
this.getStandData();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<!--标法规-工作组-项目费用统计信息-标准制修订补助资金收支统计--支出表-->
|
||||
<template>
|
||||
<div id="translateCost" class="child2">
|
||||
<div id="expendSubsidy" class="child2">
|
||||
<!-- 第一第二行表单 -->
|
||||
<el-form :inline="true" :model="formQuery">
|
||||
<el-form-item class="add-form-item" label="项目名称">
|
||||
<el-input v-model="formQuery.name" size="small" placeholder="请输入项目名称"></el-input>
|
||||
<el-input v-model.trim="formQuery.name" clearable size="small" placeholder="请输入项目名称"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="支出金额">
|
||||
<el-input v-model="formQuery.cost" size="small" placeholder="请输入支出金额"></el-input>
|
||||
<el-input v-model.trim="formQuery.cost" clearable size="small" placeholder="请输入支出金额"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="用途">
|
||||
<el-input v-model="formQuery.purposes" size="small" placeholder="请输入用途">
|
||||
<el-input v-model.trim="formQuery.purposes" clearable size="small" placeholder="请输入用途">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
@@ -113,14 +113,14 @@
|
||||
<div style="margin: 10px;height: inherit">
|
||||
<el-form class="label-input-form" label-width="150px" ref="formShowData" :model="formShowData" :rules="formRules">
|
||||
<el-form-item class="add-form-item" label="项目名称">
|
||||
<el-input v-model="formShowData.name" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.name" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="支出金额">
|
||||
<el-input v-model="formShowData.cost" type="text" placeholder="请填写"></el-input>
|
||||
<el-input v-model.trim="formShowData.cost" type="text" placeholder="请填写"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="用途">
|
||||
<el-input v-model="formShowData.purposes" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.purposes" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="详细附件">
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<!--标法规-工作组-项目费用统计信息-标准制修订补助资金收支统计--收入表-->
|
||||
<template>
|
||||
<div id="translateCost" class="child1">
|
||||
<div id="inComeSubsidy" class="child1">
|
||||
<!-- 第一第二行表单 -->
|
||||
<el-form :inline="true" :model="formQuery">
|
||||
<el-form-item class="add-form-item" label="标准名称">
|
||||
<el-input v-model="formQuery.name" size="small" placeholder="请输入标准名称"></el-input>
|
||||
<el-input v-model.trim="formQuery.name" clearable size="small" placeholder="请输入标准名称"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准编号">
|
||||
<el-input v-model="formQuery.number" size="small" placeholder="请输入标准编号"></el-input>
|
||||
<el-input v-model.trim="formQuery.number" clearable size="small" placeholder="请输入标准编号"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="补助来源">
|
||||
<el-input v-model="formQuery.source" size="small" placeholder="请输入补助来源"></el-input>
|
||||
<el-input v-model.trim="formQuery.source" clearable size="small" placeholder="请输入补助来源"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" size="small" @click="queryData">查询</el-button>
|
||||
@@ -110,23 +110,23 @@
|
||||
<div style="margin: 10px;height: inherit">
|
||||
<el-form class="label-input-form" label-width="150px" ref="formShowData" :model="formShowData" :rules="formRules">
|
||||
<el-form-item class="add-form-item" label="标准名称">
|
||||
<el-input v-model="formShowData.name" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.name" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准编号">
|
||||
<el-input v-model="formShowData.number" type="text" placeholder="请填写"></el-input>
|
||||
<el-input v-model.trim="formShowData.number" type="text" placeholder="请填写"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="补助来源">
|
||||
<el-input v-model="formShowData.source" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.source" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="补助金额">
|
||||
<el-input v-model="formShowData.cost" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.cost" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="入账时间">
|
||||
<el-date-picker
|
||||
v-model="formShowData.time"
|
||||
v-model.trim="formShowData.time"
|
||||
type="datetime"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
@@ -158,13 +158,13 @@
|
||||
>
|
||||
<el-form :model="formInlineOut">
|
||||
<el-form-item class="add-form-item" label="名称" >
|
||||
<el-input v-model="formInlineOut.name" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.name" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="序号" >
|
||||
<el-input v-model="formInlineOut.num" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.num" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="备注" >
|
||||
<el-input v-model="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
|
||||
@@ -2,23 +2,23 @@
|
||||
<template>
|
||||
<div class="listOf-Cost">
|
||||
<el-tabs v-model="activeName" @tab-click="doubleClick">
|
||||
<el-tab-pane label="协会费用信息统计" name="first" :key="'first'">
|
||||
<child1 v-if="isChildUpdate1"></child1>
|
||||
<el-tab-pane label="协会费用信息统计" name="societyCost">
|
||||
<society-cost v-if="activeName ==='societyCost'"></society-cost>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="参会费用信息统计" name="second" :key="'second'">
|
||||
<child2 v-if="isChildUpdate2"></child2>
|
||||
<el-tab-pane label="参会费用信息统计" name="reviseCost">
|
||||
<revise-cost v-if="activeName ==='reviseCost'"></revise-cost>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="参与外部标准制修订费用统计" name="third" :key="'third'">
|
||||
<child3 v-if="isChildUpdate3"></child3>
|
||||
<el-tab-pane label="参与外部标准制修订费用统计" name="attendCost">
|
||||
<attend-cost v-if="activeName === 'attendCost'"></attend-cost>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="采购费用信息统计" name="fourth" :key="'fourth'">
|
||||
<child4 v-if="isChildUpdate4"></child4>
|
||||
<el-tab-pane label="采购费用信息统计" name="purchaseCost">
|
||||
<purchase-cost v-if="activeName === 'purchaseCost'"></purchase-cost>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="翻译费用信息统计" name="fifth" :key="'fifth'">
|
||||
<children v-if="isChildUpdate5"></children>
|
||||
<el-tab-pane label="翻译费用信息统计" name="translateCost">
|
||||
<translate-cost v-if="activeName === 'translateCost'"></translate-cost>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="标准制修订补助资金收支统计" name="sixth" :key="'sixth'">
|
||||
<child6 v-if="isChildUpdate6"></child6>
|
||||
<el-tab-pane label="标准制修订补助资金收支统计" name="subsidyCost">
|
||||
<subsidy-cost v-if="activeName === 'subsidyCost'"></subsidy-cost>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</div>
|
||||
@@ -35,43 +35,20 @@ import subsidyCost from "../pages/subsidyCost";
|
||||
export default {
|
||||
name: "child5",
|
||||
components: {
|
||||
child1: societyCost,
|
||||
child2: reviseCost,
|
||||
child3: attendCost,
|
||||
child4: purchaseCost,
|
||||
children: translateCost,
|
||||
child6: subsidyCost
|
||||
societyCost,
|
||||
reviseCost,
|
||||
attendCost,
|
||||
purchaseCost,
|
||||
translateCost,
|
||||
subsidyCost
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
activeName: 'first',
|
||||
isChildUpdate1: true,
|
||||
isChildUpdate2: false,
|
||||
isChildUpdate3: false,
|
||||
isChildUpdate4: false,
|
||||
isChildUpdate5: false,
|
||||
isChildUpdate6: false
|
||||
activeName: 'societyCost',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log(5)
|
||||
},
|
||||
methods: {
|
||||
doubleClick(tab) {
|
||||
if (tab.name === 'first') {
|
||||
this.isChildUpdate1 = true
|
||||
} else if (tab.name === 'second') {
|
||||
this.isChildUpdate2 = true
|
||||
} else if (tab.name === 'third') {
|
||||
this.isChildUpdate3 = true
|
||||
} else if (tab.name === 'fourth') {
|
||||
this.isChildUpdate4 = true
|
||||
} else if (tab.name === 'fifth') {
|
||||
this.isChildUpdate5 = true
|
||||
}else if (tab.name === 'sixth'){
|
||||
this.isChildUpdate6 = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<!--标法规-工作组-项目费用统计信息-参与外部标准制修订费用统计-->
|
||||
<template>
|
||||
<div id="reviseCost" class="child3">
|
||||
<div id="attendCost" class="child3">
|
||||
<!-- 第一第二行表单 -->
|
||||
<el-form :inline="true" :model="formQuery">
|
||||
<el-form-item class="add-form-item" label="标准号">
|
||||
<el-input v-model="formQuery.proId" size="small" placeholder="请输入标准号"></el-input>
|
||||
<el-form-item class="add-form-item" label="项目编号">
|
||||
<el-input v-model.trim="formQuery.proId" clearable size="small" placeholder="请输入项目编号"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准名称">
|
||||
<el-input v-model="formQuery.proName" size="small" placeholder="请输入标准名称"></el-input>
|
||||
<el-form-item class="add-form-item" label="项目名称">
|
||||
<el-input v-model.trim="formQuery.proName" clearable size="small" placeholder="请输入项目名称"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="项目类型">
|
||||
<el-select v-model="formQuery.type" size="small" placeholder="请选择类型">
|
||||
<el-select v-model.trim="formQuery.type" clearable size="small" placeholder="请选择类型">
|
||||
<el-option
|
||||
v-for="item in typeOptions"
|
||||
:key="item.value"
|
||||
@@ -117,7 +117,7 @@
|
||||
<div style="margin: 10px;height: inherit">
|
||||
<el-form class="label-input-form" label-width="100px" ref="formShowData" :model="formShowData" :rules="formRules">
|
||||
<el-form-item class="add-form-item" label="类型" prop="type">
|
||||
<el-select v-model="formShowData.type" type="text" placeholder="请填写">
|
||||
<el-select v-model.trim="formShowData.type" type="text" placeholder="请填写">
|
||||
<el-option
|
||||
v-for="item in typeOptions"
|
||||
:key="item.value"
|
||||
@@ -127,18 +127,18 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="项目编号" prop="proId">
|
||||
<el-input v-model="formShowData.proId" type="text" placeholder="请填写"></el-input>
|
||||
<el-input v-model.trim="formShowData.proId" type="text" placeholder="请填写"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="项目名称" prop="proName">
|
||||
<el-input v-model="formShowData.proName" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.proName" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="费用列支项" prop="costOutlay">
|
||||
<el-input v-model="formShowData.costOutlay" placeholder="请选择">
|
||||
<el-input v-model.trim="formShowData.costOutlay" placeholder="请选择">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="费用支出" prop="cost">
|
||||
<el-input v-model="formShowData.cost" placeholder="请选择">
|
||||
<el-input v-model.trim="formShowData.cost" placeholder="请选择">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<!--标法规-工作组-项目费用统计信息-采购费用信息统计-->
|
||||
<template>
|
||||
<div id="attendCost" class="child4">
|
||||
<div id="purchaseCost" class="child4">
|
||||
<!-- 第一第二行表单 -->
|
||||
<el-form :inline="true" :model="formQuery" class="demo-form-inline">
|
||||
<el-form-item class="add-form-item" label="标准类型">
|
||||
<el-input v-model="formQuery.type" size="small" placeholder="请输入标准类型"></el-input>
|
||||
<el-input v-model.trim="formQuery.type" clearable size="small" placeholder="请输入标准类型"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准代号">
|
||||
<el-input v-model="formQuery.number" size="small" placeholder="请输入标准代号"></el-input>
|
||||
<el-input v-model.trim="formQuery.number" clearable size="small" placeholder="请输入标准代号"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准名称">
|
||||
<el-input v-model="formQuery.name" size="small" placeholder="请输入标准名称">
|
||||
<el-input v-model.trim="formQuery.name" clearable size="small" placeholder="请输入标准名称">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
@@ -108,24 +108,24 @@
|
||||
<div style="margin: 10px 50px 10px 20px;height: inherit">
|
||||
<el-form class="label-input-form" label-width="150px" ref="formShowData" :model="formShowData" :rules="formRules">
|
||||
<el-form-item class="add-form-item" label="标准类型" prop="type">
|
||||
<el-select v-model="formShowData.type" type="text" placeholder="请填写">
|
||||
<el-select v-model.trim="formShowData.type" type="text" placeholder="请填写">
|
||||
<el-option label="1" value="one"></el-option>
|
||||
<el-option label="2" value="two"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准代号" prop="number">
|
||||
<el-input v-model="formShowData.number" type="text" placeholder="请填写"></el-input>
|
||||
<el-input v-model.trim="formShowData.number" type="text" placeholder="请填写"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准名称" prop="name">
|
||||
<el-input v-model="formShowData.name" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.name" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="页数" prop="pages">
|
||||
<el-input v-model="formShowData.pages" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.pages" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="费用" prop="cost">
|
||||
<el-input v-model="formShowData.cost" placeholder="请选择">
|
||||
<el-input v-model.trim="formShowData.cost" placeholder="请选择">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -153,13 +153,13 @@
|
||||
>
|
||||
<el-form :model="formInlineOut">
|
||||
<el-form-item class="add-form-item" label="名称" >
|
||||
<el-input v-model="formInlineOut.name" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.name" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="序号" >
|
||||
<el-input v-model="formInlineOut.num" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.num" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="备注" >
|
||||
<el-input v-model="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<!--标法规-工作组-项目费用统计信息-参会费用信息统计-->
|
||||
<template>
|
||||
<div id="attendCost" class="child2">
|
||||
<div id="reviseCost" class="child2">
|
||||
<!-- 第一第二行表单 -->
|
||||
<el-form :inline="true" :model="formQuery" class="demo-form-inline">
|
||||
<el-form-item class="add-form-item" label="主办单位">
|
||||
<el-input v-model="formQuery.unit" size="small" placeholder="请输入主办单位"></el-input>
|
||||
<el-input v-model.trim="formQuery.unit" clearable size="small" placeholder="请输入主办单位"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="会议名称">
|
||||
<el-input v-model="formQuery.meetName" size="small" placeholder="请输入会议名称"></el-input>
|
||||
<el-input v-model.trim="formQuery.meetName" clearable size="small" placeholder="请输入会议名称"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="费用列支">
|
||||
<el-select size="small" v-model="formQuery.costOutlay">
|
||||
<el-select size="small" clearable v-model.trim="formQuery.costOutlay">
|
||||
<el-option
|
||||
v-for="item in costOptions"
|
||||
:key="item.value"
|
||||
@@ -22,7 +22,8 @@
|
||||
<el-form-item class="add-form-item" label="会议时间">
|
||||
<el-date-picker
|
||||
size="small"
|
||||
v-model="formQuery.meetTime"
|
||||
clearable
|
||||
v-model.trim="formQuery.meetTime"
|
||||
type="datetime"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
@@ -132,14 +133,14 @@
|
||||
<div style="margin: 10px;height: inherit">
|
||||
<el-form class="label-input-form" label-width="100px" ref="formShowData" :model="formShowData" :rules="formRules">
|
||||
<el-form-item class="add-form-item" label="主办单位" prop="unit">
|
||||
<el-input v-model="formShowData.unit" placeholder="请填写"></el-input>
|
||||
<el-input v-model.trim="formShowData.unit" placeholder="请填写"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="会议名称" prop="meetName">
|
||||
<el-input v-model="formShowData.meetName" type="text" placeholder="请填写"></el-input>
|
||||
<el-input v-model.trim="formShowData.meetName" type="text" placeholder="请填写"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="会议时间" prop="meetTime">
|
||||
<el-date-picker
|
||||
v-model="formShowData.meetTime"
|
||||
v-model.trim="formShowData.meetTime"
|
||||
type="datetime"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
@@ -147,15 +148,15 @@
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="会费标准" prop="payStandard">
|
||||
<el-input v-model="formShowData.payStandard" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.payStandard" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="实际发生" prop="payReality">
|
||||
<el-input v-model="formShowData.payReality" placeholder="请选择">
|
||||
<el-input v-model.trim="formShowData.payReality" placeholder="请选择">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="费用列支" prop="costOutlay">
|
||||
<el-select size="small" v-model="formShowData.costOutlay">
|
||||
<el-select size="small" v-model.trim="formShowData.costOutlay">
|
||||
<el-option
|
||||
v-for="item in costOptions"
|
||||
:key="item.value"
|
||||
@@ -189,13 +190,13 @@
|
||||
>
|
||||
<el-form :model="formInlineOut">
|
||||
<el-form-item class="add-form-item" label="名称" >
|
||||
<el-input v-model="formInlineOut.name" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.name" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="序号" >
|
||||
<el-input v-model="formInlineOut.num" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.num" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="备注" >
|
||||
<el-input v-model="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
@@ -252,7 +253,7 @@ export default {
|
||||
costOptions: [
|
||||
{ label: '列支1', value: '0' },
|
||||
{ label: '列支2', value: '1' },
|
||||
{ label: '列支2', value: '3' },
|
||||
{ label: '列支3', value: '3' },
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div id="societyCost" class="child1">
|
||||
<!-- 第一第二行表单 -->
|
||||
<el-form :inline="true" :model="formQuery" class="demo-form-inline">
|
||||
<el-form-item class="add-form-item" label="协会名称/标委会:">
|
||||
<el-form-item class="add-form-item" label="协会名称:">
|
||||
<el-input v-model="formQuery.scName" size="small" placeholder="请输入协会名称-标委会"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="费用列支:">
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<!--标法规-工作组-项目费用统计信息-标准制修订补助资金收支统计-->
|
||||
<template>
|
||||
<div class="subsidy-Cost">
|
||||
<el-tabs v-model="activeName" @tab-click="TreblingClick">
|
||||
<el-tab-pane label="收入表" name="first" :key="'first'">
|
||||
<child1 v-if="isChildUpdate1"></child1>
|
||||
<div id="subsidyCost" class="subsidy-Cost">
|
||||
<el-tabs v-model="tabsName" @tab-click="TreblingClick">
|
||||
<el-tab-pane label="收入表" name="inComeSubsidy">
|
||||
<in-come-subsidy v-if="tabsName === 'inComeSubsidy'"></in-come-subsidy>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="支出表" name="second" :key="'second'">
|
||||
<child2 v-if="isChildUpdate2"></child2>
|
||||
<el-tab-pane label="支出表" name="expendSubsidy">
|
||||
<expend-subsidy v-if="tabsName === 'expendSubsidy'"></expend-subsidy>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</div>
|
||||
@@ -19,25 +19,18 @@ import expendSubsidy from "../miniPages/expendSubsidy";
|
||||
export default {
|
||||
name: "child6",
|
||||
components: {
|
||||
child1: inComeSubsidy,
|
||||
child2: expendSubsidy
|
||||
inComeSubsidy,
|
||||
expendSubsidy
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
activeName: 'first',
|
||||
isChildUpdate1: true,
|
||||
isChildUpdate2: false
|
||||
tabsName: 'inComeSubsidy',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
TreblingClick(tab) {
|
||||
if (tab.name === 'first') {
|
||||
this.isChildUpdate1 = true
|
||||
} else if (tab.name === 'second') {
|
||||
this.isChildUpdate2 = true
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<!-- 第一第二行表单 -->
|
||||
<el-form :inline="true" :model="formQuery" class="demo-form-inline">
|
||||
<el-form-item class="add-form-item" label="标准类型">
|
||||
<el-input v-model="formQuery.type" size="small" placeholder="根据标准类型搜索"></el-input>
|
||||
<el-input v-model.trim="formQuery.type" clearable size="small" placeholder="根据标准类型搜索"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准代号">
|
||||
<el-input v-model="formQuery.number" size="small" placeholder="根据标准代号搜索"></el-input>
|
||||
<el-input v-model.trim="formQuery.number" clearable size="small" placeholder="根据标准代号搜索"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准名称">
|
||||
<el-input v-model="formQuery.name" size="small" placeholder="根据标准名称搜索"></el-input>
|
||||
<el-input v-model.trim="formQuery.name" clearable size="small" placeholder="根据标准名称搜索"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" size="small" @click="queryData">查询</el-button>
|
||||
@@ -118,34 +118,39 @@
|
||||
<div style="margin: 10px;height: inherit">
|
||||
<el-form class="label-input-form" label-width="150px" ref="formShowData" :model="formShowData" :rules="formRules">
|
||||
<el-form-item class="add-form-item" label="标准类型">
|
||||
<el-select v-model="formShowData.type" type="text" placeholder="请填写">
|
||||
<el-select v-model.trim="formShowData.type" type="text" placeholder="请填写">
|
||||
<el-option label="1" value="one"></el-option>
|
||||
<el-option label="2" value="two"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准代号">
|
||||
<el-input v-model="formShowData.number" type="text" placeholder="请填写"></el-input>
|
||||
<el-input v-model.trim="formShowData.number" type="text" placeholder="请填写"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="标准名称">
|
||||
<el-input v-model="formShowData.name" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.name" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="翻译类型">
|
||||
<el-input v-model="formShowData.translation" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.translation" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item class="add-form-item" label="页数">
|
||||
<el-input v-model="formShowData.pages" type="text" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.pages" type="text" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="费用">
|
||||
<el-input v-model="formShowData.cost" placeholder="请填写">
|
||||
<el-input v-model.trim="formShowData.cost" placeholder="请填写">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="翻译完成时间">
|
||||
<el-input v-model="formShowData.time" placeholder="请填写">
|
||||
</el-input>
|
||||
<el-date-picker
|
||||
v-model.trim="formShowData.time"
|
||||
type="datetime"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
placeholder="选择日期时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -172,13 +177,13 @@
|
||||
>
|
||||
<el-form :model="formInlineOut">
|
||||
<el-form-item class="add-form-item" label="名称" >
|
||||
<el-input v-model="formInlineOut.name" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.name" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="序号" >
|
||||
<el-input v-model="formInlineOut.num" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.num" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="备注" >
|
||||
<el-input v-model="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
<el-input v-model.trim="formInlineOut.remarks" style="width:350px"></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+104
-29
@@ -248,12 +248,13 @@
|
||||
<!-- @click="uploadImportModal(1)"-->
|
||||
<!-- v-btn-permission="'afX1p2gh3c'"-->
|
||||
<!-- ><i class="iconfont"></i>模板下载</el-button>-->
|
||||
<!-- <el-button
|
||||
class="common-button-default delete-button"
|
||||
round
|
||||
@click="deleteStand(2)"
|
||||
v-btn-permission="'374205ce36a859a158ca4db196d151b7'"
|
||||
><i class="iconfont"></i>批量删除</el-button>-->
|
||||
<el-button
|
||||
class="common-button-default delete-button"
|
||||
round
|
||||
@click="deleteStand(2)"
|
||||
v-btn-permission="'374205ce36a859a158ca4db196d151b7'"
|
||||
><i class="iconfont"></i>批量删除
|
||||
</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
round
|
||||
@@ -266,6 +267,10 @@
|
||||
@click="deleteEnterStandFromKind(2)"
|
||||
v-btn-permission="'2d41ebdb6150ba1af52fd753086d77dc'"
|
||||
><i class="iconfont"></i>移除标准</el-button>
|
||||
<el-button class="common-button-default"
|
||||
size="mini" @click="OCRAdd('2')"
|
||||
v-btn-permission="'247cebaefa7cf1683092af160af11502'"><i class="iconfont"></i>编辑
|
||||
</el-button>
|
||||
</div>
|
||||
<!--表格-->
|
||||
<div class="content">
|
||||
@@ -380,7 +385,7 @@
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column fixed="right"
|
||||
v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf')>0" label="操作" align="center" width="100">
|
||||
v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf')>0" label="操作" align="center" width="50">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf') == 1"
|
||||
@command="handleCommand"
|
||||
@@ -407,28 +412,38 @@
|
||||
|
||||
<div @click.stop style="display: inline-block">
|
||||
<el-dropdown trigger="click" @command="handleCommand">
|
||||
<i class="iconfont"></i>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item
|
||||
v-if="scope.row.collectBtn"
|
||||
:command="[scope.row, '收藏']"
|
||||
v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
>
|
||||
收藏
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
v-else
|
||||
:command="[scope.row, '取消收藏']"
|
||||
v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
>
|
||||
取消收藏
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'dd4ea796dab7a01b105ba657b1968a84'">编辑</el-dropdown-item>
|
||||
<!-- <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'ESPMBSD4ZP'">分享</el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '授权']" v-btn-permission="'CWBPST294ZH7HSKD4452'" v-if="scope.row.attrInfoMap && scope.row.attrInfoMap.QBMJ === 'ACF675Z88W'">授权</el-dropdown-item>-->
|
||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'a7a38a95ea374695fc3128037f6feccf'">删除</el-dropdown-item>
|
||||
<!-- <el-dropdown-item :command="[scope.row, '流程']">流程</el-dropdown-item>-->
|
||||
</el-dropdown-menu>
|
||||
<el-button title="收藏" class="collection-btn" icon="el-icon-star-off" v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
v-if="scope.row.collectBtn"
|
||||
@click="handleCommand([scope.row, '收藏'])"
|
||||
>
|
||||
</el-button>
|
||||
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-off" style="color: #f56c6c;" v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
v-else
|
||||
@click="handleCommand([scope.row, '取消收藏'])"
|
||||
>
|
||||
</el-button>
|
||||
<!-- <i class="iconfont"></i>-->
|
||||
<!-- <el-dropdown-menu slot="dropdown">-->
|
||||
<!-- <el-dropdown-item-->
|
||||
<!-- v-if="scope.row.collectBtn"-->
|
||||
<!-- :command="[scope.row, '收藏']"-->
|
||||
<!-- v-btn-permission="'d9730d984627af948053df56a2db7997'"-->
|
||||
<!-- >-->
|
||||
<!-- 收藏-->
|
||||
<!-- </el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item-->
|
||||
<!-- v-else-->
|
||||
<!-- :command="[scope.row, '取消收藏']"-->
|
||||
<!-- v-btn-permission="'d9730d984627af948053df56a2db7997'"-->
|
||||
<!-- >-->
|
||||
<!-- 取消收藏-->
|
||||
<!-- </el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'dd4ea796dab7a01b105ba657b1968a84'">编辑</el-dropdown-item>-->
|
||||
<!-- <!– <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'ESPMBSD4ZP'">分享</el-dropdown-item>–>-->
|
||||
<!-- <!– <el-dropdown-item :command="[scope.row, '授权']" v-btn-permission="'CWBPST294ZH7HSKD4452'" v-if="scope.row.attrInfoMap && scope.row.attrInfoMap.QBMJ === 'ACF675Z88W'">授权</el-dropdown-item>–>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'a7a38a95ea374695fc3128037f6feccf'">删除</el-dropdown-item>-->
|
||||
<!-- <!– <el-dropdown-item :command="[scope.row, '流程']">流程</el-dropdown-item>–>-->
|
||||
<!-- </el-dropdown-menu>-->
|
||||
</el-dropdown>
|
||||
</div>
|
||||
|
||||
@@ -1306,6 +1321,9 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
OCRType: '',
|
||||
OCRTitle: '',
|
||||
ocrList: [],
|
||||
orderBy: '',
|
||||
nowOrder: '',
|
||||
nowOrderBy: '',
|
||||
@@ -3674,6 +3692,7 @@ export default {
|
||||
},
|
||||
// 修改成表格样式后,选择项勾选改变
|
||||
standSelectChange (data) {
|
||||
this.ocrList = data
|
||||
this.selectedList = []
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
this.selectedList.push(data[i].id)
|
||||
@@ -3690,6 +3709,47 @@ export default {
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
OCRAdd (type) {
|
||||
let text = ''
|
||||
this.OCRType = type
|
||||
if (type === '0') {
|
||||
text = 'OCR识别'
|
||||
this.OCRTitle = '选择OCR实别文件'
|
||||
} else if(type === '1') {
|
||||
text = '拆分'
|
||||
this.OCRTitle = '选择拆分文件'
|
||||
}else if(type === '2') {
|
||||
text = '编辑'
|
||||
this.OCRTitle = '选择编辑文件'
|
||||
}
|
||||
if (this.ocrList.length > 1 && (type === '0' || type === '1' || type === '2')) {
|
||||
this.$message.warning('仅能选择一条数据进行' + text)
|
||||
} else if (this.ocrList.length === 0 && (type === '0' || type === '1' || type === '2')) {
|
||||
this.$message.warning('请选择一条数据进行' + text)
|
||||
} else if (this.ocrList.length === 1 && (type === '0' || type === '1')) {
|
||||
this.OCRModel = true
|
||||
this.OCRLoading = true
|
||||
this.$http.get('lawss/sarStandFile/queryFileInfoNew', {
|
||||
type: type,
|
||||
standId: this.selectedList[0]
|
||||
},{
|
||||
_this: this
|
||||
}, res => {
|
||||
this.OCRLoading = false
|
||||
if (res.ok) {
|
||||
if (res.data.length > 0) {
|
||||
this.OCRData = res.data
|
||||
} else {
|
||||
this.$message.warning('当前标准没有' + text + '文件')
|
||||
this.this.OCRData = []
|
||||
}
|
||||
}
|
||||
})
|
||||
} else if (this.ocrList.length === 1 && type === '2'){
|
||||
console.log('4228',this.ocrList)
|
||||
this.selectStandardPro(this.ocrList[0], 'edit')
|
||||
}
|
||||
},
|
||||
// 查询二级菜单
|
||||
selectMenu () {
|
||||
this.countRootId = 0
|
||||
@@ -4397,6 +4457,21 @@ export default {
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
flex: auto;
|
||||
.collection-btn {
|
||||
padding: 0;
|
||||
border: none;
|
||||
color: #4788c0;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background-color: transparent;
|
||||
/*background: rgba(244, 162, 39, 0.1);*/
|
||||
|
||||
//.icon-collection {
|
||||
// background-image: url("~assets/images/shangqi/standardDetails/collection.png");
|
||||
//}
|
||||
|
||||
}
|
||||
.pagination {
|
||||
position: static;
|
||||
/deep/ .pagination-slot {
|
||||
|
||||
@@ -145,12 +145,12 @@
|
||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||
v-btn-permission="'8871ed1be74cf65851659514880bb50a'"><i class="iconfont"></i>导出
|
||||
</el-button>
|
||||
<!-- <el-button class="common-button-default delete-button"
|
||||
<el-button class="common-button-default delete-button"
|
||||
:loading="delLoading"
|
||||
size="mini"
|
||||
@click="deleteStand(2)"
|
||||
v-btn-permission="'4d01342db0f56f01bfceaee7b46904f4'"><i class="iconfont"></i>批量删除
|
||||
</el-button>-->
|
||||
</el-button>
|
||||
<el-button class="common-button-default"
|
||||
size="mini" @click="configurationStandard"
|
||||
v-btn-permission="'590049684c0af005c6b3d1f0ebcf897e'"><i class="iconfont"></i>配置标准
|
||||
@@ -160,6 +160,10 @@
|
||||
@click="deleteStandFromKind(2)"
|
||||
v-btn-permission="'29bf24bbd156c06f136cc89b1c7b2bb0'"><i class="iconfont"></i>移除标准
|
||||
</el-button>
|
||||
<el-button class="common-button-default"
|
||||
size="mini" @click="OCRAdd('2')"
|
||||
v-btn-permission="'247cebaefa7cf1683092af160af11502'"><i class="iconfont"></i>编辑
|
||||
</el-button>
|
||||
<!--<!– <el-button class="common-button-default"
|
||||
size="mini" :loading="searching"
|
||||
@click="uploadImportModal(1)"
|
||||
@@ -313,7 +317,7 @@
|
||||
<span v-else style="color: #333333">{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column fixed="right" v-if="isPermission('f9745194958bc9ed3ee5127459795dbc,e8d690904ee1895dd0d17d9c794fbcd7,b299fa5edb3f3f35badb2adb6bda9f2e')>0" label="操作" align="center" width="100">
|
||||
<el-table-column fixed="right" v-if="isPermission('f9745194958bc9ed3ee5127459795dbc,e8d690904ee1895dd0d17d9c794fbcd7,b299fa5edb3f3f35badb2adb6bda9f2e')>0" label="操作" align="center" width="50">
|
||||
<template slot-scope="scope">
|
||||
|
||||
<div v-if="isPermission('f9745194958bc9ed3ee5127459795dbc,e8d690904ee1895dd0d17d9c794fbcd7,b299fa5edb3f3f35badb2adb6bda9f2e') == 1"
|
||||
@@ -341,30 +345,40 @@
|
||||
|
||||
<div @click.stop style="display: inline-block">
|
||||
<el-dropdown trigger="click" @command="handleCommand">
|
||||
<i class="iconfont"></i>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item
|
||||
v-if="scope.row.collectBtn"
|
||||
:command="[scope.row, '收藏']"
|
||||
v-btn-permission="'f9745194958bc9ed3ee5127459795dbc'"
|
||||
>
|
||||
收藏
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
v-else
|
||||
:command="[scope.row, '取消收藏']"
|
||||
v-btn-permission="'47e155667f521467ed941c89d118e770'"
|
||||
>
|
||||
取消收藏
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'e8d690904ee1895dd0d17d9c794fbcd7'">
|
||||
编辑
|
||||
</el-dropdown-item>
|
||||
<!-- <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'413e676a155d6eb2dfbe08df8cbcf682'">分享</el-dropdown-item>-->
|
||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'b299fa5edb3f3f35badb2adb6bda9f2e'">
|
||||
删除
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
<el-button title="收藏" class="collection-btn" icon="el-icon-star-off" v-btn-permission="'f9745194958bc9ed3ee5127459795dbc'"
|
||||
v-if="scope.row.collectBtn"
|
||||
@click="handleCommand([scope.row, '收藏'])"
|
||||
>
|
||||
</el-button>
|
||||
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-off" style="color: #f56c6c;" v-btn-permission="'f9745194958bc9ed3ee5127459795dbc'"
|
||||
v-else
|
||||
@click="handleCommand([scope.row, '取消收藏'])"
|
||||
>
|
||||
</el-button>
|
||||
<!-- <i class="iconfont"></i>-->
|
||||
<!-- <el-dropdown-menu slot="dropdown">-->
|
||||
<!-- <el-dropdown-item-->
|
||||
<!-- v-if="scope.row.collectBtn"-->
|
||||
<!-- :command="[scope.row, '收藏']"-->
|
||||
<!-- v-btn-permission="'f9745194958bc9ed3ee5127459795dbc'"-->
|
||||
<!-- >-->
|
||||
<!-- 收藏-->
|
||||
<!-- </el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item-->
|
||||
<!-- v-else-->
|
||||
<!-- :command="[scope.row, '取消收藏']"-->
|
||||
<!-- v-btn-permission="'47e155667f521467ed941c89d118e770'"-->
|
||||
<!-- >-->
|
||||
<!-- 取消收藏-->
|
||||
<!-- </el-dropdown-item>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'e8d690904ee1895dd0d17d9c794fbcd7'">-->
|
||||
<!-- 编辑-->
|
||||
<!-- </el-dropdown-item>-->
|
||||
<!-- <!– <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="'413e676a155d6eb2dfbe08df8cbcf682'">分享</el-dropdown-item>–>-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'b299fa5edb3f3f35badb2adb6bda9f2e'">-->
|
||||
<!-- 删除-->
|
||||
<!-- </el-dropdown-item>-->
|
||||
<!-- </el-dropdown-menu>-->
|
||||
</el-dropdown>
|
||||
</div>
|
||||
|
||||
@@ -2242,6 +2256,9 @@ export default {
|
||||
orgName: '',
|
||||
validFlag: '0'
|
||||
},
|
||||
OCRType: '',
|
||||
OCRTitle: '',
|
||||
ocrList: [],
|
||||
standItemList: [],
|
||||
drawerWidth: 1400,
|
||||
// 配置标准相关 开始
|
||||
@@ -3126,6 +3143,7 @@ export default {
|
||||
},
|
||||
// 修改成表格样式后,选择项勾选改变
|
||||
standSelectChange(data) {
|
||||
this.ocrList = data
|
||||
this.selectedList = []
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
this.selectedList.push(data[i].id)
|
||||
@@ -4180,6 +4198,47 @@ export default {
|
||||
this.configStandFlag = false
|
||||
this.selectConfigStand = []
|
||||
},
|
||||
OCRAdd (type) {
|
||||
let text = ''
|
||||
this.OCRType = type
|
||||
if (type === '0') {
|
||||
text = 'OCR识别'
|
||||
this.OCRTitle = '选择OCR实别文件'
|
||||
} else if(type === '1') {
|
||||
text = '拆分'
|
||||
this.OCRTitle = '选择拆分文件'
|
||||
}else if(type === '2') {
|
||||
text = '编辑'
|
||||
this.OCRTitle = '选择编辑文件'
|
||||
}
|
||||
if (this.ocrList.length > 1 && (type === '0' || type === '1' || type === '2')) {
|
||||
this.$message.warning('仅能选择一条数据进行' + text)
|
||||
} else if (this.ocrList.length === 0 && (type === '0' || type === '1' || type === '2')) {
|
||||
this.$message.warning('请选择一条数据进行' + text)
|
||||
} else if (this.ocrList.length === 1 && (type === '0' || type === '1')) {
|
||||
this.OCRModel = true
|
||||
this.OCRLoading = true
|
||||
this.$http.get('lawss/sarStandFile/queryFileInfoNew', {
|
||||
type: type,
|
||||
standId: this.selectedList[0]
|
||||
},{
|
||||
_this: this
|
||||
}, res => {
|
||||
this.OCRLoading = false
|
||||
if (res.ok) {
|
||||
if (res.data.length > 0) {
|
||||
this.OCRData = res.data
|
||||
} else {
|
||||
this.$message.warning('当前标准没有' + text + '文件')
|
||||
this.this.OCRData = []
|
||||
}
|
||||
}
|
||||
})
|
||||
} else if (this.ocrList.length === 1 && type === '2'){
|
||||
console.log('4228',this.ocrList)
|
||||
this.selectStandardPro(this.ocrList[0], 'edit')
|
||||
}
|
||||
},
|
||||
// 表对应标准移除分类到
|
||||
deleteStandFromKind(flag, item) {
|
||||
// this.getMenu().then(boolean => {
|
||||
@@ -5092,6 +5151,21 @@ export default {
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.collection-btn {
|
||||
padding: 0;
|
||||
border: none;
|
||||
color: #4788c0;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background-color: transparent;
|
||||
/*background: rgba(244, 162, 39, 0.1);*/
|
||||
|
||||
//.icon-collection {
|
||||
// background-image: url("~assets/images/shangqi/standardDetails/collection.png");
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
label="标准号"
|
||||
fixed="left"
|
||||
show-overflow-tooltip
|
||||
width="120px"
|
||||
width="190px"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standSortShow === undefined"
|
||||
@@ -101,14 +101,12 @@
|
||||
prop="standName"
|
||||
label="中文名称"
|
||||
show-overflow-tooltip
|
||||
width="120px"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standEnName"
|
||||
label="英文名称"
|
||||
show-overflow-tooltip
|
||||
width="120px"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -157,25 +155,9 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="kccvppsbm"
|
||||
prop=""
|
||||
width="180px"
|
||||
label="卡车VPPS编码">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
prop="cycvppscn"
|
||||
width="180px"
|
||||
label="卡车vpps中文名称">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="cycvppsbm"
|
||||
width="180px"
|
||||
label="乘车VPPS编码">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="cycvppscn"
|
||||
width="180px"
|
||||
label="乘车vpps中文名称">
|
||||
label="合规评估结果">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
|
||||
+63
-121
@@ -48,7 +48,7 @@
|
||||
<el-table-column
|
||||
prop="standType"
|
||||
label="标准/政策类型"
|
||||
width="120"
|
||||
width="320"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.standType === 'INLAND'">国内标准法规</div>
|
||||
@@ -61,7 +61,7 @@
|
||||
<el-table-column
|
||||
prop="standNumber"
|
||||
label="标准/政策号"
|
||||
width="180"
|
||||
width="320"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump"
|
||||
@@ -77,18 +77,13 @@
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="interpretationTime"
|
||||
label="评估时间"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
fixed="right"
|
||||
label=""
|
||||
width="50"
|
||||
width="80"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<i class="el-icon-view btn-i" @click="handleProjectCompliance(scope.row)"></i>
|
||||
<el-button size="mini" type="primary" class="common-button-primary" @click="handleProjectCompliance(scope.row)">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -155,28 +150,40 @@
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}">
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
type="index"
|
||||
width="50"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productLineId"-->
|
||||
<!-- label="产品线">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productId"-->
|
||||
<!-- label="项目编号">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productName"-->
|
||||
<!-- label="项目名称">-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop="projectNumber"
|
||||
label="项目编号">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop="projectName"
|
||||
label="项目名称">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="110px"
|
||||
align="center"
|
||||
prop="projectGroup"
|
||||
label="项目群">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="110px"
|
||||
align="center"
|
||||
prop="productLine"
|
||||
label="产品线">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="110px"
|
||||
align="center"
|
||||
prop="uname"
|
||||
label="产品线责任人">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
@@ -201,98 +208,20 @@
|
||||
prop="clauseName"
|
||||
label="条款名称">
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productType"-->
|
||||
<!-- label="在研产品">-->
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop="researchImplementationTime"
|
||||
label="实施时间">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.researchImplementationTime ? $moment(scope.row.researchImplementationTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop="researchCompliance"
|
||||
label="合规">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
label="不合规">
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop="researchNonCompliance"
|
||||
label="不合规项目">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop="researchCountermeasures"
|
||||
label="应对措施">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop="researchCompletionTime"
|
||||
label="完成时间">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.researchCompletionTime ? $moment(scope.row.researchCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="center"-->
|
||||
<!-- label="在产产品">-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productionImplementationTime"-->
|
||||
<!-- label="实施时间">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span>{{ scope.row.productionImplementationTime ? $moment(scope.row.productionImplementationTime).format('YYYY-MM-DD') : '' }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productionCompliance"-->
|
||||
<!-- label="合规(具体情况)">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- label="不合规">-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productionNonCompliance"-->
|
||||
<!-- label="不合格项目">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productionCountermeasures"-->
|
||||
<!-- label="应对措施">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- width="150px"-->
|
||||
<!-- align="center"-->
|
||||
<!-- prop="productionCompletionTime"-->
|
||||
<!-- label="完成时间">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span>{{ scope.row.productionCompletionTime ? $moment(scope.row.productionCompletionTime).format('YYYY-MM-DD') : '' }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column
|
||||
width="150px"
|
||||
align="center"
|
||||
prop=""
|
||||
label="合规评估结果">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="changeState(scope.row)">符合性状态</el-button>
|
||||
<!-- <div class="table-jump" @click="changeState(scope.row)">-->
|
||||
<!-- <div v-if="scope.row.sarState === 1">符合</div>-->
|
||||
<!-- <div v-if="scope.row.sarState === 2">不符合</div>-->
|
||||
<!-- <div v-if="scope.row.sarState === 3"></div>-->
|
||||
<!-- </div>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
:page="sarProStateTotalPage"
|
||||
@@ -339,6 +268,19 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
changeState (row) {
|
||||
console.log(row);
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'ComplianceDetails',
|
||||
query: {
|
||||
sarId: this.saveSarId,
|
||||
productId: row.productId,
|
||||
sarType: row.standType,
|
||||
fromPage: 'product'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
searchStandAndLaws() {
|
||||
this.page = 1;
|
||||
this.queryStandAndLaws();
|
||||
|
||||
Reference in New Issue
Block a user