|
|
@ -49,6 +49,15 @@ |
|
|
</el-option> |
|
|
</el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="''" > |
|
|
|
|
|
<span slot="label" style=""> |
|
|
|
|
|
<a herf="#" @click="getBaseList(1056)">文档类型ID</a> |
|
|
|
|
|
</span> |
|
|
|
|
|
<el-input v-model="searchData.documentTypeId" clearable style="width: 120px"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="'文档类型'"> |
|
|
|
|
|
<el-input v-model="searchData.documentType" style="width: 151px"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
<el-form-item :label="'PM/Sales'"> |
|
|
<el-form-item :label="'PM/Sales'"> |
|
|
<el-select v-model="searchData.projectManager" placeholder="请选择" clearable style="width: 130px"> |
|
|
<el-select v-model="searchData.projectManager" placeholder="请选择" clearable style="width: 130px"> |
|
|
<el-option |
|
|
<el-option |
|
|
@ -355,6 +364,8 @@ |
|
|
<el-button @click="copyDialog = false">关闭</el-button> |
|
|
<el-button @click="copyDialog = false">关闭</el-button> |
|
|
</el-footer> |
|
|
</el-footer> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
@ -379,9 +390,12 @@ import {getTableDefaultListLanguage, getTableUserListLanguage, updateColumnSize} |
|
|
import {EventBus} from "../../../main"; |
|
|
import {EventBus} from "../../../main"; |
|
|
import UploadFileList1 from "../common/uploadFileList1.vue"; |
|
|
import UploadFileList1 from "../common/uploadFileList1.vue"; |
|
|
import {uploadFileList} from '@/api/base/baseFunction.js'; |
|
|
import {uploadFileList} from '@/api/base/baseFunction.js'; |
|
|
|
|
|
import Chooselist from '@/views/modules/common/Chooselist_eam' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
components: {UploadFileList1}, |
|
|
|
|
|
|
|
|
components: {UploadFileList1, |
|
|
|
|
|
Chooselist |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
computed: { |
|
|
computed: { |
|
|
projectOwnersList() { |
|
|
projectOwnersList() { |
|
|
@ -459,6 +473,8 @@ export default { |
|
|
closeEndDate: '', |
|
|
closeEndDate: '', |
|
|
projectLeader: '', |
|
|
projectLeader: '', |
|
|
documentDefinitionListId: '', |
|
|
documentDefinitionListId: '', |
|
|
|
|
|
documentTypeId:'', |
|
|
|
|
|
documentType: '', |
|
|
page: 1, |
|
|
page: 1, |
|
|
limit: 10, |
|
|
limit: 10, |
|
|
}, |
|
|
}, |
|
|
@ -1737,6 +1753,28 @@ export default { |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 获取基础数据列表S |
|
|
|
|
|
getBaseList (val,type) { |
|
|
|
|
|
this.tagNo = val |
|
|
|
|
|
this.tagNo1 = type |
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
|
let strVal = '' |
|
|
|
|
|
let conSql = '' |
|
|
|
|
|
if (val === 1056 ) { |
|
|
|
|
|
strVal = this.searchData.documentTypeId ? this.searchData.documentTypeId.toString() : '' |
|
|
|
|
|
conSql = " and a.site = '" + this.$store.state.user.site + "'" |
|
|
|
|
|
this.$refs.baseList.init(val, strVal, conSql) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
/* 列表方法的回调 */ |
|
|
|
|
|
getBaseData (val) { |
|
|
|
|
|
if (this.tagNo === 1056) { |
|
|
|
|
|
this.searchData.documentTypeId = val.document_type_id |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
handleColumnResize(newWidth, oldWidth, column, event){ |
|
|
handleColumnResize(newWidth, oldWidth, column, event){ |
|
|
let inData= this.columnProjectAllDocumentList.filter(item => item.columnProp === column.property)[0] |
|
|
let inData= this.columnProjectAllDocumentList.filter(item => item.columnProp === column.property)[0] |
|
|
inData.columnWidth=newWidth |
|
|
inData.columnWidth=newWidth |
|
|
|