lcw
This commit is contained in:
@ -22,6 +22,13 @@
|
||||
</el-icon>
|
||||
<span class="vertical-middle">上报</span>
|
||||
</el-button>
|
||||
<el-button type="primary" :disabled="ids.length === 0" @click="provDepar(ids)" v-if="qxkz.deptLevel == '01'"
|
||||
size="small">
|
||||
<el-icon class="vertical-middle">
|
||||
<CirclePlus />
|
||||
</el-icon>
|
||||
<span class="vertical-middle">上报区厅</span>
|
||||
</el-button>
|
||||
<el-button type="primary" :disabled="ids.length === 0" @click="delDictItem(ids)" size="small">
|
||||
<el-icon class="vertical-middle">
|
||||
<CirclePlus />
|
||||
@ -69,8 +76,8 @@
|
||||
<!-- "市情指挥人员": ["采纳", "回退", "分组", "转线索", "转合成", "转会商", "打标签", "修改", "详情", "关注部门", "送审"], -->
|
||||
<!-- "县情指人员": ["上报", "回退", "修改", "详情", "送审"], -->
|
||||
<template #controls="{ row }">
|
||||
<el-link @click="handleSbqt(row)" size="small" type="primary"
|
||||
v-if="row.lczt == '04' && qxkz.deptLevel == '01'">上报区厅</el-link>
|
||||
<el-link @click="handleSbqt(row)" size="small" type="primary" v-if="qxkz.deptLevel == '01'"
|
||||
:disabled="row.lczt == '10'">上报区厅</el-link>
|
||||
<el-link v-if="isShowBtn('送审', row) && qxkz.deptLevel == '01' && row.lczt == '04'"
|
||||
:disabled="!(row.lczt == '04') || row.sldshzt != '00'" size="small" type="primary"
|
||||
@click="postXxcjXxcjTjsh(row)">送审</el-link>
|
||||
@ -89,8 +96,8 @@
|
||||
<el-link v-else-if="isShowBtn('上报')" size="small" type="primary" @click="appearNewspapers(row)"
|
||||
:disabled="!(row.lczt == '02')">上报</el-link>
|
||||
<!-- && row.lczt != '02' -->
|
||||
<el-link v-if="isShowBtn('分组') && row.lczt == '04'" size="small" type="primary" @click="opneMsg(row)"
|
||||
:disabled="row.sldshzt != '02'">分组</el-link>
|
||||
<el-link v-if="isShowBtn('分组') && (row.lczt == '04' || row.lczt == '08' || row.lczt == '10')" size="small"
|
||||
type="primary" @click="opneMsg(row)">分组</el-link>
|
||||
<!-- 只有领导有肯定 -->
|
||||
<!-- <el-link v-if="isShowBtn('肯定')" size="small" type="primary" @click="affirm(row)">肯定</el-link> -->
|
||||
<el-link v-if="isShowBtn('删除')" size="small" type="primary" @clic.stopk="delDictItem(row.id)">删除</el-link>
|
||||
@ -100,8 +107,8 @@
|
||||
|
||||
<el-link v-if="isShowBtn('详情')" size="small" type="primary" @click="addEdit('info', row)">详情</el-link>
|
||||
<!-- 所有状态都能进行转线索 -->
|
||||
<el-link v-if="isShowBtn('转线索') && row.lczt == '04'" size="small" type="primary" @click="FollowUpOnLeads(row)"
|
||||
:disabled="row.sldshzt != '02'">转线索</el-link>
|
||||
<el-link v-if="isShowBtn('转线索') && (row.lczt == '04' || row.lczt == '06')" size="small" type="primary"
|
||||
@click="FollowUpOnLeads(row)" :disabled="row.lczt == '08'">转线索</el-link>
|
||||
<!-- 所有状态都能进行转合成 -->
|
||||
<!-- <el-link v-if="isShowBtn('转合成')" size="small" type="primary" @click="openFkDialogszl(row)" :disabled="butcontroll('01', row.lczt)">转合成</el-link> -->
|
||||
<!-- 所有状态都能进行转会商 -->
|
||||
@ -110,8 +117,8 @@
|
||||
<el-link v-if="isShowBtn('关注部门') && row.qbjb == '01' && row.lczt == '04'" :disabled="row.sldshzt != '02'"
|
||||
size="small" type="primary" @click="FollowUpOnDept(row)">定向关注</el-link>
|
||||
<!-- 市局能给所有数据创建标签 -->
|
||||
<el-link v-if="isShowBtn('打标签') && row.lczt == '04'" size="small" type="primary" @click="openCustomTag(row)"
|
||||
:disabled="row.sldshzt != '02'">打标签</el-link>
|
||||
<el-link v-if="isShowBtn('打标签') && (row.lczt == '04' || row.lczt == '06' || row.lczt == '08')" size="small"
|
||||
type="primary" @click="openCustomTag(row)" :disabled="row.sldshzt != '02'">打标签</el-link>
|
||||
<el-link size="small" type="primary" @click="handleAttention(row)">{{ row.sfgz == '1'
|
||||
? '取消关注' : '关注' }}</el-link>
|
||||
</template>
|
||||
@ -393,7 +400,29 @@ const handleSumbit = () => {
|
||||
proxy.$message({ message: '请选择正确数据', type: 'warning', showClose: true })
|
||||
}
|
||||
}
|
||||
// 上报区厅
|
||||
const provDepar = () => {
|
||||
const listDb = tableList.value.filter(item => item.czzt != '10').map(item => item.id)
|
||||
if (listDb.length > 0) {
|
||||
proxy.$confirm("确定要上报区厅吗", "提示", { type: "warning" }).then(() => {
|
||||
xxcjReportGat({ ids: listDb }).then(res => {
|
||||
proxy.$message({ type: "success", message: "上报区厅成功" });
|
||||
getList();
|
||||
})
|
||||
}).catch(() => { })
|
||||
|
||||
|
||||
|
||||
// proxy.$confirm("确定要上报", "警告", { type: "warning" }).then(() => {
|
||||
// xxcjPlsb({ ids: ids.value, lczt: "10" }).then(res => {
|
||||
// proxy.$message({ type: "success", message: "上报成功" });
|
||||
// getList();
|
||||
// })
|
||||
// }).catch(() => { });
|
||||
} else {
|
||||
proxy.$message({ message: '请选择正确数据', type: 'warning', showClose: true })
|
||||
}
|
||||
}
|
||||
// <!-- [04、06、07、08、09] -->打标签
|
||||
// <!-- [03、05] -->采纳
|
||||
// <!-- [04] -->回退
|
||||
|
||||
@ -118,7 +118,7 @@ const close = () => {
|
||||
listQuery.value = {};
|
||||
dialogForm.value = false;
|
||||
loading.value = false;
|
||||
router.replace({ path: '/judgmentCommand' })// 移除id 避免刷新一直带参数
|
||||
router.replace({ path: '/judgmentCommand' })// 移除id 避免刷新一直带参数
|
||||
};
|
||||
|
||||
defineExpose({ init });
|
||||
|
||||
@ -8,7 +8,7 @@ function resolve(dir) {
|
||||
// const serverHost = "http://192.168.2.206:8006"//线上
|
||||
// const serverHost = "http://192.168.191.75:8006"//周
|
||||
// const serverHost = "http://192.168.212.75:8016"//周
|
||||
const serverHost = "http://192.168.1.162:8006"; //毛毛
|
||||
const serverHost = "http://10.147.18.75:8006"; //毛毛
|
||||
// const serverHost = "http:// 192.168.1.45:8006"; //线上
|
||||
// const serverHost = "http://47.108.232.77:9537"; //线上
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user