Merge remote-tracking branch 'origin/dev' into dev
# Conflicts: # src/apps/AppMeetingNotice/belongToMe.vue # src/apps/AppMeetingNotice/detail.vue
This commit is contained in:
@@ -50,6 +50,8 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.access = true
|
this.access = true
|
||||||
|
} else {
|
||||||
|
this.err = "无法获取表单"
|
||||||
}
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.err = err
|
this.err = err
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<u-input v-model="form.title" placeholder="请输入,最多30字" maxlength="30"/>
|
<u-input v-model="form.title" placeholder="请输入,最多30字" maxlength="30"/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="调查走访内容" prop="content">
|
<u-form-item label="调查走访内容" prop="content">
|
||||||
<ai-textarea v-model="form.content" placeholder="请输入,最多500字" :maxlength="500"/>
|
<AiTextarea v-model="form.content" placeholder="请输入,最多500字" :maxlength="500"/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="图片(最多9张)">
|
<u-form-item label="图片(最多9张)">
|
||||||
<ai-uploader multiple :limit="9" :def.sync="form.fileList" action="/admin/file/add2"/>
|
<AiUploader multiple :limit="9" :def.sync="form.fileList" action="/admin/file/add2"/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
<div bottom>
|
<div bottom>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<div class="contentPane">
|
<div class="contentPane">
|
||||||
<div v-html="form.content"/>
|
<div v-html="form.content"/>
|
||||||
<div flex class="wrap">
|
<div flex class="wrap">
|
||||||
<ai-image v-for="(op,i) in form.fileList" :src="op.accessUrl" preview :key="i"/>
|
<AiImage v-for="(op,i) in form.fileList" :src="op.accessUrl" preview :key="i"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -33,14 +33,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiUploader from "../../components/AiUploader";
|
|
||||||
import AiImage from "../../components/AiImage";
|
|
||||||
import AiTextarea from "../../components/AiTextarea";
|
|
||||||
import AiBack from "../../components/AiBack";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'interviewDetail',
|
name: 'interviewDetail',
|
||||||
components: {AiBack, AiTextarea, AiImage, AiUploader},
|
|
||||||
inject: {root: {}},
|
inject: {root: {}},
|
||||||
computed: {
|
computed: {
|
||||||
isEdit() {
|
isEdit() {
|
||||||
|
|||||||
@@ -68,17 +68,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiAdd from "../../components/AiAdd";
|
|
||||||
import AiEmpty from "../../components/AiEmpty";
|
|
||||||
import AiTopFixed from "../../components/AiTopFixed";
|
|
||||||
import {add, detail, read} from "./components";
|
import {add, detail, read} from "./components";
|
||||||
import AiOpenData from "../../components/AiOpenData";
|
|
||||||
import {mapActions} from "vuex";
|
import {mapActions} from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AppNotification",
|
name: "AppNotification",
|
||||||
appName: "通知公告",
|
appName: "通知公告",
|
||||||
components: {AiOpenData,AiAdd, AiEmpty, AiTopFixed, add, detail, read},
|
components: {add, detail, read},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
index: 0,
|
index: 0,
|
||||||
|
|||||||
@@ -12,7 +12,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<AiUploader :multiple="true" type="image" :limit="9" placeholder="上传图片" @list="fileList" :def="form.files" action="/admin/file/add2"></AiUploader>
|
<AiUploader :multiple="true" type="image" :limit="9" placeholder="上传图片" @list="fileList" :def="form.files"
|
||||||
|
action="/admin/file/add2"></AiUploader>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card item-wrap">
|
<div class="card item-wrap">
|
||||||
@@ -66,13 +67,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiBack from "../../../components/AiBack";
|
|
||||||
import AiUploader from "../../../components/AiUploader";
|
|
||||||
import {mapActions} from "vuex";
|
import {mapActions} from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "add",
|
name: "add",
|
||||||
components: {AiBack,AiUploader},
|
|
||||||
props: {
|
props: {
|
||||||
params: Object
|
params: Object
|
||||||
},
|
},
|
||||||
@@ -104,7 +102,7 @@
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
params: {
|
params: {
|
||||||
handler:function (v) {
|
handler: function () {
|
||||||
if (this.params?.id) {
|
if (this.params?.id) {
|
||||||
this.form.id = this.params?.id;
|
this.form.id = this.params?.id;
|
||||||
this.flag = this.params?.flag;
|
this.flag = this.params?.flag;
|
||||||
@@ -132,7 +130,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
confirm(e) {
|
confirm(e) {
|
||||||
if(e.timestamp< (Date.now()/1000)|0){
|
if (e.timestamp < (Date.now() / 1000) || 0) {
|
||||||
return this.$u.toast("发送时间不能小于当前时间");
|
return this.$u.toast("发送时间不能小于当前时间");
|
||||||
}
|
}
|
||||||
this.form.releaseTime = `${e.year}-${e.month}-${e.day} ${e.hour}:${e.minute}:${e.second}`;
|
this.form.releaseTime = `${e.year}-${e.month}-${e.day} ${e.hour}:${e.minute}:${e.second}`;
|
||||||
@@ -306,6 +304,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
background-color: #E7F1FE;
|
background-color: #E7F1FE;
|
||||||
color: #1174FE;
|
color: #1174FE;
|
||||||
|
|||||||
@@ -60,14 +60,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiBack from "../../../components/AiBack";
|
|
||||||
import {mapActions} from "vuex";
|
import {mapActions} from "vuex";
|
||||||
import AiEmpty from "../../../components/AiEmpty";
|
|
||||||
import AiOpenData from "../../../components/AiOpenData";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "detail",
|
name: "detail",
|
||||||
components:{AiOpenData,AiBack,AiEmpty},
|
|
||||||
props: {
|
props: {
|
||||||
params: Object
|
params: Object
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,13 +14,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiBack from "../../../components/AiBack";
|
|
||||||
import AiTopFixed from "../../../components/AiTopFixed";
|
|
||||||
import AiOpenData from "../../../components/AiOpenData";
|
|
||||||
import {mapActions} from "vuex";
|
import {mapActions} from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "read",
|
name: "read",
|
||||||
components: {AiBack, AiTopFixed, AiOpenData},
|
|
||||||
props: {
|
props: {
|
||||||
params: [String, Number]
|
params: [String, Number]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user