feat: 信息采集-创建改打标签

This commit is contained in:
2025-12-18 10:41:07 +08:00
parent 5c4ca373e3
commit a83e15ecbd

View File

@ -98,7 +98,7 @@
<el-link v-if="isShowBtn('肯定')" size="small" type="primary" @click="affirm(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" @click="FollowUpOnDept(row)">关注部门</el-link> <el-link v-if="isShowBtn('关注部门')" size="small" type="primary" @click="FollowUpOnDept(row)">关注部门</el-link>
<!-- 市局能给所有数据创建标签 --> <!-- 市局能给所有数据创建标签 -->
<el-link v-if="isShowBtn('创建标签')" size="small" type="primary" @click="openCustomTag(row)">创建</el-link> <el-link v-if="isShowBtn('标签')" size="small" type="primary" @click="openCustomTag(row)">打标签</el-link>
<el-link v-if="isShowBtn('删除')" size="small" type="danger" @click="delDictItem(row.id)">删除</el-link> <el-link v-if="isShowBtn('删除')" size="small" type="danger" @click="delDictItem(row.id)">删除</el-link>
@ -139,7 +139,8 @@
<Configuration v-model="configurationShow" :dataList="dataList" @getList="getList" /> <Configuration v-model="configurationShow" :dataList="dataList" @getList="getList" />
<!-- 转会商 --> <!-- 转会商 -->
<transferMerchant v-if="isShowTransferMerchantTc" :row="currRow" ref="transferMerchantRef" title="转会商" @close="isShowTransferMerchantTc = false" @ok="getList" /> <transferMerchant v-if="isShowTransferMerchantTc" :row="currRow" ref="transferMerchantRef" title="转会商"
@close="isShowTransferMerchantTc = false" @ok="getList" />
</template> </template>
@ -161,6 +162,7 @@ import Fszl from '@/views/backOfficeSystem/HumanIntelligence/components/fszl.vue
import CustomTag from '../components/customTag.vue' import CustomTag from '../components/customTag.vue'
import Configuration from '../components/configuration.vue' import Configuration from '../components/configuration.vue'
import transferMerchant from "./components/transferMerchant.vue"; import transferMerchant from "./components/transferMerchant.vue";
import { isShiQingZhi } from "@/utils/auth.js"
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const { D_GS_XS_LY, D_BZ_SSZT, D_BZ_SF, D_GS_XS_LX, D_BZ_BQJB, const { D_GS_XS_LY, D_BZ_SSZT, D_BZ_SF, D_GS_XS_LX, D_BZ_BQJB,
@ -180,7 +182,8 @@ const chooseData = (val) => {
}) })
tableList.value = val tableList.value = val
} }
/** 市情指 */
const cityIntelligenceCommand = isShiQingZhi()
const currRow = ref({}) const currRow = ref({})
const transferMerchantRef = ref() const transferMerchantRef = ref()
const isShowTransferMerchantTc = ref(false) const isShowTransferMerchantTc = ref(false)
@ -567,8 +570,8 @@ const isShowBtn = (btnName, row = {}) => {
const lczt = row.lczt const lczt = row.lczt
/** 按钮权限 */ /** 按钮权限 */
const buttonPermissions = { const buttonPermissions = {
"市情指领导": ["肯定", "采纳", "回退", "分组", "转线索", "转合成", "转会商", "修改", "详情"], "市情指领导": ["肯定", "采纳", "回退", "分组", "转线索", "转合成", "转会商","打标签", "修改", "详情"],
"市情指挥人员": ["采纳", "回退", "分组", "转线索", "转合成", "转会商", "修改", "详情"], "市情指挥人员": ["采纳", "回退", "分组", "转线索", "转合成", "转会商","打标签", "修改", "详情"],
"县情指人员": ["上报", "回退", "修改", "详情"], "县情指人员": ["上报", "回退", "修改", "详情"],
"部门": ["上报", "新增", "修改", "续报", "详情"] "部门": ["上报", "新增", "修改", "续报", "详情"]
}; };