+
-
- 已安装
+
+ 正常
+
+
+ 注销
-
- 测试中
+
+ 迁移
-
- 使用中
+
+ 受限
-
- 维护中
+
+ 违规
-
- 关停
+
+ 未知
@@ -195,23 +190,21 @@
import myPagination from "@/views/components/Pagination/index.vue"
// import myDialog from "@/views/components/myDialog/index.vue"
import { getToken } from "@/utils/auth";
-import { assetUnit, deleteAssetInfo } from "@/api/auditPagesApi/index";
+import { assetOfficialAccountList, deleteAssetOfficialAccount } from "@/api/auditPagesApi/index";
export default {
dicts: ['zc_xtzt','zc_xtlx'],
components:{myPagination},
data() {
return {
formInline:{
- xtmc:"",
- xtlx:"",
- time:[],
+ gzhmc:"",
+ dwmc:"",
startTime:"",
endTime:"",
- dwmc:"",
- xtzt:"",
current:1,
size:10,
},
+ time:[],
total:0,
tableData:[],
loading:false,
@@ -221,7 +214,7 @@ export default {
// 是否显示弹出层(用户导入)
open: false,
// 弹出层标题(用户导入)
- title: "资产导入",
+ title: "公众号资产导入",
// 是否禁用上传
isUploading: false,
// 是否更新已经存在的用户数据
@@ -229,7 +222,7 @@ export default {
// 设置上传的请求头部
headers: { Authorization: "Bearer " + getToken() },
// 上传的地址
- url: process.env.VUE_APP_BASE_API + "/tc/assetCurrent/import"
+ url: process.env.VUE_APP_BASE_API + "/tc/assetOfficialAccount/importData"
},
}
},
@@ -245,7 +238,7 @@ export default {
// 获取列表
getList(){
this.loading = true;
- assetUnit('get',this.formInline).then(res=>{
+ assetOfficialAccountList(this.formInline).then(res=>{
this.loading = false;
this.total = res.data.total;
this.tableData = res.data.records;
@@ -254,16 +247,17 @@ export default {
// 重置
resetQuery(){
this.resetForm("queryForm");
+ this.time = [];
this.handleQuery();
},
// 查询
handleQuery(){
this.formInline.current = 1;
- if(this.formInline.time) {
- this.formInline.startTime = this.formInline.time[0]
- this.formInline.endTime = this.formInline.time[1]
+ if(this.time) {
+ this.formInline.startTime = this.time[0]
+ this.formInline.endTime = this.time[1]
}
- this.formInline.time = [];
+
this.getList();
},
// 页码获取
@@ -278,14 +272,14 @@ export default {
},
// 导出
handleExport(){
- this.download('/tc/assetCurrent/export', {
+ this.download('/tc/assetOfficialAccount/export', {
...this.formInline
- }, `资产${new Date().getTime()}.xlsx`)
+ }, `公众号资产${new Date().getTime()}.xlsx`)
},
/** 下载模板操作 */
importTemplate() {
- this.download('/tc/assetCurrent/importTemplate', {
- }, `资产导入模板${new Date().getTime()}.xlsx`)
+ this.download('/tc/assetOfficialAccount/importTemplate', {
+ }, `公众号资产导入模板${new Date().getTime()}.xlsx`)
},
// 文件上传中处理
handleFileUploadProgress(event, file, fileList) {
@@ -327,7 +321,7 @@ export default {
} else if(id == 3) {
const userIds = row.id;
this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?').then(function() {
- return deleteAssetInfo(userIds);
+ return deleteAssetOfficialAccount(userIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
diff --git a/src/views/auditPages/assetsManagement/program.vue b/src/views/auditPages/assetsManagement/program.vue
index 5be5e2a..b7fe655 100644
--- a/src/views/auditPages/assetsManagement/program.vue
+++ b/src/views/auditPages/assetsManagement/program.vue
@@ -3,29 +3,22 @@
@@ -100,34 +94,34 @@
-
-
-
-
-
-
-
+
+
-
-
+
+
+
-
- 已安装
+
+ 正常
-
- 测试中
+
+ 注销
-
- 使用中
+
+ 迁移
-
- 维护中
+
+ 受限
-
- 关停
+
+ 违规
+
+
+ 未知
@@ -195,23 +189,21 @@
import myPagination from "@/views/components/Pagination/index.vue"
// import myDialog from "@/views/components/myDialog/index.vue"
import { getToken } from "@/utils/auth";
-import { assetUnit, deleteAssetInfo } from "@/api/auditPagesApi/index";
+import { miniProgramsList, deleteMiniPrograms } from "@/api/auditPagesApi/index";
export default {
- dicts: ['zc_xtzt','zc_xtlx'],
+ dicts: ['gzh_state'],
components:{myPagination},
data() {
return {
formInline:{
- xtmc:"",
- xtlx:"",
- time:[],
+ dwmc:"",
+ xcxmc:"",
startTime:"",
endTime:"",
- dwmc:"",
- xtzt:"",
current:1,
size:10,
},
+ time:[],
total:0,
tableData:[],
loading:false,
@@ -221,7 +213,7 @@ export default {
// 是否显示弹出层(用户导入)
open: false,
// 弹出层标题(用户导入)
- title: "资产导入",
+ title: "小程序资产导入",
// 是否禁用上传
isUploading: false,
// 是否更新已经存在的用户数据
@@ -229,7 +221,7 @@ export default {
// 设置上传的请求头部
headers: { Authorization: "Bearer " + getToken() },
// 上传的地址
- url: process.env.VUE_APP_BASE_API + "/tc/assetCurrent/import"
+ url: process.env.VUE_APP_BASE_API + "/tc/miniPrograms/importData"
},
}
},
@@ -245,7 +237,7 @@ export default {
// 获取列表
getList(){
this.loading = true;
- assetUnit('get',this.formInline).then(res=>{
+ miniProgramsList(this.formInline).then(res=>{
this.loading = false;
this.total = res.data.total;
this.tableData = res.data.records;
@@ -254,16 +246,16 @@ export default {
// 重置
resetQuery(){
this.resetForm("queryForm");
+ this.time = [];
this.handleQuery();
},
// 查询
handleQuery(){
this.formInline.current = 1;
- if(this.formInline.time) {
- this.formInline.startTime = this.formInline.time[0]
- this.formInline.endTime = this.formInline.time[1]
+ if(this.time) {
+ this.formInline.startTime = this.time[0]
+ this.formInline.endTime = this.time[1]
}
- this.formInline.time = [];
this.getList();
},
// 页码获取
@@ -278,14 +270,14 @@ export default {
},
// 导出
handleExport(){
- this.download('/tc/assetCurrent/export', {
+ this.download('/tc/miniPrograms/export', {
...this.formInline
- }, `资产${new Date().getTime()}.xlsx`)
+ }, `小程序资产${new Date().getTime()}.xlsx`)
},
/** 下载模板操作 */
importTemplate() {
- this.download('/tc/assetCurrent/importTemplate', {
- }, `资产导入模板${new Date().getTime()}.xlsx`)
+ this.download('/tc/miniPrograms/importTemplate', {
+ }, `小程序资产导入模板${new Date().getTime()}.xlsx`)
},
// 文件上传中处理
handleFileUploadProgress(event, file, fileList) {
@@ -327,7 +319,7 @@ export default {
} else if(id == 3) {
const userIds = row.id;
this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项?').then(function() {
- return deleteAssetInfo(userIds);
+ return deleteMiniPrograms(userIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
diff --git a/src/views/auditPages/unitManagement/index.vue b/src/views/auditPages/unitManagement/index.vue
index 9a79280..de769fd 100644
--- a/src/views/auditPages/unitManagement/index.vue
+++ b/src/views/auditPages/unitManagement/index.vue
@@ -133,6 +133,16 @@
+
+
+
+
+
+
+
@@ -494,6 +504,48 @@ export default {
}
return {
options: pcas ,
+ optionsTwo:[
+ {
+ value:"100",
+ label:"政务",
+ children:[
+ {
+ value:"101",
+ label:"党委机关",
+ },{
+ value:"102",
+ label:"政府机关",
+ },{
+ value:"200",
+ label:"事业单位",
+ },{
+ value:"202",
+ label:"大型国企",
+ },
+ ],
+ },
+ {
+ value:"10",
+ label:"民营企业",
+ children:[
+ {
+ value:"203",
+ label:"重点民企",
+ },{
+ value:"204",
+ label:"一般民企"
+ }
+ ],
+ },
+ {
+ value:"20",
+ label:"个人",
+ },
+ {
+ value:"30",
+ label:"社会团体"
+ }
+ ],
props:{
value:'value',
label:"value",
@@ -528,6 +580,9 @@ export default {
nickName: [
{ required: true, message: '请输入单位名称', trigger: 'blur' },
],
+ zzjg: [
+ { required: true, message: '请选择组织机构', trigger: 'change' },
+ ],
},
disabled:false,
loading:false,
@@ -553,6 +608,10 @@ export default {
}
},
methods:{
+ // handleChange(value){
+ // console.log(value);
+ // },
+ // 获取详情
getInfo(id){
this.loading = true;
lookUnit(id).then(res=>{
@@ -564,6 +623,10 @@ export default {
} else if(res.data.ssqyprovince) {
this.$set(this.ruleForm, 'ssqy', [res.data.ssqyprovince])
}
+ if(this.ruleForm.ancestors) {
+ let deptId = this.ruleForm.ancestors.split(',');
+ this.$set(this.ruleForm, 'zzjg', deptId)
+ }
this.loading = false;
})
},
@@ -604,6 +667,11 @@ export default {
this.ruleForm.ssqycity = this.ruleForm.ssqy[1]
this.ruleForm.ssqycounty = this.ruleForm.ssqy[2]
}
+ if(this.ruleForm.zzjg.length == 2) {
+ this.ruleForm.deptId = Number(this.ruleForm.zzjg[1])
+ } else {
+ this.ruleForm.deptId = Number(this.ruleForm.zzjg[0])
+ }
this.loading = true;
if(this.$route.query.pageType == 'change') {
postUnit('put',this.ruleForm).then(res=>{
diff --git a/src/views/components/assetsType/index.vue b/src/views/components/assetsType/index.vue
index 221e13a..7c84b2d 100644
--- a/src/views/components/assetsType/index.vue
+++ b/src/views/components/assetsType/index.vue
@@ -455,7 +455,7 @@
-
+
{{ isMore ? '收起' : '更多' }}
@@ -3027,7 +3027,11 @@ export default {
if(this.ruleForm.glIpList.length == 0) {
this.ruleForm.glIpList.push({key:""})
}
+
+
this.ruleForm.xttz ? this.xttz = this.ruleForm.xttz.split(',') : [];
+
+
let chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1)
let yjgysUnit = this.ruleForm.gylxxList.filter((item) => item.type == 2)
let jfywUnit = this.ruleForm.gylxxList.filter((item) => item.type == 3)
@@ -3051,9 +3055,9 @@ export default {
this.wlsb = wlsb.length > 0 ? wlsb : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 2}]
this.aqsb = aqsb.length > 0 ? aqsb : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 3}]
this.ruleForm.xtfhqkFcg ? this.xtfhqkFcg = this.ruleForm.xtfhqkFcg.split(',') : [];
- this.ruleForm.xtfhqkFcg ? this.xtfhqkFxl = this.ruleForm.xtfhqkFxl.split(',') : [];
- this.ruleForm.xtfhqkFcg ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : [];
- this.ruleForm.xtfhqkFcg ? this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',') : [];
+ this.ruleForm.xtfhqkFxl ? this.xtfhqkFxl = this.ruleForm.xtfhqkFxl.split(',') : [];
+ this.ruleForm.xtfhqkFzd ? this.xtfhqkFzd = this.ruleForm.xtfhqkFzd.split(',') : [];
+ this.ruleForm.xtfhqkFls ? this.xtfhqkFls = this.ruleForm.xtfhqkFls.split(',') : [];
if(this.ruleForm.sheng && this.ruleForm.shi && this.ruleForm.qu) {
diff --git a/src/views/components/assetsType/index_v1.vue b/src/views/components/assetsType/index_v1.vue
index 8b3ee81..9fe6b17 100644
--- a/src/views/components/assetsType/index_v1.vue
+++ b/src/views/components/assetsType/index_v1.vue
@@ -9,57 +9,59 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
@@ -67,31 +69,39 @@
-
+
-
-
-
-
+
+
+
-
-
-
-
+
+
+
-
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
-
+
+
+
+
-
+
+
+
-
-
-
-
-
-
+
+
+
-
-
+
+
+
-
-
-
-
-
-
+
+
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 保存
+
\ No newline at end of file
diff --git a/src/views/components/assetsType/index_v2.vue b/src/views/components/assetsType/index_v2.vue
index 0c9c39d..3f94268 100644
--- a/src/views/components/assetsType/index_v2.vue
+++ b/src/views/components/assetsType/index_v2.vue
@@ -1,19 +1,332 @@
+
-
-
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 保存
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src/views/components/assetsType/index_v3.vue b/src/views/components/assetsType/index_v3.vue
index 0c9c39d..d993bb4 100644
--- a/src/views/components/assetsType/index_v3.vue
+++ b/src/views/components/assetsType/index_v3.vue
@@ -1,19 +1,299 @@
+
-
-
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 保存
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src/views/components/assetsType/index_v4.vue b/src/views/components/assetsType/index_v4.vue
index 0c9c39d..a67cd38 100644
--- a/src/views/components/assetsType/index_v4.vue
+++ b/src/views/components/assetsType/index_v4.vue
@@ -1,19 +1,261 @@
+
-
-
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 保存
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index d877ec7..9ae651d 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -512,6 +512,8 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
+ this.queryParams.deptId = undefined;
+ this.$refs.tree.setCurrentKey(null);
this.handleQuery();
},
/** 新增按钮操作 */
diff --git a/vue.config.js b/vue.config.js
index 45eac87..b553e8e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -18,8 +18,8 @@ module.exports = {
// 部署生产环境和开发环境下的URL。
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
- publicPath: process.env.NODE_ENV === "production" ? "/demo/TcAssetVerificationPc" : "/",
- // publicPath: process.env.NODE_ENV === "production" ? "./" : "/",
+ // publicPath: process.env.NODE_ENV === "production" ? "/demo/TcAssetVerificationPc" : "/",
+ publicPath: process.env.NODE_ENV === "production" ? "./" : "/",
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
outputDir: 'dist',
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)