|
|
|
|
@ -139,10 +139,10 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import { ref, reactive, onMounted, watch } from "vue";
|
|
|
|
|
import { ref, reactive, onMounted, watch, getCurrentInstance } from "vue";
|
|
|
|
|
import { message } from "ant-design-vue";
|
|
|
|
|
import { getBusinessCoopList, addAgency, getTemplateList, getChannelUserList } from "@/api/bussinessCoop";
|
|
|
|
|
|
|
|
|
|
const commonJS = getCurrentInstance().appContext.app.config.globalProperties.G;
|
|
|
|
|
// State
|
|
|
|
|
const searchKeyword = ref("");
|
|
|
|
|
const loading = ref(false);
|
|
|
|
|
@ -198,8 +198,8 @@ const formState = reactive({
|
|
|
|
|
channelItemType: "2",
|
|
|
|
|
classify: "1",
|
|
|
|
|
pmdUserId: null,
|
|
|
|
|
consultUserIds: ['315767'],
|
|
|
|
|
channelExpansiontId: '315986',
|
|
|
|
|
consultUserIds: ["315767"],
|
|
|
|
|
channelExpansiontId: "315986",
|
|
|
|
|
address: "",
|
|
|
|
|
lngLatStr: "",
|
|
|
|
|
updateContactTime: 0,
|
|
|
|
|
@ -308,7 +308,12 @@ const fetchBusinessCoopList = async () => {
|
|
|
|
|
|
|
|
|
|
if (response.status == 200) {
|
|
|
|
|
// const { recordList, recordCount } = response.data.pageBean;
|
|
|
|
|
businessCoopList.value = response.data.recordList;
|
|
|
|
|
// businessCoopList.value = response.data.recordList;
|
|
|
|
|
const formatList = response.data.recordList.map((item) => ({
|
|
|
|
|
...item,
|
|
|
|
|
createTime: commonJS.getPointTime(item.createTime, "YY--MM--DD HH:MM"),
|
|
|
|
|
}));
|
|
|
|
|
businessCoopList.value = formatList;
|
|
|
|
|
pagination.total = response.data.recordCount;
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
|
@ -351,8 +356,8 @@ const entryClickExamine = async () => {
|
|
|
|
|
};
|
|
|
|
|
entryShowExamineLoading.value = true;
|
|
|
|
|
try {
|
|
|
|
|
await addAgency(formState);
|
|
|
|
|
// await addAgency(submitData);
|
|
|
|
|
// await addAgency(formState);
|
|
|
|
|
await addAgency(submitData);
|
|
|
|
|
message.success("审核提交成功");
|
|
|
|
|
entryShowExamine.value = false;
|
|
|
|
|
fetchBusinessCoopList();
|
|
|
|
|
@ -411,7 +416,7 @@ onMounted(async () => {
|
|
|
|
|
.search-container {
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
:deep(.ant-form-item){
|
|
|
|
|
:deep(.ant-form-item) {
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
:deep(.image-cell) {
|
|
|
|
|
|