-
- 基础信息
-
-
-
+ 基础信息
+
+
@@ -173,7 +173,7 @@
class="common-button-primary"
size="mini"
v-btn-permission="'b3aaea6d18f5871b68825d3783eb736a'"
- @click="getTableByPage('')">
+ @click="getTableByPage">
查询
@@ -326,8 +326,9 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
-import { startProcess, completeTask, saveTaskFirst, queryTaskFirst, taskDel,processBack } from '@/api/process.js'
-import { standUnqualified, dicTypeData } from '@/api/unqualProcess.js'
+import {startProcess, completeTask, saveTaskFirst, queryTaskFirst, taskDel, processBack} from '@/api/process.js'
+import {standUnqualified, dicTypeData} from '@/api/unqualProcess.js'
+
export default {
name: "wfhxzgStep1",
data() {
@@ -365,7 +366,7 @@ export default {
},
deleteDataList: [],
roleFormRules: {
- dockUserName: [{ required: true, message: "请选择标准法规工程师", trigger: ['blur', 'change']}]
+ dockUserName: [{required: true, message: "请选择标准法规工程师", trigger: ['blur', 'change']}]
},
nodeList: [],
drawerTitle: '', //drawer标题
@@ -419,23 +420,23 @@ export default {
if (item.responsibleUnit !== null || item.responsibleUnit !== "") {
let k = (item.responsibleUnit || "").split(',')
for (let i in this.zrbmOptions) {
- for (let m = 0; m< k.length; m++) {
+ for (let m = 0; m < k.length; m++) {
if (this.zrbmOptions[i].value === k[m]) {
- k[m] = this.zrbmOptions[i].label
+ k[m] = this.zrbmOptions[i].label
}
item.responsibleUnit = k.join(',')
}
}
}
- this.$set(item,'engineer','')
- this.$set(item,'engineerId','')
- this.$set(item,'dutyPeopleInfo','')
- this.$set(item,'dutyPeople','')
- this.$set(item,'dutyPeopleInfoId','')
- this.$set(item,'dutyPeopleId','')
- this.$set(item,'fileText',[])
- this.$set(item,'fileTextId',[])
- this.$set(item,'fileTextPath',[])
+ this.$set(item, 'engineer', '')
+ this.$set(item, 'engineerId', '')
+ this.$set(item, 'dutyPeopleInfo', '')
+ this.$set(item, 'dutyPeople', '')
+ this.$set(item, 'dutyPeopleInfoId', '')
+ this.$set(item, 'dutyPeopleId', '')
+ this.$set(item, 'fileText', [])
+ this.$set(item, 'fileTextId', [])
+ this.$set(item, 'fileTextPath', [])
})
this.total = res.data.total
this.loading = false
@@ -478,7 +479,7 @@ export default {
}
},
// 点击查看
- handlePreview (item) {
+ handlePreview(item) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
@@ -506,12 +507,12 @@ export default {
addList = this.dataList.findIndex(items => {
return items.id === item.id
})
- if(addList > -1){
+ if (addList > -1) {
// this.$refs.accessTypeSelect.clearSelection()
this.$refs.entryTable.clearSelection()
this.$refs.searchTable.clearSelection()
this.$message.warning('请勿添加重复数据')
- } else{
+ } else {
this.dataList.push(item)
// this.$refs.accessTypeSelect.clearSelection()
this.$refs.entryTable.clearSelection()
@@ -557,7 +558,7 @@ export default {
},
// 提交按钮
handleSubmit() {
- this.dataList.forEach(item =>{
+ this.dataList.forEach(item => {
item.standId = item.standSerialNumber
})
let json = {
@@ -593,13 +594,13 @@ export default {
params.set('userId', this.$store.getters.userInfo.userId)
params.set('taskIds', this.taskID)
completeTask(params).then(res => {
- if(res.success === true) {
+ if (res.success === true) {
this.$message.success('提交成功')
if (this.bpnId !== '') {
let taskId = {
id: this.bpnId
}
- taskDel(taskId).then(res=>{
+ taskDel(taskId).then(res => {
return res
})
}
@@ -614,14 +615,14 @@ export default {
}
},
// 流程阶段负责人选择
- choiceZRR (type, title, id) {
+ choiceZRR(type, title, id) {
this.nodeList = []
this.nodeList.push(id)
this.type = type
this.drawerTitle = title
this.modalshowflag = true
},
- drawerCheck (data) {
+ drawerCheck(data) {
this.unqualidiedData.forEach(item => {
item.engineer = data[0].name
item.engineerId = data[0].id
@@ -635,20 +636,18 @@ export default {
this.addList()
},
// 清空 查询条件
- clearAllSearch (search = true) {
- this.queryUnqualidiedData = {
- standSerialNumber: '',
- productName: '',
- responsibleUnit: ''
- }
+ clearAllSearch() {
+ this.queryUnqualidiedData.standSerialNumber = ''
+ this.queryUnqualidiedData.productName = ''
+ this.queryUnqualidiedData.responsibleUnit = ''
this.getTableByPage()
},
// 分页事件
- pageChange (page) {
+ pageChange(page) {
this.pageNo = page
this.getTableByPage()
},
- pageSizeChange (pageSize) {
+ pageSizeChange(pageSize) {
this.size = pageSize
this.getTableByPage(pageSize)
},
@@ -659,18 +658,22 @@ export default {
- 添加
- 批量删除
-
+
+
-
-
-
- {{ scope.row.standSerialNumber }}
-
-
-
-
- {{ scope.row.standName }}
-
-
-
-
-
-
-
- {{ scope.row.planCloseTime ? $moment(scope.row.planCloseTime).format('YYYY-MM-DD') : '' }}
-
-
-
-
-
+
+
+
+ {{ scope.row.standSerialNumber }}
+
+
+
+
+ {{ scope.row.standName }}
+
+
+
+
+
+
+
+ {{ scope.row.planCloseTime ? $moment(scope.row.planCloseTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+
+ 添加
+ 批量删除
-