浏览代码

deploy

master
Soleilw 1年前
父节点
当前提交
62d057d5c0
共有 4 个文件被更改,包括 90 次插入102 次删除
  1. 71
    71
      dist/assets/index-xxu5-fUS.js
  2. 1
    1
      dist/index.html
  3. 15
    28
      src/views/jobFair/list/add/add.vue
  4. 3
    2
      src/views/jobFair/list/add/data.ts

dist/assets/index-xxu5-fUS.js
文件差异内容过多而无法显示
查看文件


+ 1
- 1
dist/index.html 查看文件

<link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> <link rel="icon" type="image/svg+xml" href="/logo_1.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>菊城人才市场后台管理</title> <title>菊城人才市场后台管理</title>
<script type="module" crossorigin src="/assets/index-Dz78xSRG.js"></script>
<script type="module" crossorigin src="/assets/index-xxu5-fUS.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DSahY579.css"> <link rel="stylesheet" crossorigin href="/assets/index-DSahY579.css">
</head> </head>
<body> <body>

+ 15
- 28
src/views/jobFair/list/add/add.vue 查看文件

contentType="html" /> contentType="html" />
</a-form-item> </a-form-item>
</a-col> </a-col>

<a-col span="24"> <a-col span="24">
<a-form-item required label="选择日期" name="open_date">
<a-date-picker v-model:value="addOtherForm.open_date" @Change="openDateChange"
style="width: 100%;" />
</a-form-item>
</a-col>
<a-col span="24" v-if="addOtherForm.open_date">
<a-form-item required label="选择具体的时间">
<a-time-picker v-model:value="addOtherForm.time" valueFormat="HH:mm:ss" @change="timeChange" />
<a-form-item required label="选择有效时间">
<a-range-picker v-model:value="addOtherForm.time" @Change="timeChange" show-time
style="width: 100%;" size="large" :disabled-date="disabledDate" />
<!-- <a-date-picker v-model:value="addOtherForm.open_date" @Change="openDateChange"
style="width: 100%;" /> -->
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="24"> <a-col span="24">
<a-form-item required label="地点" name="address"> <a-form-item required label="地点" name="address">
<a-input v-model:value="createForm.address" placeholder="请输入地址" /> <a-input v-model:value="createForm.address" placeholder="请输入地址" />
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col span="24" v-if="createForm.id"> <a-col span="24" v-if="createForm.id">
<a-form-item required label="审核结果" name="status">
<a-form-item required label="招聘会状态" name="status">
<a-radio-group v-model:value="createForm.status" button-style="solid"> <a-radio-group v-model:value="createForm.status" button-style="solid">
<a-radio-button :value="1">待审</a-radio-button>
<a-radio-button :value="2">通过</a-radio-button>
<a-radio-button :value="3">拒绝</a-radio-button>
<!-- <a-radio-button :value="1">待审</a-radio-button> -->
<a-radio-button :value="1">开启</a-radio-button>
<a-radio-button :value="2">结束</a-radio-button>
</a-radio-group> </a-radio-group>
</a-form-item> </a-form-item>
</a-col> </a-col>




// 开始日期 // 开始日期
const openDateChange = (val) => {
addOtherForm.value.open_date = val;
}

// 选择时间
const timeChange = (val) => { const timeChange = (val) => {
addOtherForm.value.time = val;
}


// 富文本
const onEditorUpdate = (data) => {
createForm.value.content = data
createForm.value.open_date = dayjsRef.value(val[0]).format('YYYY-MM-DD HH:mm:ss');
createForm.value.close_date = dayjsRef.value(val[1]).format('YYYY-MM-DD HH:mm:ss');
} }






const sumbitForm = () => { const sumbitForm = () => {
console.log(addOtherForm.value.open_date)
createForm.value.open_date = dayjsRef.value(addOtherForm.value.open_date).format('YYYY-MM-DD') + ' ' + addOtherForm.value.time
console.log(createForm.value) console.log(createForm.value)
if (createForm.value.title && createForm.value.content && createForm.value.open_date && createForm.value.address) { if (createForm.value.title && createForm.value.content && createForm.value.open_date && createForm.value.address) {
if (!createForm.value.id) { if (!createForm.value.id) {
watch(() => props.edit_record, async (newVal) => { watch(() => props.edit_record, async (newVal) => {
if (newVal) { if (newVal) {
title.value = '编辑招聘会'; title.value = '编辑招聘会';
addOtherForm.value = {
addOtherForm.value = {
content: he.decode(newVal.content), content: he.decode(newVal.content),
open_date: dayjsRef.value(newVal.open_date.substring(0, 10)), open_date: dayjsRef.value(newVal.open_date.substring(0, 10)),
time: newVal.open_date.substring(11, 19)
time: [dayjsRef.value(newVal.open_date), newVal.close_date? dayjsRef.value(newVal.close_date): '']
} }
createForm.value = { createForm.value = {
id: newVal.id, id: newVal.id,

+ 3
- 2
src/views/jobFair/list/add/data.ts 查看文件

title: '', title: '',
content: '', content: '',
open_date: '', open_date: '',
close_date: '',
address: '', address: '',
status: 1 status: 1
} }


export let otherDataForm = { export let otherDataForm = {
content: '', content: '',
open_date: '',
time: '' time: ''
} }


export const reset = () => { export const reset = () => {
title: '', title: '',
content: '', content: '',
open_date: '', open_date: '',
close_date: '',
address: '', address: '',
status: 1 status: 1
}; };
otherDataForm = { otherDataForm = {
content: '', content: '',
open_date: '',
time: '' time: ''
} }



正在加载...
取消
保存