@newview/permission-service 1.2.34 → 1.2.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/permission-service.js +291 -25
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5717,8 +5717,8 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5717
5717
|
};
|
|
5718
5718
|
}
|
|
5719
5719
|
};
|
|
5720
|
-
const
|
|
5721
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
5720
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_3d0ba4ac_lang = "";
|
|
5721
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-3d0ba4ac"), n = n(), popScopeId(), n);
|
|
5722
5722
|
const _hoisted_1$e = { class: "instree-search" };
|
|
5723
5723
|
const _hoisted_2$6 = { class: "instree-list" };
|
|
5724
5724
|
const _hoisted_3$6 = { style: { "height": "774px", "overflow-y": "auto" } };
|
|
@@ -5732,17 +5732,17 @@ const _hoisted_7$4 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
|
5732
5732
|
const _hoisted_8$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "勾选需要引入的用户!", -1));
|
|
5733
5733
|
const _hoisted_9$3 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
5734
5734
|
const _hoisted_10$2 = { style: { "display": "none" } };
|
|
5735
|
-
const _hoisted_11$2 = { style: { "height": "400px"
|
|
5735
|
+
const _hoisted_11$2 = { style: { "height": "400px" } };
|
|
5736
5736
|
const _hoisted_12$1 = ["src"];
|
|
5737
5737
|
const _hoisted_13$1 = ["src"];
|
|
5738
|
-
const _hoisted_14 = { style: { "height": "260px" } };
|
|
5739
|
-
const _hoisted_15 = { class: "nv-flex" };
|
|
5740
|
-
const _hoisted_16 = { style: { "height": "300px", "overflow": "auto", "margin-top": "10px", "padding": "0 20px" } };
|
|
5741
|
-
const _hoisted_17 = {
|
|
5738
|
+
const _hoisted_14$1 = { style: { "height": "260px" } };
|
|
5739
|
+
const _hoisted_15$1 = { class: "nv-flex" };
|
|
5740
|
+
const _hoisted_16$1 = { style: { "height": "300px", "overflow": "auto", "margin-top": "10px", "padding": "0 20px" } };
|
|
5741
|
+
const _hoisted_17$1 = {
|
|
5742
5742
|
key: 1,
|
|
5743
5743
|
class: "nv-full nv-pos-r"
|
|
5744
5744
|
};
|
|
5745
|
-
const _hoisted_18 = {
|
|
5745
|
+
const _hoisted_18$1 = {
|
|
5746
5746
|
key: 1,
|
|
5747
5747
|
class: "nv-c-v-center"
|
|
5748
5748
|
};
|
|
@@ -6122,7 +6122,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6122
6122
|
"footer-hide": ""
|
|
6123
6123
|
}, {
|
|
6124
6124
|
default: withCtx(() => [
|
|
6125
|
-
createElementVNode("div", _hoisted_14, [
|
|
6125
|
+
createElementVNode("div", _hoisted_14$1, [
|
|
6126
6126
|
createVNode(_component_NvExcelImport, {
|
|
6127
6127
|
ref: "NvExcelImport",
|
|
6128
6128
|
onImport: _ctx.doExcelPointImport,
|
|
@@ -6164,7 +6164,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6164
6164
|
}, 8, ["disabled", "onClick"])
|
|
6165
6165
|
]),
|
|
6166
6166
|
default: withCtx(() => [
|
|
6167
|
-
createElementVNode("div", _hoisted_15, [
|
|
6167
|
+
createElementVNode("div", _hoisted_15$1, [
|
|
6168
6168
|
createVNode(_component_Input, {
|
|
6169
6169
|
class: "nv-flex-1",
|
|
6170
6170
|
style: { "margin-left": "10px" },
|
|
@@ -6175,7 +6175,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6175
6175
|
placeholder: "请输入人员名称"
|
|
6176
6176
|
}, null, 8, ["modelValue", "onOnChange"])
|
|
6177
6177
|
]),
|
|
6178
|
-
createElementVNode("div", _hoisted_16, [
|
|
6178
|
+
createElementVNode("div", _hoisted_16$1, [
|
|
6179
6179
|
_ctx.userSealData.length > 0 ? (openBlock(), createBlock(_component_RadioGroup, {
|
|
6180
6180
|
key: 0,
|
|
6181
6181
|
modelValue: _ctx.selUserSealId,
|
|
@@ -6195,11 +6195,11 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6195
6195
|
}), 256))
|
|
6196
6196
|
]),
|
|
6197
6197
|
_: 1
|
|
6198
|
-
}, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
6198
|
+
}, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_17$1, [
|
|
6199
6199
|
_ctx.userSealListLoading ? (openBlock(), createBlock(_component_NvLoading, {
|
|
6200
6200
|
key: 0,
|
|
6201
6201
|
content: "人员数据加载中..."
|
|
6202
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_18, "暂无人员数据"))
|
|
6202
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_18$1, "暂无人员数据"))
|
|
6203
6203
|
]))
|
|
6204
6204
|
])
|
|
6205
6205
|
]),
|
|
@@ -6209,7 +6209,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6209
6209
|
_: 1
|
|
6210
6210
|
});
|
|
6211
6211
|
}
|
|
6212
|
-
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
6212
|
+
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-3d0ba4ac"]]);
|
|
6213
6213
|
const propDefine$e = {
|
|
6214
6214
|
linkParam: {
|
|
6215
6215
|
// 带入的参数
|
|
@@ -11643,6 +11643,13 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11643
11643
|
onclick: () => {
|
|
11644
11644
|
this.doShowImportUser();
|
|
11645
11645
|
}
|
|
11646
|
+
},
|
|
11647
|
+
{
|
|
11648
|
+
name: "import",
|
|
11649
|
+
text: "导入CA",
|
|
11650
|
+
onclick: () => {
|
|
11651
|
+
this.importCAData();
|
|
11652
|
+
}
|
|
11646
11653
|
}
|
|
11647
11654
|
],
|
|
11648
11655
|
rightToolbars: [
|
|
@@ -12251,10 +12258,17 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12251
12258
|
CAUserYZImg: ""
|
|
12252
12259
|
}));
|
|
12253
12260
|
__publicField(this, "userSignFormItems", reactive([
|
|
12254
|
-
{ model:
|
|
12255
|
-
{ model: "CAUserSealKey", label: "印章KEY", type: "Input", prop: "CAUserSealKey", span: 24
|
|
12256
|
-
|
|
12261
|
+
// { model: 'CAUserInfoKey', label: '用户KEY', type: 'Input', prop: 'CAUserInfoKey', span: 24 },
|
|
12262
|
+
{ model: "CAUserSealKey", label: "印章KEY", type: "Input", prop: "CAUserSealKey", span: 24, inputProp: { append: "选择", onTextClick: () => {
|
|
12263
|
+
this.GetUserSealData(3);
|
|
12264
|
+
} } },
|
|
12265
|
+
{ model: "CAUserYZKey", label: "圆章KEY", type: "Input", prop: "CAUserYZKey", span: 24, inputProp: { append: "选择", onTextClick: () => {
|
|
12266
|
+
this.GetUserSealData(2);
|
|
12267
|
+
} } }
|
|
12257
12268
|
]));
|
|
12269
|
+
// 私有方法 | private 方法名() {}
|
|
12270
|
+
/** 当前所选人 */
|
|
12271
|
+
__publicField(this, "activeUserSealRow", ref({}));
|
|
12258
12272
|
// 响应式方法 | xxx = () => {}
|
|
12259
12273
|
/**
|
|
12260
12274
|
* 保存用户签字
|
|
@@ -12315,6 +12329,115 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12315
12329
|
this.message.error("读取失败,请稍后重试");
|
|
12316
12330
|
}
|
|
12317
12331
|
});
|
|
12332
|
+
// 响应式方法 | xxx = () => {}
|
|
12333
|
+
//#endregion 重置密码 END
|
|
12334
|
+
__publicField(this, "importCAModal", ref(false));
|
|
12335
|
+
__publicField(this, "importCAData", () => {
|
|
12336
|
+
this.importCAModal.value = true;
|
|
12337
|
+
});
|
|
12338
|
+
__publicField(this, "doExcelPointImport", async (datas) => {
|
|
12339
|
+
console.log(datas);
|
|
12340
|
+
if (datas.length == 0) {
|
|
12341
|
+
return;
|
|
12342
|
+
}
|
|
12343
|
+
let names = datas.filter((x) => this.utilities.isNull(x["印章ID"]) == true);
|
|
12344
|
+
if (names.length > 0) {
|
|
12345
|
+
this.message.info("印章ID不能为空!");
|
|
12346
|
+
return;
|
|
12347
|
+
}
|
|
12348
|
+
let names1 = datas.filter((x) => this.utilities.isNull(x["印章名称"]) == true);
|
|
12349
|
+
if (names1.length > 0) {
|
|
12350
|
+
this.message.info("印章名称不能为空!");
|
|
12351
|
+
return;
|
|
12352
|
+
}
|
|
12353
|
+
let names2 = datas.filter((x) => this.utilities.isNull(x["所属用户名"]) == true);
|
|
12354
|
+
if (names2.length > 0) {
|
|
12355
|
+
this.message.info("所属用户名不能为空!");
|
|
12356
|
+
return;
|
|
12357
|
+
}
|
|
12358
|
+
let names3 = datas.filter((x) => this.utilities.isNull(x["印章类型"]) == true);
|
|
12359
|
+
if (names3.length > 0) {
|
|
12360
|
+
this.message.info("印章类型不能为空!");
|
|
12361
|
+
return;
|
|
12362
|
+
}
|
|
12363
|
+
let NewId = this.utilities.getUniqueCode();
|
|
12364
|
+
try {
|
|
12365
|
+
let eqlist = [];
|
|
12366
|
+
datas.forEach((element) => {
|
|
12367
|
+
eqlist.push({
|
|
12368
|
+
Id: 0,
|
|
12369
|
+
ProjectId: this.selectedPlatform.Id,
|
|
12370
|
+
RoadId: this.selectedPlatform.Id,
|
|
12371
|
+
ZId: this.utilities.isNull(element["印章ID"]) ? "" : element["印章ID"],
|
|
12372
|
+
ZName: this.utilities.isNull(element["印章名称"]) ? "" : element["印章名称"],
|
|
12373
|
+
UName: this.utilities.isNull(element["所属用户名"]) ? "" : element["所属用户名"],
|
|
12374
|
+
PIn: "111111",
|
|
12375
|
+
CertType: this.utilities.isNull(element["印章类型"]) ? "3" : element["印章类型"] == "签字" ? 3 : 2,
|
|
12376
|
+
HandleKey: NewId
|
|
12377
|
+
});
|
|
12378
|
+
});
|
|
12379
|
+
if (eqlist.length > 0) {
|
|
12380
|
+
var loginparam = {
|
|
12381
|
+
Account: this.utilities.stringHelper.encodeToBase64("hhlhf"),
|
|
12382
|
+
Pwd: this.utilities.stringHelper.encodeToBase64("Lhf513723."),
|
|
12383
|
+
SystemType: 1
|
|
12384
|
+
};
|
|
12385
|
+
let tokenRes = await request("/OldSysApi/OAuth/Token", {
|
|
12386
|
+
params: loginparam
|
|
12387
|
+
});
|
|
12388
|
+
let headers = await this.getTempRequestHeader();
|
|
12389
|
+
let saveRes = await request("/CASignApi/CA_Userinfointo/saves", {
|
|
12390
|
+
headers,
|
|
12391
|
+
method: "post",
|
|
12392
|
+
data: eqlist
|
|
12393
|
+
});
|
|
12394
|
+
let saveRes2 = await request("/CASignApi/CA_Userinfointo/SaveUserSignNew", {
|
|
12395
|
+
headers,
|
|
12396
|
+
params: { HandleKey: NewId, ProjetId: this.selectedPlatform.Id, RoadId: this.selectedPlatform.Id, BusinessKey: this.selectedPlatform.CABusinessKey }
|
|
12397
|
+
});
|
|
12398
|
+
this.message.success("导入成功!");
|
|
12399
|
+
this.importCAModal.value = false;
|
|
12400
|
+
}
|
|
12401
|
+
} catch (error) {
|
|
12402
|
+
this.message.error("导入失败!");
|
|
12403
|
+
}
|
|
12404
|
+
});
|
|
12405
|
+
__publicField(this, "userSealData", ref([]));
|
|
12406
|
+
__publicField(this, "userSealAllData", []);
|
|
12407
|
+
__publicField(this, "searchUserSeal", ref(""));
|
|
12408
|
+
__publicField(this, "userSealListLoading", ref(false));
|
|
12409
|
+
__publicField(this, "selectCASealModal", ref(false));
|
|
12410
|
+
__publicField(this, "selCaType", ref("3"));
|
|
12411
|
+
__publicField(this, "selUserSealId", ref(0));
|
|
12412
|
+
__publicField(this, "caTypeChange", () => {
|
|
12413
|
+
this.userSealData.value = this.userSealAllData.filter((e) => e["CertType"] == this.selCaType.value);
|
|
12414
|
+
});
|
|
12415
|
+
__publicField(this, "doSearchUserSeal", () => {
|
|
12416
|
+
this.userSealData.value = this.userSealAllData.filter((e) => e["SealName"].indexOf(this.searchUserSeal.value) >= 0);
|
|
12417
|
+
});
|
|
12418
|
+
/**
|
|
12419
|
+
* 选择签字信息
|
|
12420
|
+
*/
|
|
12421
|
+
__publicField(this, "doSelUserSeal", async () => {
|
|
12422
|
+
console.log(this.selUserSealId.value);
|
|
12423
|
+
let sealInfo = this.userSealAllData.find((e) => e["Id"] == this.selUserSealId.value);
|
|
12424
|
+
if (sealInfo.CertType == 3) {
|
|
12425
|
+
this.userSignFormModel.CAUserSealKey = sealInfo.SKey;
|
|
12426
|
+
this.doLoadUserSealImg();
|
|
12427
|
+
} else {
|
|
12428
|
+
this.userSignFormModel.CAUserYZKey = sealInfo.SKey;
|
|
12429
|
+
this.doLoadUserYZImg();
|
|
12430
|
+
}
|
|
12431
|
+
this.selectCASealModal.value = false;
|
|
12432
|
+
request("/CASignApi/Userseal/saveDynamic", {
|
|
12433
|
+
headers: await this.getTempRequestHeader(),
|
|
12434
|
+
method: "post",
|
|
12435
|
+
data: {
|
|
12436
|
+
Id: sealInfo.Id,
|
|
12437
|
+
BIId: this.selectedInsTree.InstitutionId
|
|
12438
|
+
}
|
|
12439
|
+
});
|
|
12440
|
+
});
|
|
12318
12441
|
this.props = props;
|
|
12319
12442
|
this.ctx = ctx;
|
|
12320
12443
|
this.initData();
|
|
@@ -12540,12 +12663,12 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12540
12663
|
this.storageInfo.removeAll();
|
|
12541
12664
|
this.loginRef.value.setLoginResult(result);
|
|
12542
12665
|
}
|
|
12543
|
-
// 私有方法 | private 方法名() {}
|
|
12544
12666
|
/**
|
|
12545
12667
|
* 编辑用户签字
|
|
12546
12668
|
*/
|
|
12547
12669
|
async doShowEditUserSign(row) {
|
|
12548
12670
|
this.showEditUserSign.value = true;
|
|
12671
|
+
this.activeUserSealRow.value = row;
|
|
12549
12672
|
const apiResult = await this.userSignApi.getEntityByFilter(QueryWrapper.create().eq("UserId", row.Id));
|
|
12550
12673
|
const result = this.utilities.parseApiResult(apiResult);
|
|
12551
12674
|
if (!this.utilities.isNull(result)) {
|
|
@@ -12590,11 +12713,43 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12590
12713
|
}
|
|
12591
12714
|
});
|
|
12592
12715
|
}
|
|
12593
|
-
|
|
12594
|
-
|
|
12716
|
+
async GetUserSealData(type2) {
|
|
12717
|
+
this.userSealData.value = [];
|
|
12718
|
+
this.userSealListLoading.value = true;
|
|
12719
|
+
this.selCaType.value = type2;
|
|
12720
|
+
this.selectCASealModal.value = true;
|
|
12721
|
+
({
|
|
12722
|
+
Account: this.utilities.stringHelper.encodeToBase64("hhlhf"),
|
|
12723
|
+
Pwd: this.utilities.stringHelper.encodeToBase64("Lhf513723."),
|
|
12724
|
+
SystemType: 1
|
|
12725
|
+
});
|
|
12726
|
+
let res = this.utilities.parseApiResult(await request("/CASignApi/Userseal/GetUserSeal", {
|
|
12727
|
+
headers: await this.getTempRequestHeader(),
|
|
12728
|
+
params: {
|
|
12729
|
+
BusinessKey: this.selectedPlatform.CABusinessKey,
|
|
12730
|
+
Parms: ""
|
|
12731
|
+
}
|
|
12732
|
+
}));
|
|
12733
|
+
this.userSealListLoading.value = false;
|
|
12734
|
+
this.userSealAllData = this.utilities.deepCopy(res);
|
|
12735
|
+
this.caTypeChange();
|
|
12736
|
+
}
|
|
12737
|
+
async getTempRequestHeader() {
|
|
12738
|
+
var loginparam = {
|
|
12739
|
+
Account: this.utilities.stringHelper.encodeToBase64("hhkf"),
|
|
12740
|
+
Pwd: this.utilities.stringHelper.encodeToBase64("Nv88341268#"),
|
|
12741
|
+
SystemType: 1
|
|
12742
|
+
};
|
|
12743
|
+
let tokenRes = await request("/OldSysApi/OAuth/Token", {
|
|
12744
|
+
params: loginparam
|
|
12745
|
+
});
|
|
12746
|
+
return {
|
|
12747
|
+
Authorization: "Bearer " + tokenRes.result.Token
|
|
12748
|
+
};
|
|
12749
|
+
}
|
|
12595
12750
|
}
|
|
12596
|
-
const
|
|
12597
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
12751
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_72cde892_lang = "";
|
|
12752
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-72cde892"), n = n(), popScopeId(), n);
|
|
12598
12753
|
const _hoisted_1$5 = { class: "instree-search" };
|
|
12599
12754
|
const _hoisted_2$3 = { class: "instree-list" };
|
|
12600
12755
|
const _hoisted_3$3 = { style: { "height": "750px", "overflow-y": "auto" } };
|
|
@@ -12611,6 +12766,17 @@ const _hoisted_10$1 = { style: { "display": "none" } };
|
|
|
12611
12766
|
const _hoisted_11$1 = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
12612
12767
|
const _hoisted_12 = ["src"];
|
|
12613
12768
|
const _hoisted_13 = ["src"];
|
|
12769
|
+
const _hoisted_14 = { style: { "height": "260px" } };
|
|
12770
|
+
const _hoisted_15 = { class: "nv-flex" };
|
|
12771
|
+
const _hoisted_16 = { style: { "height": "300px", "overflow": "auto", "margin-top": "10px", "padding": "0 20px" } };
|
|
12772
|
+
const _hoisted_17 = {
|
|
12773
|
+
key: 1,
|
|
12774
|
+
class: "nv-full nv-pos-r"
|
|
12775
|
+
};
|
|
12776
|
+
const _hoisted_18 = {
|
|
12777
|
+
key: 1,
|
|
12778
|
+
class: "nv-c-v-center"
|
|
12779
|
+
};
|
|
12614
12780
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12615
12781
|
const _component_Option = resolveComponent("Option");
|
|
12616
12782
|
const _component_Select = resolveComponent("Select");
|
|
@@ -12628,6 +12794,12 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12628
12794
|
const _component_BaseLogin = resolveComponent("BaseLogin");
|
|
12629
12795
|
const _component_NvComForm = resolveComponent("NvComForm");
|
|
12630
12796
|
const _component_FormItem = resolveComponent("FormItem");
|
|
12797
|
+
const _component_NvExcelImport = resolveComponent("NvExcelImport");
|
|
12798
|
+
const _component_nvModal = resolveComponent("nvModal");
|
|
12799
|
+
const _component_Input = resolveComponent("Input");
|
|
12800
|
+
const _component_Radio = resolveComponent("Radio");
|
|
12801
|
+
const _component_RadioGroup = resolveComponent("RadioGroup");
|
|
12802
|
+
const _component_NvLoading = resolveComponent("NvLoading");
|
|
12631
12803
|
const _component_NvPage = resolveComponent("NvPage");
|
|
12632
12804
|
return openBlock(), createBlock(_component_NvPage, {
|
|
12633
12805
|
gutter: 8,
|
|
@@ -12917,8 +13089,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12917
13089
|
draggable: "",
|
|
12918
13090
|
mask: true,
|
|
12919
13091
|
"mask-closable": false,
|
|
12920
|
-
width:
|
|
12921
|
-
title: "
|
|
13092
|
+
width: 400,
|
|
13093
|
+
title: _ctx.activeUserSealRow.UserName + "签字信息",
|
|
12922
13094
|
styles: { top: "3%" }
|
|
12923
13095
|
}, {
|
|
12924
13096
|
footer: withCtx(() => [
|
|
@@ -13003,12 +13175,106 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13003
13175
|
])
|
|
13004
13176
|
]),
|
|
13005
13177
|
_: 1
|
|
13178
|
+
}, 8, ["modelValue", "title"]),
|
|
13179
|
+
createVNode(_component_nvModal, {
|
|
13180
|
+
modelValue: _ctx.importCAModal,
|
|
13181
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => _ctx.importCAModal = $event),
|
|
13182
|
+
draggable: "",
|
|
13183
|
+
mask: true,
|
|
13184
|
+
"mask-closable": false,
|
|
13185
|
+
width: 500,
|
|
13186
|
+
title: "导入CA数据",
|
|
13187
|
+
"footer-hide": ""
|
|
13188
|
+
}, {
|
|
13189
|
+
default: withCtx(() => [
|
|
13190
|
+
createElementVNode("div", _hoisted_14, [
|
|
13191
|
+
createVNode(_component_NvExcelImport, {
|
|
13192
|
+
ref: "NvExcelImport",
|
|
13193
|
+
onImport: _ctx.doExcelPointImport,
|
|
13194
|
+
isExportTemplete: true,
|
|
13195
|
+
templeteUrl: "https://nvplanfromoss.oss-cn-beijing.aliyuncs.com/XiHu/ExeclTemplate/%E9%99%95%E8%A5%BFCA%E7%AD%BE%E5%AD%97%E6%A8%A1%E6%9D%BF.xlsx"
|
|
13196
|
+
}, null, 8, ["onImport"])
|
|
13197
|
+
])
|
|
13198
|
+
]),
|
|
13199
|
+
_: 1
|
|
13200
|
+
}, 8, ["modelValue"]),
|
|
13201
|
+
createVNode(_component_nvModal, {
|
|
13202
|
+
modelValue: _ctx.selectCASealModal,
|
|
13203
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => _ctx.selectCASealModal = $event),
|
|
13204
|
+
draggable: "",
|
|
13205
|
+
mask: true,
|
|
13206
|
+
"mask-closable": false,
|
|
13207
|
+
width: 400,
|
|
13208
|
+
title: "选择签字人员"
|
|
13209
|
+
}, {
|
|
13210
|
+
footer: withCtx(() => [
|
|
13211
|
+
createVNode(_component_Button, {
|
|
13212
|
+
type: "text",
|
|
13213
|
+
onClick: _cache[14] || (_cache[14] = ($event) => _ctx.selectCASealModal = false)
|
|
13214
|
+
}, {
|
|
13215
|
+
default: withCtx(() => [
|
|
13216
|
+
createTextVNode("关闭")
|
|
13217
|
+
]),
|
|
13218
|
+
_: 1
|
|
13219
|
+
}),
|
|
13220
|
+
createVNode(_component_Button, {
|
|
13221
|
+
type: "primary",
|
|
13222
|
+
disabled: !_ctx.selUserSealId,
|
|
13223
|
+
onClick: _ctx.doSelUserSeal
|
|
13224
|
+
}, {
|
|
13225
|
+
default: withCtx(() => [
|
|
13226
|
+
createTextVNode("确定")
|
|
13227
|
+
]),
|
|
13228
|
+
_: 1
|
|
13229
|
+
}, 8, ["disabled", "onClick"])
|
|
13230
|
+
]),
|
|
13231
|
+
default: withCtx(() => [
|
|
13232
|
+
createElementVNode("div", _hoisted_15, [
|
|
13233
|
+
createVNode(_component_Input, {
|
|
13234
|
+
class: "nv-flex-1",
|
|
13235
|
+
style: { "margin-left": "10px" },
|
|
13236
|
+
modelValue: _ctx.searchUserSeal,
|
|
13237
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => _ctx.searchUserSeal = $event),
|
|
13238
|
+
onOnChange: _ctx.doSearchUserSeal,
|
|
13239
|
+
search: "",
|
|
13240
|
+
placeholder: "请输入人员名称"
|
|
13241
|
+
}, null, 8, ["modelValue", "onOnChange"])
|
|
13242
|
+
]),
|
|
13243
|
+
createElementVNode("div", _hoisted_16, [
|
|
13244
|
+
_ctx.userSealData.length > 0 ? (openBlock(), createBlock(_component_RadioGroup, {
|
|
13245
|
+
key: 0,
|
|
13246
|
+
modelValue: _ctx.selUserSealId,
|
|
13247
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => _ctx.selUserSealId = $event),
|
|
13248
|
+
vertical: ""
|
|
13249
|
+
}, {
|
|
13250
|
+
default: withCtx(() => [
|
|
13251
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.userSealData, (item, index2) => {
|
|
13252
|
+
return openBlock(), createBlock(_component_Radio, {
|
|
13253
|
+
label: item.Id
|
|
13254
|
+
}, {
|
|
13255
|
+
default: withCtx(() => [
|
|
13256
|
+
createElementVNode("span", null, toDisplayString(item.SealName), 1)
|
|
13257
|
+
]),
|
|
13258
|
+
_: 2
|
|
13259
|
+
}, 1032, ["label"]);
|
|
13260
|
+
}), 256))
|
|
13261
|
+
]),
|
|
13262
|
+
_: 1
|
|
13263
|
+
}, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
13264
|
+
_ctx.userSealListLoading ? (openBlock(), createBlock(_component_NvLoading, {
|
|
13265
|
+
key: 0,
|
|
13266
|
+
content: "人员数据加载中..."
|
|
13267
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_18, "暂无人员数据"))
|
|
13268
|
+
]))
|
|
13269
|
+
])
|
|
13270
|
+
]),
|
|
13271
|
+
_: 1
|
|
13006
13272
|
}, 8, ["modelValue"])
|
|
13007
13273
|
]),
|
|
13008
13274
|
_: 1
|
|
13009
13275
|
});
|
|
13010
13276
|
}
|
|
13011
|
-
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
13277
|
+
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-72cde892"]]);
|
|
13012
13278
|
const propDefine$5 = {
|
|
13013
13279
|
linkParam: {
|
|
13014
13280
|
// 带入的参数
|