diff --git a/src/api/common.js b/src/api/common.js index 3e22d48..5eedbe9 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -16,10 +16,11 @@ export function getKeyPersonListAPI() { }) } // 关键人员下拉数据 (分包商管理人员) -export function getSubKeyPersonListAPI() { +export function getSubKeyPersonListAPI(data) { return request({ url: '/tbSubPeople/getTbSubPeopleAll', method: 'get', + params: data, }) } // 分包商下拉数据 diff --git a/src/api/data-create/gw-template.js b/src/api/data-create/gw-template.js new file mode 100644 index 0000000..945710e --- /dev/null +++ b/src/api/data-create/gw-template.js @@ -0,0 +1,47 @@ +import request from '@/utils/request' + +// 标书材料生成 ---- 国网模板 + +// 获取国网模板列表 +export function getGwTemplateListAPI(data) { + return request({ + url: '/stateGrid/getStateGridList', + method: 'get', + params: data, + }) +} +// 根据id获取国网模板详情 +export function getGwTemplateByIdAPI(data) { + return request({ + url: '/stateGrid/getStateGridTempById', + method: 'post', + data: data, + }) +} + +// 新增国网模板 +export function addGwTemplateAPI(data) { + return request({ + url: '/stateGrid/addStateGridTemp', + method: 'post', + data: data, + }) +} + +// 编辑国网模板 +export function editGwTemplateAPI(data) { + return request({ + url: '/stateGrid/updateStateGridTemp', + method: 'post', + data: data, + }) +} + +// 删除国网模板 +export function deleteGwTemplateAPI(data) { + return request({ + url: '/stateGrid/delStateGridTemp', + method: 'post', + data: data, + }) +} diff --git a/src/api/sub-manage/sub-performance-manage.js b/src/api/sub-manage/sub-performance-manage.js index 20ab2dd..e9b95b3 100644 --- a/src/api/sub-manage/sub-performance-manage.js +++ b/src/api/sub-manage/sub-performance-manage.js @@ -10,6 +10,14 @@ export function getSubPerformanceManageListAPI(data) { params: data, }) } +// 根据人员id查询分包业绩管理列表 +export function getSubPerformanceManageListByPersonIdAPI(data) { + return request({ + url: '/tbSubPerf/getTbSubPerfListByPersonId', + method: 'get', + params: data, + }) +} // 新增分包业绩管理 export function addSubPerformanceManageAPI(data) { diff --git a/src/views/data-create/gw-template/components/addAndEditForm.vue b/src/views/data-create/gw-template/components/addAndEditForm.vue index b3d8992..e8ac648 100644 --- a/src/views/data-create/gw-template/components/addAndEditForm.vue +++ b/src/views/data-create/gw-template/components/addAndEditForm.vue @@ -6,6 +6,7 @@ ref="addAndEditFormRef" label-width="0px" label-position="top" + :disabled="formType === 2" > @@ -18,7 +19,13 @@
公司业绩
- 添加 + 添加
@@ -37,7 +44,7 @@ - + - @@ -111,11 +138,16 @@ type="date" clearable style="width: 100%" + v-if="formType !== 2" placeholder="选择日期" value-format="yyyy-MM-dd" v-model="scope.row.exitDate" + :ref="`comKeyExitDate_${scope.$index}`" @change="onChangeExitDate(scope.$index, $event)" /> + + {{ scope.row.exitDate }} + @@ -123,7 +155,7 @@ {{ row.proPerf }} - +