| | |
| | | </el-link> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-for="item in this.tableHeadFindData" v-if="!item.hidden && item.prop !== 'id' && item.prop !== 'lcstatus'" |
| | | <el-table-column v-for="item in this.tableHeadFindData" v-if="!item.hidden && item.prop !== 'id' && item.prop !== 'lcstatus' && Object.keys(item.referConfig).length <= 0" |
| | | :key="item.id" |
| | | :formatter="item.formatter" |
| | | :label="item.label" :prop="item.prop" |
| | |
| | | :width="item.width" |
| | | align="center"> |
| | | </el-table-column> |
| | | |
| | | <!-- 参照数据--> |
| | | <el-table-column v-for="(item,index) in referArray" :key="index" v-if="item.referConfig && Object.keys(item.referConfig).length > 0 && !item.hidden" :label="item.title" prop="jiliangdw" |
| | | :show-overflow-tooltip="true" :sortable="item.sortable" :width="item.width" |
| | | align="center"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.jiliangdwname }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </el-row> |
| | |
| | | deleteCode, |
| | | upSaveCode, |
| | | applyGroupCode, |
| | | receiveEditApply |
| | | receiveEditApply, |
| | | applySaveCode |
| | | } from "@/api/GetItem"; |
| | | import {processTS, changeStatus} from "@/api/template/setPersonnel" |
| | | import {listCodeAttributeByClassId} from "@/api/integration/integration.js"; |
| | |
| | | LinkList: [], |
| | | isCodeArrayPushed: false, // 编码数组添加标识变量 |
| | | CodeArray: [], |
| | | //生命周期数组 |
| | | lcstatusArray:[], |
| | | //参照数据数组 |
| | | referArray:[], |
| | | islcstatusPushed:false, |
| | | isReferPushed:false, |
| | | // 状态搜索 |
| | | statusSelect: "all", |
| | | // 关键字查询 |
| | |
| | | // console.log('lcstatusArray', this.lcstatusArray); |
| | | this.islcstatusPushed = true; |
| | | } |
| | | // console.log('new',newval) |
| | | if(!this.isReferPushed){ |
| | | if (newval.find(item => Object.keys(item.referConfig).length > 0)) { |
| | | this.referArray.push(newval.find(item => Object.keys(item.referConfig).length > 0)); |
| | | }else { |
| | | this.referArray.push([]) |
| | | } |
| | | } |
| | | this.isReferPushed=true; |
| | | console.log('new',this.referArray) |
| | | console.log('ss',newval.find(item => Object.keys(item.referConfig).length > 0)) |
| | | this.WupinFindValue = '' |
| | | }, |
| | | }, |
| | |
| | | this.applyvisible = true; |
| | | }); |
| | | }, |
| | | applySumbit(){ |
| | | |
| | | applySumbit(val){ |
| | | // console.log('val',val) |
| | | if(func.notEmpty(val.ts)) { |
| | | val.ts = func.formattedDateTime(val.ts); |
| | | //console.log(val.ts); |
| | | } |
| | | applySaveCode(val).then(res => { |
| | | this.$nextTick(() => { |
| | | this.applyvisible = false; |
| | | this.$message.success("保存成功"); |
| | | this.onLoad() |
| | | }) |
| | | }) |
| | | }, |
| | | amendSumbit(){ |
| | | amendSumbit(val){ |
| | | applySaveCode(val).then(res => { |
| | | this.$nextTick(() => { |
| | | this.amendvisible = false; |
| | | this.$message.success("保存成功"); |
| | | this.onLoad() |
| | | }) |
| | | }) |
| | | |
| | | }, |
| | | //标准修订 |