25117
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
<div @click="add(1)">发布会议</div>
|
||||
</div>
|
||||
</div>
|
||||
<u-picker mode="time" v-model="show" :params="params" @confirm="confirm"></u-picker>
|
||||
<u-picker mode="time" v-model="show" :params="options" @confirm="confirm"></u-picker>
|
||||
<AiBack ref="aiBack" v-if="!userSelect"/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -95,6 +95,11 @@ import {mapActions} from "vuex";
|
||||
export default {
|
||||
name: "addMeeting",
|
||||
components: {AiBack, AiUploader},
|
||||
props:{
|
||||
params:{
|
||||
type: [Number, String]
|
||||
}
|
||||
},
|
||||
data() {
|
||||
const initTime = {
|
||||
time: "",
|
||||
@@ -123,10 +128,10 @@ export default {
|
||||
userSelect: false,
|
||||
}
|
||||
},
|
||||
onLoad(opt) {
|
||||
if (opt.id) {
|
||||
this.form.id = opt.id
|
||||
this.getDetail()
|
||||
created(){
|
||||
if (this.params) {
|
||||
this.form.id = this.params;
|
||||
this.getDetail();
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
let date = new Date();
|
||||
@@ -139,7 +144,7 @@ export default {
|
||||
})
|
||||
},
|
||||
computed: {
|
||||
params() {
|
||||
options() {
|
||||
return {
|
||||
year: true,
|
||||
month: true,
|
||||
|
||||
Reference in New Issue
Block a user