|
@@ -84,9 +84,7 @@
|
|
|
:min="0"
|
|
:min="0"
|
|
|
size="small"
|
|
size="small"
|
|
|
style="width: 70px"
|
|
style="width: 70px"
|
|
|
- controls-position="right" />小时未{{ props.title }}再次推送给{{
|
|
|
|
|
- props.title
|
|
|
|
|
- }}员并抄送给<el-select
|
|
|
|
|
|
|
+ controls-position="right" />小时未{{ props.title }}再次推送给{{ props.title }}员并抄送给<el-select
|
|
|
:disabled="!editDetails.openEdit || !editDetails.atLongTimeExpiry"
|
|
:disabled="!editDetails.openEdit || !editDetails.atLongTimeExpiry"
|
|
|
v-model="editDetails.copyTo"
|
|
v-model="editDetails.copyTo"
|
|
|
value-key="id"
|
|
value-key="id"
|
|
@@ -99,12 +97,7 @@
|
|
|
collapse-tags
|
|
collapse-tags
|
|
|
collapse-tags-tooltip
|
|
collapse-tags-tooltip
|
|
|
>
|
|
>
|
|
|
- <el-option
|
|
|
|
|
- v-for="item in editDetails.copyTo"
|
|
|
|
|
- :key="item.id"
|
|
|
|
|
- :label="item.realname"
|
|
|
|
|
- :value="item"
|
|
|
|
|
- /> </el-select
|
|
|
|
|
|
|
+ <el-option v-for="item in editDetails.copyTo" :key="item.id" :label="item.realname" :value="item" /> </el-select
|
|
|
></div>
|
|
></div>
|
|
|
<div class="subtitle">推送文案 </div>
|
|
<div class="subtitle">推送文案 </div>
|
|
|
<el-tooltip
|
|
<el-tooltip
|
|
@@ -114,11 +107,7 @@
|
|
|
:content="editDetails.textToPush"
|
|
:content="editDetails.textToPush"
|
|
|
placement="bottom"
|
|
placement="bottom"
|
|
|
>
|
|
>
|
|
|
- <el-input
|
|
|
|
|
- disabled
|
|
|
|
|
- style="width: 364px; margin-left: 30px; margin-top: 4px"
|
|
|
|
|
- :placeholder="textToshow"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <el-input disabled style="width: 364px; margin-left: 30px; margin-top: 4px" :placeholder="textToshow" />
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
</div>
|
|
</div>
|
|
|
<el-dialog
|
|
<el-dialog
|
|
@@ -132,11 +121,7 @@
|
|
|
class="workShopDialog"
|
|
class="workShopDialog"
|
|
|
>
|
|
>
|
|
|
<!-- <SelectTree @cancel="handleCancle" @submit="handleSubmit" :selectedUser="selectedUser" /> -->
|
|
<!-- <SelectTree @cancel="handleCancle" @submit="handleSubmit" :selectedUser="selectedUser" /> -->
|
|
|
- <PersonFilterSelection
|
|
|
|
|
- @cancel="handleCancle"
|
|
|
|
|
- @submit="handleSubmit"
|
|
|
|
|
- :init-selected="selectedUser"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <PersonFilterSelection @cancel="handleCancle" @submit="handleSubmit" :init-selected="selectedUser" />
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
</template>
|
|
</template>
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
@@ -195,7 +180,6 @@
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const handleSubmit = (selectedData: SelectedFilterPersonInfo[]) => {
|
|
const handleSubmit = (selectedData: SelectedFilterPersonInfo[]) => {
|
|
|
- // selectedUser.value = selectedData;
|
|
|
|
|
editDetails.value.copyTo = selectedData;
|
|
editDetails.value.copyTo = selectedData;
|
|
|
dialogVisible.value = false;
|
|
dialogVisible.value = false;
|
|
|
};
|
|
};
|
|
@@ -206,26 +190,18 @@
|
|
|
() => props.savedData, //监听状态值,,当拉取的数据发生变化时,对editDetails进行赋初值
|
|
() => props.savedData, //监听状态值,,当拉取的数据发生变化时,对editDetails进行赋初值
|
|
|
(newValue) => {
|
|
(newValue) => {
|
|
|
//问题审核阶段,后端拉取保存数据
|
|
//问题审核阶段,后端拉取保存数据
|
|
|
- // console.log('props.savedData=', newValue);
|
|
|
|
|
let subData = newValue.find((item) => item.issuePhase === props.issueType);
|
|
let subData = newValue.find((item) => item.issuePhase === props.issueType);
|
|
|
- let atonceData = subData?.issueProcessMessageList.find(
|
|
|
|
|
- (item) => item.pushType === PushTypeStatus.atonce,
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ let atonceData = subData?.issueProcessMessageList.find((item) => item.pushType === PushTypeStatus.atonce);
|
|
|
editDetails.value.atProcessing = atonceData?.isEnabled === 1 ? true : false;
|
|
editDetails.value.atProcessing = atonceData?.isEnabled === 1 ? true : false;
|
|
|
//完成阶段不需要执行下面的内容
|
|
//完成阶段不需要执行下面的内容
|
|
|
if (props.issueType != QuestionStatus.finishe) {
|
|
if (props.issueType != QuestionStatus.finishe) {
|
|
|
- let expireData = subData?.issueProcessMessageList.find(
|
|
|
|
|
- (item) => item.pushType === PushTypeStatus.expire,
|
|
|
|
|
- );
|
|
|
|
|
- console.log('expireData=', expireData);
|
|
|
|
|
|
|
+ let expireData = subData?.issueProcessMessageList.find((item) => item.pushType === PushTypeStatus.expire);
|
|
|
|
|
+
|
|
|
editDetails.value.atExpiry = expireData?.isEnabled === 1 ? true : false;
|
|
editDetails.value.atExpiry = expireData?.isEnabled === 1 ? true : false;
|
|
|
if (expireData && expireData!.overtime) {
|
|
if (expireData && expireData!.overtime) {
|
|
|
editDetails.value.expiryTime = expireData!.overtime;
|
|
editDetails.value.expiryTime = expireData!.overtime;
|
|
|
}
|
|
}
|
|
|
- // editDetails.value.expiryTime = expireData!.overtime;
|
|
|
|
|
- let longTimeData = subData?.issueProcessMessageList.find(
|
|
|
|
|
- (item) => item.pushType === PushTypeStatus.longtime,
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ let longTimeData = subData?.issueProcessMessageList.find((item) => item.pushType === PushTypeStatus.longtime);
|
|
|
editDetails.value.atLongTimeExpiry = longTimeData?.isEnabled === 1 ? true : false;
|
|
editDetails.value.atLongTimeExpiry = longTimeData?.isEnabled === 1 ? true : false;
|
|
|
if (longTimeData && longTimeData!.overtime) {
|
|
if (longTimeData && longTimeData!.overtime) {
|
|
|
editDetails.value.longTimeValue = longTimeData!.overtime;
|
|
editDetails.value.longTimeValue = longTimeData!.overtime;
|
|
@@ -235,14 +211,13 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- { deep: true, immediate: true }, //deep,深度监听。immediate,在程序开始运行时即马上监听
|
|
|
|
|
|
|
+ { deep: true, immediate: true },
|
|
|
);
|
|
);
|
|
|
</script>
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
.content_panel {
|
|
.content_panel {
|
|
|
width: 530px;
|
|
width: 530px;
|
|
|
height: 326px;
|
|
height: 326px;
|
|
|
- // background-color: pink;
|
|
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
border: 1px solid #e4e7ed;
|
|
border: 1px solid #e4e7ed;
|
|
|
.panel_top {
|
|
.panel_top {
|
|
@@ -254,7 +229,6 @@
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
padding: 13px 16px 0px 16px;
|
|
padding: 13px 16px 0px 16px;
|
|
|
.top_content {
|
|
.top_content {
|
|
|
- // width: 100%;
|
|
|
|
|
height: 24px;
|
|
height: 24px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
@@ -305,8 +279,6 @@
|
|
|
.subtitle_explain_disable {
|
|
.subtitle_explain_disable {
|
|
|
height: 21px;
|
|
height: 21px;
|
|
|
margin-left: 30px;
|
|
margin-left: 30px;
|
|
|
- // margin-top: 4px;
|
|
|
|
|
- // margin-top: 3px;
|
|
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
font-size: 10px;
|
|
font-size: 10px;
|
|
|
color: #a8abb2;
|
|
color: #a8abb2;
|