|
@@ -32,6 +32,21 @@
|
|
|
end-placeholder="结束日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item v-if="showHideItem" label="业务类型" prop="businessType">
|
|
|
+<!-- <SelectTree-->
|
|
|
+<!-- ref="typeTree"-->
|
|
|
+<!-- :props="{-->
|
|
|
+<!-- value: 'id', // ID字段名-->
|
|
|
+<!-- label: 'name', // 显示名称-->
|
|
|
+<!-- children: 'children' // 子级字段名-->
|
|
|
+<!-- }"-->
|
|
|
+<!-- :url="'/finance-server/projectRecords/cw_project_business_type/queryById'"-->
|
|
|
+<!-- :value="searchForm.businessType"-->
|
|
|
+<!-- :clearable="true"-->
|
|
|
+<!-- :accordion="true"-->
|
|
|
+<!-- size="default"-->
|
|
|
+<!-- @getValue="(value) => {searchForm.businessType=value}"/>-->
|
|
|
+ </el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
|
<el-button type="default" @click="showHide" :icon="showHideIcon">{{showHideName}}</el-button>
|
|
@@ -92,6 +107,7 @@
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
<vxe-column min-width="160" align="center" title="项目编号" field="projectNumber"></vxe-column>
|
|
|
+ <vxe-column min-width="160" align="center" title="业务类型" field="businessType"></vxe-column>
|
|
|
<vxe-column min-width="230" align="center" title="合同名称" field="contractName">
|
|
|
<template #default="scope">
|
|
|
<el-link type="primary" :underline="false" v-if="commonJS.isNotEmpty(scope.row.contractId)&&commonJS.isNotEmpty(scope.row.contractName)" @click="viewContract(scope.row.contractId)">{{scope.row.contractName}}</el-link>
|
|
@@ -128,6 +144,7 @@
|
|
|
<ProjectRecordsForm ref="projectRecordsForm" @refreshList="refreshList"></ProjectRecordsForm>
|
|
|
<ContractNameForm ref="contractNameForm"></ContractNameForm>
|
|
|
<ProjectRecordsAddForm ref="projectRecordsAddForm" @refreshList="refreshList"></ProjectRecordsAddForm>
|
|
|
+ <CwProjectBusinessTypeListForm ref="cwProjectBusinessTypeListForm"></CwProjectBusinessTypeListForm>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -142,7 +159,8 @@
|
|
|
import UserSelect from '@/views/cw/workClientInfo/clientUserSelect'
|
|
|
import ContractNameForm from '../workContract/ContractNameForm'
|
|
|
import ProjectRecordsAddForm from './ProjectRecordsAddForm'
|
|
|
- export default {
|
|
|
+
|
|
|
+ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
searchVisible: true,
|
|
@@ -152,6 +170,7 @@
|
|
|
searchForm: {
|
|
|
projectMasterName: '',
|
|
|
projectNumber: '',
|
|
|
+ businessType:'',
|
|
|
projectName: '',
|
|
|
createDates: [],
|
|
|
status: '',
|
|
@@ -182,7 +201,7 @@
|
|
|
UserSelect,
|
|
|
ContractNameForm,
|
|
|
ProjectRecordsAddForm,
|
|
|
- UserSelect2
|
|
|
+ UserSelect2,
|
|
|
},
|
|
|
computed: {
|
|
|
userName () {
|
|
@@ -438,7 +457,7 @@
|
|
|
console.log(err.response)
|
|
|
}
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|