|
@@ -3,75 +3,41 @@
|
|
|
<a-form ref="formRef" name="advanced_search" class="ant-advanced-search-form" :model="searchParams" >
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="6">
|
|
|
- <a-form-item label="企业名称" :label-col="{span:8}" name="CompanyName">
|
|
|
+ <a-form-item label="企业名称" :label-col="{span:8}" name="companyName">
|
|
|
<a-input v-model:value="searchParams.companyName" placeholder=""/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="6">
|
|
|
- <a-form-item label="企业地址" :label-col="{span:8}" name="CompanyAddress">
|
|
|
+ <a-form-item label="企业地址" :label-col="{span:8}" name="companyAddress">
|
|
|
<a-input v-model:value="searchParams.companyAddress" placeholder=""/>
|
|
|
<!--<a-range-picker format="YYYY-MM-DD" :placeholder="['开始日期', '结束日期']" @change="onRangeChange"/>-->
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="6">
|
|
|
- <a-form-item label="负责人名称" :label-col="{span:8}" name="DutyUserName">
|
|
|
+ <a-form-item label="负责人名称" :label-col="{span:8}" name="dutyUserName">
|
|
|
<a-input v-model:value="searchParams.dutyUserName" placeholder=""/>
|
|
|
<!--<a-select ref="select" v-model:value="searchParamsState.collegeID" :options="collegeList"
|
|
|
:field-names="{label:'name',value:'collegeID'}" @change="loadData" functioncode="T014000" :allow-clear="true" >
|
|
|
</a-select>-->
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :span="6" style="text-align: right">
|
|
|
+ <a-col :span="6" style="text-align: left">
|
|
|
<a-button type="primary" html-type="submit" @click="onSearch">查询</a-button>
|
|
|
-<!-- <a style="font-size: 12px" @click="expand = !expand">
|
|
|
- <template v-if="expand">
|
|
|
- <UpOutlined/>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <DownOutlined/>
|
|
|
- </template>
|
|
|
- {{ expand ? '收缩' : '展开' }}
|
|
|
- </a>-->
|
|
|
+ <a-button
|
|
|
+ style="margin: 0 8px"
|
|
|
+ @click="
|
|
|
+ () => {
|
|
|
+ formRef.resetFields();
|
|
|
+ loadData();
|
|
|
+ }
|
|
|
+ ">重置</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
-<!-- <a-row :gutter="24" v-show="expand">
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item label="问题描述" :label-col="{span:6}" name="ProblemDesc">
|
|
|
- <a-input v-model:value="searchParamsState.problemDesc" placeholder=""/>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="7">
|
|
|
- <a-form-item label="问题特性" :label-col="{span:7}" name="ProblemCharacteristics">
|
|
|
- <a-select
|
|
|
- ref="select"
|
|
|
- v-model:value="searchParamsState.problemCharacteristics"
|
|
|
- :options="problemAttrList"
|
|
|
- :field-names="{label:'name',value:'value'}"
|
|
|
- @change="loadData"
|
|
|
- :allow-clear="true" >
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item label="是否解决" :label-col="{span:6}" name="IsResolve">
|
|
|
- <a-select
|
|
|
- ref="select"
|
|
|
- v-model:value="searchParamsState.isResolve"
|
|
|
- :options="resolveList"
|
|
|
- :field-names="{label:'resolveName',value:'resolveID'}"
|
|
|
- @change="loadData"
|
|
|
- :allow-clear="true" >
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="5" style="text-align: left">
|
|
|
- </a-col>
|
|
|
- </a-row>-->
|
|
|
+
|
|
|
<a-row class="edit-operation">
|
|
|
<a-col :span="24" style="text-align: right">
|
|
|
-<!--functioncode="T014001"-->
|
|
|
- <a-button type="primary" html-type="submit" @click='onOperates(null,"新增",1)' >新增</a-button>
|
|
|
- <BExportExcel :title="'导出'" :filename="'运营机构信息'" :url="'/institution/export'" :params="{...searchParams, rows:100000}"></BExportExcel>
|
|
|
+ <a-button type="primary" html-type="submit" functioncode="T01010102" @click='onOperates(null,"新增",1)' >新增</a-button>
|
|
|
+ <BExportExcel :title="'导出'" :filename="'运营机构信息'" :url="'/institution/export'" :params="{...searchParams, rows:100000}"></BExportExcel>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
@@ -85,8 +51,8 @@
|
|
|
<template #bodyCell="{ column, text, record }">
|
|
|
<template v-if="column.key === 'operation'">
|
|
|
<div class="table-operation">
|
|
|
- <a-button type="link" size="small" @click='onOperates(record.institutionID,"修改",2)' >编辑</a-button>
|
|
|
- <a-button type="link" size="small" @click="onDel(record)" >删除</a-button>
|
|
|
+ <a-button type="link" size="small" functioncode="T01010103" @click='onOperates(record.institutionID,"修改",2)' >编辑</a-button>
|
|
|
+ <a-button type="link" size="small" functioncode="T01010104" @click="onDel(record)" >删除</a-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -99,8 +65,7 @@
|
|
|
<script lang="ts">
|
|
|
import {reactive, ref, computed, defineComponent, createVNode} from 'vue';
|
|
|
import {DownOutlined, ExclamationCircleOutlined, UpOutlined} from '@ant-design/icons-vue';
|
|
|
-import type {FormInstance} from 'ant-design-vue';
|
|
|
-import type {TableColumnsType, TableProps} from 'ant-design-vue';
|
|
|
+import type {FormInstance,TableColumnsType, TableProps} from 'ant-design-vue';
|
|
|
import {getInstitutionList, delInstitution} from '@/api/baseSettings/institution';
|
|
|
import InstitutionEditForm from "@/views/baseSettings/institution/edit.vue";
|
|
|
import BExportExcel from "@/components/basic/excel/exportExcel/exportExcel.vue";
|
|
@@ -148,9 +113,6 @@ export default defineComponent({
|
|
|
}));
|
|
|
|
|
|
const dataList = ref([]);
|
|
|
- /*const problemAttrList = ref<SelectProps['options']>();
|
|
|
- const collegeList = ref<SelectProps['options']>();
|
|
|
- const resolveList = ref([{resolveName:"是",resolveID:1},{resolveName:"否",resolveID:0}]);*/
|
|
|
const institutionEditModelRef = ref();
|
|
|
|
|
|
|