Browse Source

按钮权限优化,转办意见

feature
mk 1 year ago
parent
commit
e883558cb6
  1. 4
      src/main.js
  2. 4
      src/views/modules/shequzhili/Delivery/index.vue
  3. 4
      src/views/modules/shequzhili/event/cpts/event-detail.vue
  4. 8
      src/views/modules/shequzhili/event/cpts/process-form-assign.vue

4
src/main.js

@ -48,7 +48,7 @@ import PopTips from "@/components/PopTips/index.vue";
import PopHomeTip from "@/components/PopHomeTip/index.vue"; import PopHomeTip from "@/components/PopHomeTip/index.vue";
import NameSplit from "@/components/NameSplit/index.vue"; import NameSplit from "@/components/NameSplit/index.vue";
import RelationGraph from "relation-graph"; import RelationGraph from "relation-graph";
// import dayjs from 'dayjs' import dayjs from 'dayjs'
// import AddNodeJw from "@/components/JwTree/addNode.vue"; // import AddNodeJw from "@/components/JwTree/addNode.vue";
//按钮 //按钮
@ -104,7 +104,7 @@ Vue.directive("fixed", {
// 挂载全局 // 挂载全局
Vue.prototype.$http = http; Vue.prototype.$http = http;
Vue.prototype.$sensitive = desensitization; Vue.prototype.$sensitive = desensitization;
// Vue.prototype.$dayjs = dayjs Vue.prototype.$dayjs = dayjs
// el-uploader的header配置 // el-uploader的header配置
Vue.prototype.$getElUploadHeaders = () => ({ Vue.prototype.$getElUploadHeaders = () => ({
Authorization: localStorage.getItem("token") || "", Authorization: localStorage.getItem("token") || "",

4
src/views/modules/shequzhili/Delivery/index.vue

@ -151,8 +151,8 @@
<el-button @click="handleWatch(scope.row)" type="text" size="small" class="">查看</el-button> <el-button @click="handleWatch(scope.row)" type="text" size="small" class="">查看</el-button>
<!-- <el-button @click="handleDispose(scope.row)" type="text" size="small" class="">{{scope.row.deliverystatus==0?"派件":"办理"}}</el-button> <!-- <el-button @click="handleDispose(scope.row)" type="text" size="small" class="">{{scope.row.deliverystatus==0?"派件":"办理"}}</el-button>
--> -->
<el-button @click="handleDispose(scope.row,'dispose')" type="text" size="small" v-if="scope.row.status == 'assigned'">处理</el-button> <el-button @click="handleDispose(scope.row,'dispose')" type="text" size="small" v-if="(scope.row.status == 'processing'|| scope.row.status === 'assigned') && scope.row.operationType === '5'">处理</el-button>
<el-button @click="handleDispose(scope.row,'assign')" type="text" size="small" v-if="scope.row.status !='assigned'">派件</el-button> <el-button @click="handleDispose(scope.row,'assign')" type="text" size="small" v-if="scope.row.status =='unassigned'">派件</el-button>
<el-button @click="handleDispose(scope.row,'check')" type="text" size="small" v-if="scope.row.operationType === '11'">审核</el-button> <el-button @click="handleDispose(scope.row,'check')" type="text" size="small" v-if="scope.row.operationType === '11'">审核</el-button>
</template> </template>
</el-table-column> </el-table-column>

4
src/views/modules/shequzhili/event/cpts/event-detail.vue

@ -66,7 +66,7 @@
</div> </div>
<div class="item"> <div class="item">
<div class="label">转办意见</div> <div class="label">转办意见</div>
<div class="value flex-1">{{ info.transferAdvice }}</div> <div class="value flex-1">{{ info.content }}</div>
</div> </div>
<div class="item"> <div class="item">
<div class="label">办理要求</div> <div class="label">办理要求</div>
@ -162,7 +162,7 @@ export default {
} }
this.$EventBus.$on('handelInputEventContent', ({ type, value }) => { this.$EventBus.$on('handelInputEventContent', ({ type, value }) => {
if (type === 'opinion') { if (type === 'opinion') {
this.info.transferAdvice = value; this.info.content = value;
} else if (type === 'handlingReq') { } else if (type === 'handlingReq') {
this.info.handlingReq = value; this.info.handlingReq = value;
} }

8
src/views/modules/shequzhili/event/cpts/process-form-assign.vue

@ -38,11 +38,11 @@
</el-date-picker> </el-date-picker>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="转办意见" prop="transferAdvice" label-width="150px" :class="{ 'form-item': source === 'visiual' }" <el-form-item label="转办意见" prop="content" label-width="150px" :class="{ 'form-item': source === 'visiual' }"
style="display: block"> style="display: block">
<div :class="{ 'visiual-form': source === 'visiual' }"> <div :class="{ 'visiual-form': source === 'visiual' }">
<el-input class="cell-width-area" type="textarea" maxlength="500" show-word-limit :rows="5" <el-input class="cell-width-area" type="textarea" maxlength="500" show-word-limit :rows="5"
placeholder="请输入转办意见,不超过500字" v-model.trim="formData.transferAdvice" placeholder="请输入转办意见,不超过500字" v-model.trim="formData.content"
@input="handelInputContent"></el-input> @input="handelInputContent"></el-input>
</div> </div>
</el-form-item> </el-form-item>
@ -75,7 +75,7 @@ export default {
formData: { formData: {
operationType: "5", //[0: 5 6] operationType: "5", //[0: 5 6]
handlingReq:'',// handlingReq:'',//
transferAdvice:'',// content:'',//
createdTime: '', createdTime: '',
contactTime:'', contactTime:'',
timeLimit:'',// timeLimit:'',//
@ -157,7 +157,7 @@ export default {
if (this.eventId) { if (this.eventId) {
this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData)); this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData));
this.formData.handlingReq = this.eventDetailCopy.handlingReq; this.formData.handlingReq = this.eventDetailCopy.handlingReq;
this.formData.transferAdvice = this.eventDetailCopy.transferAdvice; this.formData.content = this.eventDetailCopy.content;
} }
}, },
methods: { methods: {

Loading…
Cancel
Save