-
+
基础信息
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -289,6 +137,8 @@ export default {
drawerTitle: '',
detailData: [],
BZList: [],
+ cbcdOptions: [],
+ standSortOptions: [],
}
},
mounted() {
@@ -299,9 +149,37 @@ export default {
_this: this
}, res => {
this.BZList = res.data.ENERGYTYPES //标准范围
+ this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
+ this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
})
},
methods:{
+ // 文件预览及下载
+ handleFilePreview(file,type) {
+ let id = ""
+ let fileName = ""
+ if(this.qbfsForm.esName && this.qbfsForm.esName !== ''){
+ fileName = this.qbfsForm.esName+'-立项单.docx'
+ }else {
+ fileName = '立项单.docx'
+ }
+ if(file && file.id){
+ id = file.id
+ }else {
+ id = file.response.data.id
+ }
+ if (type === 'down') {
+ if (id) {
+ window.open('/api/lawss/activiti/downloadFileForSar?fileId=' + id +'&oldFileName='+fileName)
+ } else {
+ this.$message.warning('文件不存在,下载失败')
+ }
+ } else if(type === 'preview'){
+ this.$onlinePreview(id)
+ }else {
+ this.$onlineEdit(id,'立项单',this.$store.getters.userInfo.account,this.$store.getters.userInfo.userName)
+ }
+ },
processTable() {
this.$http.get("lawss/activiti/get_list_by_instance", {
prcNum: this.$route.query.prcNum,
@@ -333,10 +211,11 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList (item) {
- console.log(item);
this.$nextTick(() => {
this.qbfsForm = JSON.parse(JSON.stringify(item))
this.type = item.type
+ this.qbfsForm.useLevelShow = '29l0zgltnq' ? 'IDT等同采用' : ('9te26649ne' ? 'NEQ非等效采用' : 'MOD修改采用')
+ this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName);
})
},
handleTabs(name){
@@ -387,6 +266,8 @@ export default {
handleSubmit(){
this.isSubmit = true
this.qbfsForm.bzfgbzFlag = '0'
+ this.qbfsForm.planStatus = '未开始'
+ this.qbfsForm.area = this.qbfsForm.area.join(',')
this.qbfsForm.commentText = this.commentText
let json = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', {