This commit is contained in:
		
							parent
							
								
									89b9c2e6e2
								
							
						
					
					
						commit
						1dbabcd6dd
					
				| 
						 | 
				
			
			@ -543,6 +543,7 @@ export default {
 | 
			
		|||
            this.reset()
 | 
			
		||||
            this.open = true
 | 
			
		||||
            this.title = '新增工程'
 | 
			
		||||
            this.getType()
 | 
			
		||||
            this.getI8ProType()
 | 
			
		||||
        },
 | 
			
		||||
        // 多选框选中数据
 | 
			
		||||
| 
						 | 
				
			
			@ -562,6 +563,7 @@ export default {
 | 
			
		|||
        },
 | 
			
		||||
        /** 修改按钮操作 */
 | 
			
		||||
        handleUpdate(row) {
 | 
			
		||||
            this.getType()
 | 
			
		||||
            this.getI8ProType()
 | 
			
		||||
            this.reset()
 | 
			
		||||
            getProjectListDetail(row.proId).then(response => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -336,7 +336,7 @@ export default {
 | 
			
		|||
    methods: {
 | 
			
		||||
        //获取单位类型
 | 
			
		||||
        getType() {
 | 
			
		||||
              unitTypeList({ dictType: 'bm_unit_type'}).then((response) => {
 | 
			
		||||
              unitTypeList({ dictType: 'bm_unit_type', pageSize: 9999}).then((response) => {
 | 
			
		||||
               let unitList = response.rows
 | 
			
		||||
                this.typeList = unitList.map((item) => {
 | 
			
		||||
                return {
 | 
			
		||||
| 
						 | 
				
			
			@ -433,6 +433,8 @@ export default {
 | 
			
		|||
            this.reset()
 | 
			
		||||
            this.open = true
 | 
			
		||||
            this.title = '新建'
 | 
			
		||||
            this.getType()
 | 
			
		||||
            this.getTypeDept()
 | 
			
		||||
        },
 | 
			
		||||
        handlePeople(row) {
 | 
			
		||||
            this.$router.push({
 | 
			
		||||
| 
						 | 
				
			
			@ -448,6 +450,8 @@ export default {
 | 
			
		|||
        },
 | 
			
		||||
        /** 修改按钮操作 */
 | 
			
		||||
        handleUpdate(row) {
 | 
			
		||||
            this.getType()
 | 
			
		||||
            this.getTypeDept()
 | 
			
		||||
            this.reset()
 | 
			
		||||
            unitInfoAll(row.unitId).then((response) => {
 | 
			
		||||
                this.form = response.data
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1205,7 +1205,9 @@ export default {
 | 
			
		|||
            this.download(
 | 
			
		||||
                '/material/bm_agreement_info/export',
 | 
			
		||||
                {
 | 
			
		||||
                    ...this.queryParams
 | 
			
		||||
                    ...this.queryParams,
 | 
			
		||||
                    startTime: this.queryParams.time ? this.queryParams.time[0] : '',
 | 
			
		||||
                    endTime: this.queryParams.time ? this.queryParams.time[1] : ''
 | 
			
		||||
                },
 | 
			
		||||
                `协议管理 _${currentTime}.xlsx`
 | 
			
		||||
            )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -353,7 +353,7 @@ export default {
 | 
			
		|||
            return {
 | 
			
		||||
              ...item,
 | 
			
		||||
              deptName: index == 0 ? '供应科' : item.deptName || '',
 | 
			
		||||
              auditStatus: 1
 | 
			
		||||
              auditStatus: index == 0 ? 1 : item.auditStatus || 0
 | 
			
		||||
            }
 | 
			
		||||
          })
 | 
			
		||||
          const list = [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -375,7 +375,7 @@ export default {
 | 
			
		|||
            return {
 | 
			
		||||
              ...item,
 | 
			
		||||
              deptName: index == 0 ? '供应科' : item.deptName || '',
 | 
			
		||||
              auditStatus: 1
 | 
			
		||||
              auditStatus: index == 0 ? 1 : item.auditStatus || 0
 | 
			
		||||
            }
 | 
			
		||||
          })
 | 
			
		||||
          const list = [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -101,6 +101,7 @@
 | 
			
		|||
                                查看
 | 
			
		||||
                            </el-button>
 | 
			
		||||
                            <el-button
 | 
			
		||||
                                v-if="scope.row.taskStatusName == '未完成'"
 | 
			
		||||
                                size="mini"
 | 
			
		||||
                                type="primary"
 | 
			
		||||
                                @click="handleEdit(scope.row)"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue