|
|
@@ -3,92 +3,83 @@
|
|
|
<seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { reviewStatusSelect } from '@/enum/dict';
|
|
|
-import {
|
|
|
+ import { reviewStatusSelect,requirementSourceType } from '@/enum/dict';
|
|
|
|
|
|
- assessmentIndicatorsOptions
|
|
|
-} from '@/views/targetManage/util.js';
|
|
|
-export default {
|
|
|
- data() {
|
|
|
- return {};
|
|
|
- },
|
|
|
- computed: {
|
|
|
- // 表格列配置
|
|
|
- seekList() {
|
|
|
- return [
|
|
|
- {
|
|
|
- label: '关键字:',
|
|
|
- value: 'searchName',
|
|
|
- type: 'input',
|
|
|
- placeholder: '需求单编码/需求单名称/产品名称'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '需求单编码:',
|
|
|
- value: 'requirementCode',
|
|
|
- type: 'input',
|
|
|
- placeholder: '请输入'
|
|
|
- },
|
|
|
- // {
|
|
|
- // label: '需求单名称:',
|
|
|
- // value: 'requirementName',
|
|
|
- // type: 'input',
|
|
|
- // placeholder: '请输入',
|
|
|
- // },
|
|
|
- // {
|
|
|
- // label: '产品名称:',
|
|
|
- // value: 'productNames',
|
|
|
- // width: 380,
|
|
|
- // type: 'input',
|
|
|
- // placeholder: '请输入',
|
|
|
- // },
|
|
|
- // {
|
|
|
- // label: '需求类型:',
|
|
|
- // value: 'sourceTypeName',
|
|
|
- // width: 380,
|
|
|
- // type: 'input',
|
|
|
- // placeholder: '请输入'
|
|
|
- // },
|
|
|
- {
|
|
|
- label: '需求部门:',
|
|
|
- value: 'requireDeptName',
|
|
|
- width: 380,
|
|
|
- type: 'input',
|
|
|
- placeholder: '请输入'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '需求人:',
|
|
|
- value: 'requireUserName',
|
|
|
- width: 380,
|
|
|
- type: 'input',
|
|
|
- placeholder: '请输入'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '状态:',
|
|
|
- value: 'status',
|
|
|
- width: 380,
|
|
|
- type: 'select',
|
|
|
- placeholder: '请选择状态',
|
|
|
- planList: reviewStatusSelect
|
|
|
- },
|
|
|
- {
|
|
|
- label: '创建时间:',
|
|
|
- value: 'createTime',
|
|
|
- type: 'date',
|
|
|
- dateType: 'datetimerange',
|
|
|
- placeholder: '',
|
|
|
- width: 380,
|
|
|
- valueAr: ['createTimeStart', 'createTimeEnd']
|
|
|
- },
|
|
|
- ];
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {};
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ // 表格列配置
|
|
|
+ seekList() {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ label: '关键字:',
|
|
|
+ value: 'searchName',
|
|
|
+ type: 'input',
|
|
|
+ placeholder: '需求单编码/需求单名称/产品名称'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '需求单编码:',
|
|
|
+ value: 'requirementCode',
|
|
|
+ type: 'input',
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // label: '需求单名称:',
|
|
|
+ // value: 'requirementName',
|
|
|
+ // type: 'input',
|
|
|
+ // placeholder: '请输入',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '产品名称:',
|
|
|
+ // value: 'productNames',
|
|
|
+ // width: 380,
|
|
|
+ // type: 'input',
|
|
|
+ // placeholder: '请输入',
|
|
|
+ // },
|
|
|
+
|
|
|
+ {
|
|
|
+ label: '需求部门:',
|
|
|
+ value: 'requireDeptName',
|
|
|
+ width: 380,
|
|
|
+ type: 'input',
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '需求人:',
|
|
|
+ value: 'requireUserName',
|
|
|
+ width: 380,
|
|
|
+ type: 'input',
|
|
|
+ placeholder: '请输入'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '状态:',
|
|
|
+ value: 'status',
|
|
|
+ width: 380,
|
|
|
+ type: 'select',
|
|
|
+ placeholder: '请选择状态',
|
|
|
+ planList: reviewStatusSelect
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '创建时间:',
|
|
|
+ value: 'createTime',
|
|
|
+ type: 'date',
|
|
|
+ dateType: 'datetimerange',
|
|
|
+ placeholder: '',
|
|
|
+ width: 380,
|
|
|
+ valueAr: ['createTimeStart', 'createTimeEnd']
|
|
|
+ }
|
|
|
+ ];
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ /* 搜索 */
|
|
|
+ search(e) {
|
|
|
+ this.$emit('search', {
|
|
|
+ ...e
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
- },
|
|
|
- methods: {
|
|
|
- /* 搜索 */
|
|
|
- search(e) {
|
|
|
- this.$emit('search', {
|
|
|
- ...e
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
-};
|
|
|
+ };
|
|
|
</script>
|