ct
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
<u-input v-model="forms.name" placeholder="请选择转交对象" @click="toSelectUser" disabled />
|
||||
</u-form-item>
|
||||
<u-form-item label="事件分类" prop="groupName" required :border-bottom="false" right-icon="arrow-right" v-if="status != 1">
|
||||
<!-- <u-input v-model="forms.groupName" placeholder="请选择事件分类" /> -->
|
||||
|
||||
<span @click="show = true" class="right-span" :style="forms.groupName ? '' : 'color:#999;'">{{forms.groupName || '请选择事件分类'}}</span>
|
||||
|
||||
<u-select v-model="show" :list="myList" value-name="id" label-name="groupName" @confirm="selectStatus"></u-select>
|
||||
</u-form-item>
|
||||
|
||||
<u-form-item :label="status == 3 ? '办结意见' : status == 2 ? '拒绝受理意见' : '办理意见'" prop="content" required :border-bottom="false" label-position="top" class="contents">
|
||||
<u-input v-model="forms.content" :placeholder="status == 2 ? '请写下拒绝受理意见…' : '请写下你的办结意见...'" type="textarea" auto-height height="100" maxlength="500" />
|
||||
<u-form-item :label="status == 2 ? '办结意见':'办理意见'" prop="content" required :border-bottom="false" label-position="top" class="contents">
|
||||
<u-input v-model="forms.content" :placeholder="status == 2 ? '请写下你的办理意见…' : '请写下你的办结意见...'" type="textarea" auto-height height="100" maxlength="500" />
|
||||
</u-form-item>
|
||||
|
||||
<div class="line"></div>
|
||||
@@ -30,11 +30,7 @@
|
||||
</div>
|
||||
|
||||
<div class="btn" v-if="this.status == 2" @click="confirm">
|
||||
<span>拒绝受理</span>
|
||||
</div>
|
||||
|
||||
<div class="btn" v-if="this.status == 3" @click="confirm">
|
||||
<span>我已办结</span>
|
||||
<span>确定</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -55,11 +51,11 @@ export default {
|
||||
},
|
||||
flag: false,
|
||||
show: false,
|
||||
status: '', //1转交 2拒绝受理 3我已办结
|
||||
status: '', //1转交 2我已办结
|
||||
myList: [],
|
||||
id: '',
|
||||
selectUser: {},
|
||||
titleList: ['', '转交事件', '拒绝受理', '我已办结']
|
||||
titleList: ['', '转交事件', '我已办结']
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
@@ -78,7 +74,6 @@ export default {
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
// console.log(this.titleList[this.status])
|
||||
document.title = this.titleList[this.status]
|
||||
},
|
||||
methods: {
|
||||
@@ -109,7 +104,7 @@ export default {
|
||||
}
|
||||
this.submit()
|
||||
},
|
||||
submit() { //status 1转交 2拒绝受理 3我已办结
|
||||
submit() { //status 1转交 2我已办结
|
||||
var url = '', successText= '', params= ''
|
||||
if(this.status == 1) {
|
||||
url = `/app/appclapeventinfo/transfer`
|
||||
@@ -126,11 +121,6 @@ export default {
|
||||
}
|
||||
}
|
||||
if(this.status == 2) {
|
||||
url = `/app/appclapeventinfo/refuse`
|
||||
successText = '拒绝成功'
|
||||
params = {...this.forms}
|
||||
}
|
||||
if(this.status == 3) {
|
||||
url = `/app/appclapeventinfo/finishByGirdMember`
|
||||
successText = '办结成功'
|
||||
params = {...this.forms}
|
||||
|
||||
@@ -40,13 +40,6 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- 暂时先去掉 -->
|
||||
|
||||
<!-- <div class="card">
|
||||
<span class="card-left">上报来源</span>
|
||||
<span class="card-right">三角湖居民社群 李毅 小程序填报三角湖居民社群 李毅 小程序填报三角湖居民社群 李毅 小程序填报</span>
|
||||
</div> -->
|
||||
|
||||
<div class="cards">
|
||||
<span class="card-left" style="color:#999">照片</span>
|
||||
</div>
|
||||
@@ -102,23 +95,15 @@
|
||||
<div class="fixedBtn">
|
||||
<div class="status00" v-if="data.eventStatus == 0">
|
||||
<div class="columns border-r" @click="toContent(1)">
|
||||
<img src="./components/img/zhuanjiao.png" alt="" />
|
||||
<!-- <img src="./components/img/zhuanjiao.png" alt="" /> -->
|
||||
<span class="hint">转交事件</span>
|
||||
</div>
|
||||
|
||||
<!-- 去掉拒绝受理 -->
|
||||
<!-- <div class="columns" @click="toContent(2)">
|
||||
<img src="./components/img/jujue.png" alt="" />
|
||||
<span class="hint">拒绝受理</span>
|
||||
</div> -->
|
||||
|
||||
<div class="doIt" @click="doItShow = true">我来受理</div>
|
||||
<div class="doIt" @click="doItShow = true">事件处理</div>
|
||||
</div>
|
||||
|
||||
<div class="endDoIt" v-if="data.eventStatus == 1 && data.rightType == 0" @click="toContent(3)">前往办理</div>
|
||||
</div>
|
||||
|
||||
<u-modal v-model="doItShow" :mask-close-able="true" z-index="99" content="确定受理该事件?" :show-cancel-button="true" @confirm="doThings"></u-modal>
|
||||
<u-modal v-model="doItShow" :mask-close-able="true" z-index="99" content="确定受理该事件?" :show-cancel-button="true" @confirm="toContent(2)"></u-modal>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -164,14 +149,6 @@ export default {
|
||||
uni.makePhoneCall({ phoneNumber: phone })
|
||||
},
|
||||
|
||||
doThings() {
|
||||
this.$http.post(`/app/appclapeventinfo/finishByGirdMember?id=${this.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.getDetail()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
toContent(status) {
|
||||
uni.navigateTo({ url: `./Content?status=${status}&groupId=${this.data.groupId}&groupName=${this.data.groupName}&id=${this.id}` })
|
||||
},
|
||||
@@ -419,8 +396,8 @@ uni-page-body {
|
||||
height: 42px;
|
||||
}
|
||||
.hint {
|
||||
margin-top: 4px;
|
||||
font-size: 28px;
|
||||
margin-top: 10px;
|
||||
font-size: 36px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="select-content">
|
||||
<div class="search-input" v-if="tabIndex">
|
||||
<img src="./img/search-icon.png" alt="">
|
||||
<u-input type="text" placeholder="请输入姓名" placeholder-style="color:#999;font-size:13px;" height="18" v-model="name" @confirm="getUserList" :clearable="true" maxlength="6" />
|
||||
<u-input type="text" placeholder="请输入姓名" placeholder-style="color:#999;font-size:13px;" height="18" v-model="name" @confirm="getUserList" maxlength="18" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -289,7 +289,7 @@ export default {
|
||||
}
|
||||
::v-deep .u-input{
|
||||
display: inline-block;
|
||||
width: 240px;
|
||||
width: 80%;
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user